Mercurial > hg > xemacs-beta
annotate src/m/arm.h @ 5139:a48ef26d87ee
Clean up prototypes for Lisp variables/symbols. Put decls for them with
the other stuff related to the file they're in. In the process, fix a few
places with incorrect initialization of symbols and variables.
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-03-12 Ben Wing <ben@xemacs.org>
* lisp.h:
* lisp.h (redo-symbols): Removed.
Put the Lisp variables and symbols where they belong, with other
stuff related to the file they're in.
* event-Xt.c (THIS_IS_X):
* event-Xt.c (syms_of_event_Xt):
* event-Xt.c (reinit_vars_of_event_Xt):
* event-gtk.c:
* event-gtk.c (syms_of_event_gtk):
* event-gtk.c (reinit_vars_of_event_gtk):
* event-stream.c:
* event-stream.c (syms_of_event_stream):
* event-stream.c (reinit_vars_of_event_stream):
* events.c (reinit_vars_of_events):
* events.c (vars_of_events):
`sans-modifiers' was defsymbol'ed more than once. Move it to
events-stream.c. `self-insert-command' was defsymbol'ed more than once.
Vevent_resource should be staticpro_nodump()ed as it's declared in
a reinit_*() method.
* lread.c (vars_of_lread):
Vfile_domain wasn't staticpro'ed.
* minibuf.c:
* minibuf.c (reinit_complex_vars_of_minibuf):
Vminibuffer_zero and Vecho_area_buffer weren't staticpro'ed.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Fri, 12 Mar 2010 20:23:50 -0600 |
parents | aa5ed11f473b |
children | 308d34e9f07d 861f2601a38b |
rev | line source |
---|---|
321 | 1 /* Machine description file for digital/intel arm/strongarm |
2 Copyright (C) 1987 Free Software Foundation, Inc. | |
3 | |
4 This file is part of GNU Emacs. | |
5 | |
6 GNU Emacs is free software; you can redistribute it and/or modify | |
7 it under the terms of the GNU General Public License as published by | |
8 the Free Software Foundation; either version 2, or (at your option) | |
9 any later version. | |
10 | |
11 GNU Emacs is distributed in the hope that it will be useful, | |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 GNU General Public License for more details. | |
15 | |
16 You should have received a copy of the GNU General Public License | |
17 along with XEmacs; see the file COPYING. If not, write to | |
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
19 Boston, MA 02111-1307, USA. */ | |
20 | |
21 /* Synched up with: FSF 19.31. */ | |
22 | |
23 /* Now define a symbol for the cpu type, if your compiler | |
24 does not define it automatically: | |
25 Ones defined so far include vax, m68000, ns16000, pyramid, | |
26 orion, tahoe, APOLLO and many others */ | |
27 | |
28 #ifndef arm | |
29 #define arm | |
30 #endif | |
31 | |
32 /* crt0.c, if it is used, should use the i386-bsd style of entry. | |
4759
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
1330
diff
changeset
|
33 with no extra dummy args. On USG, NO_REMAP says this isn't used. */ |
321 | 34 |
35 /* Mly 16-Jan-96 16:38:32: this is part of a prototype -- same bug present in | |
36 other m*.h files */ | |
37 #define CRT0_DUMMIES int bogus_fp, | |
38 | |
39 /* crt0.c should define a symbol `start' and do .globl with a dot. */ | |
40 | |
41 #define DOT_GLOBAL_START | |
42 | |
43 #ifdef USG5_4 /* Older USG systems do not support the load average. */ | |
44 /* Data type of load average, as read out of kmem. */ | |
45 | |
46 #define LOAD_AVE_TYPE long | |
47 | |
48 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
49 /* This is totally uncalibrated. */ | |
50 | |
51 | |
52 /* FSHIFT and FSCALE are defined in param.h, but are required by | |
53 LOAD_AVE_CVT, so they need to be defined here. */ | |
54 | |
55 #ifndef FSHIFT | |
56 #define FSHIFT 8 /* bits to right of fixed binary point */ | |
57 #endif | |
58 | |
59 #ifndef FSCALE | |
60 #define FSCALE (1<<FSHIFT) | |
61 #endif | |
62 | |
63 #define LOAD_AVE_CVT(x) ((int) (((double) (x)) * 100.0 / FSCALE)) | |
64 #endif | |
65 | |
66 | |
67 /* this brings in alloca() if we're using cc */ | |
68 #ifdef USG | |
69 #define NO_REMAP | |
70 #define TEXT_START 0 | |
71 #endif /* USG */ | |
72 | |
442 | 73 #ifdef WIN32_NATIVE |
321 | 74 #define DATA_START get_data_start () |
75 #endif | |
76 | |
77 #ifdef linux | |
78 /* libc-linux/sysdeps/linux/i386/ulimit.c says that due to shared library, */ | |
79 /* we cannot get the maximum address for brk */ | |
80 #define ULIMIT_BREAK_VALUE (32*1024*1024) | |
81 | |
82 #define SEGMENT_MASK ((SEGMENT_SIZE)-1) | |
83 #endif |