annotate src/m/m68k.h @ 105923:1011707400d3

* menu.c (Fx_popup_menu): Consolidate versions from xmenu.c, w32menu.c, and nsmenu.m. Simplify the obsolete case where position is nil. (cleanup_popup_menu): New function, moved from nsmenu.m. (struct skp): Remove slot `notreal'. (single_keymap_panes, keymap_panes): Remove arg `notreal' and adjust callers. (single_menu_item): Adjust call to parse_menu_item. (syms_of_menu): Defsubr x-popup-menu. * menu.h (Vmenu_updating_frame): Consolidate declarations from *menu.c. (keymap_panes): Don't export any more. (mouse_position_for_popup, w32_menu_show, ns_menu_show, xmenu_show): Declare. * keyboard.c (parse_menu_item): Remove arg `notreal'. (menu_bar_item, read_char_minibuf_menu_prompt): Adjust callers. * keyboard.h (parse_menu_item): Update declaration. * xmenu.c (Fx_popup_menu): Remove. (syms_of_xmenu): Don't defsubr x-popup-menu. * w32menu.c (Fx_popup_menu): Remove. (syms_of_w32menu): Don't defsubr x-popup-menu. * nsmenu.m (cleanup_popup_menu): Remove. (ns_menu_show): Rename from ns_popup_menu and remove all the code moved to menu.c's Fx_popup_menu. (Fx_popup_menu): Remove. (syms_of_nsmenu): Don't defsubr x-popup-menu, and don't initialize menu_items (it's done in menu.c already).
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 09 Nov 2009 06:21:03 +0000
parents e038c1a8307c
children 1d1d5d9bd884
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13369
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 /* Machine description file for generic Motorola 68k.
94714
7e5b32f86a4c Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79755
diff changeset
2 Copyright (C) 1985, 1995, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
100951
e038c1a8307c Add 2009 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 96739
diff changeset
3 2008, 2009 Free Software Foundation, Inc.
13369
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 This file is part of GNU Emacs.
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6
94714
7e5b32f86a4c Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79755
diff changeset
7 GNU Emacs is free software: you can redistribute it and/or modify
13369
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 it under the terms of the GNU General Public License as published by
94714
7e5b32f86a4c Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79755
diff changeset
9 the Free Software Foundation, either version 3 of the License, or
7e5b32f86a4c Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79755
diff changeset
10 (at your option) any later version.
13369
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 GNU Emacs is distributed in the hope that it will be useful,
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15 GNU General Public License for more details.
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
94714
7e5b32f86a4c Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79755
diff changeset
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
13369
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19
78499
49b363c28dce Replace `iff' in comments.
Glenn Morris <rgm@gnu.org>
parents: 78258
diff changeset
20 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
13369
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 is the most significant byte. */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 #define WORDS_BIG_ENDIAN
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 /* Now define a symbol for the cpu type, if your compiler
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26 does not define it automatically. */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 #ifndef m68k
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 #define m68k
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 #endif
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 the 24-bit bit field into an int. In other words, if bit fields
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 are always unsigned.
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35
96602
0e3e875ffade * lisp.h:
Dan Nicolaescu <dann@ics.uci.edu>
parents: 96581
diff changeset
36 This flag only matters if you use USE_LISP_UNION_TYPE. */
13369
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38 #define EXPLICIT_SIGN_EXTEND
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39
96739
77c53729bbb6 * m/m68k.h (linux): Use GNU_LINUX instead.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 96721
diff changeset
40 #ifdef GNU_LINUX
13369
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 #ifdef __ELF__
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42 #define DATA_SEG_BITS 0x80000000
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 #endif
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45 #define NO_REMAP
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46 #define TEXT_START 0
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47 #endif
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48439
diff changeset
48
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48439
diff changeset
49 /* arch-tag: 4eadd161-b4e8-4b82-82a1-e4ce7f42969d
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48439
diff changeset
50 (do not change this comment) */