annotate src/m/arm.h @ 54029:812301ea706a

(in_read_avail_input): New static variable to handle re-entrancy. (read_avail_input): Change buf to pinter to read_avail_input_buf. Use in_read_avail_input to handle re-entrance; when re-entered, fully initialize and use tmp_buf array instead of read_avail_input_buf.
author Kim F. Storm <storm@cua.dk>
date Tue, 17 Feb 2004 00:29:13 +0000
parents 695cf19ef79e
children 23a17af379b1 375f2633d815
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26706
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
1 /* Machine description file for ARM-based non-RISCiX machines.
44601
4be8406ebef9 Don't define HAVE_ALLOCA, C_ALLOCA and STACK_DIRECTION, now set by autoconf.
Andreas Schwab <schwab@suse.de>
parents: 26706
diff changeset
2 Copyright (C) 1994, 2002 Free Software Foundation, Inc.
26706
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
3
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
4 This file is part of GNU Emacs.
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
5
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
9 any later version.
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
10
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
14 GNU General Public License for more details.
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
15
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
19 Boston, MA 02111-1307, USA. */
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
20
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
21
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
22
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
23 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
24 is the most significant byte. */
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
25
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
26 #undef WORDS_BIG_ENDIAN
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
27
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
28 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
29 * group of arguments and treat it as an array of the arguments. We can't
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
30 * do this on the arm with gcc, since the first 4 args are in registers. */
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
31
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
32 #ifdef __GNUC__
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
33 #define NO_ARG_ARRAY
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
34 #else
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
35 #undef NO_ARG_ARRAY
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
36 #endif
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
37
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
38 /* Define WORD_MACHINE if addresses and such have
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
39 * to be corrected before they can be used as byte counts. */
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
40
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
41 #undef WORD_MACHINE
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
42
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
43 /* Define how to take a char and sign-extend into an int.
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
44 On machines where char is signed, this is a no-op. */
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
45
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
46 #define SIGN_EXTEND_CHAR(c) (((int)(c) << 24) >> 24)
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
47
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
48 #define NO_UNION_TYPE
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
49
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
50 #define NO_REMAP
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48437
diff changeset
51
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48437
diff changeset
52 /* arch-tag: 07856f0c-f0c8-4bd8-99af-0b7fa1e5ee42
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48437
diff changeset
53 (do not change this comment) */