diff options
| author | Glenn Morris | 2010-05-11 19:37:59 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-11 19:37:59 -0700 |
| commit | 6a321bbcdd828bc72c785df161cfd88260601b6a (patch) | |
| tree | 33eed0c6f90076432cbb0775a701c70ce86f4743 /src/m | |
| parent | 8b320e66d6e6d549ab445b7083d44e4b8a71319a (diff) | |
| download | emacs-6a321bbcdd828bc72c785df161cfd88260601b6a.tar.gz emacs-6a321bbcdd828bc72c785df161cfd88260601b6a.zip | |
Minor comment reformatting for some src/m/*.h files.
Diffstat (limited to 'src/m')
| -rw-r--r-- | src/m/alpha.h | 8 | ||||
| -rw-r--r-- | src/m/amdx86-64.h | 13 | ||||
| -rw-r--r-- | src/m/arm.h | 8 | ||||
| -rw-r--r-- | src/m/hp800.h | 12 | ||||
| -rw-r--r-- | src/m/ia64.h | 14 | ||||
| -rw-r--r-- | src/m/ibmrs6000.h | 6 | ||||
| -rw-r--r-- | src/m/ibms390.h | 5 | ||||
| -rw-r--r-- | src/m/ibms390x.h | 6 | ||||
| -rw-r--r-- | src/m/intel386.h | 5 | ||||
| -rw-r--r-- | src/m/iris4d.h | 17 | ||||
| -rw-r--r-- | src/m/m68k.h | 8 | ||||
| -rw-r--r-- | src/m/macppc.h | 9 | ||||
| -rw-r--r-- | src/m/mips.h | 18 | ||||
| -rw-r--r-- | src/m/sparc.h | 5 | ||||
| -rw-r--r-- | src/m/template.h | 37 | ||||
| -rw-r--r-- | src/m/vax.h | 5 |
16 files changed, 61 insertions, 115 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h index 8f71b37a219..04ad9eaaf8f 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Machine description file for the alpha chip. | 1 | /* Machine description file for the alpha chip. |
| 2 | Copyright (C) 1994, 1997, 1999, 2001, 2002, 2003, 2004, 2005, 2006, | 2 | |
| 3 | 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 3 | Copyright (C) 1994, 1997, 1999, 2001, 2002, 2003, 2004, 2005, 2006, |
| 4 | 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | Author: Rainer Schoepf | 6 | Author: Rainer Schoepf |
| 6 | (according to authors.el) | 7 | (according to authors.el) |
| @@ -30,7 +31,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 30 | 31 | ||
| 31 | /* Now define a symbol for the cpu type, if your compiler | 32 | /* Now define a symbol for the cpu type, if your compiler |
| 32 | does not define it automatically. */ | 33 | does not define it automatically. */ |
| 33 | |||
| 34 | /* __alpha defined automatically */ | 34 | /* __alpha defined automatically */ |
| 35 | 35 | ||
| 36 | 36 | ||
| @@ -75,12 +75,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 75 | #else /* not __ELF__ */ | 75 | #else /* not __ELF__ */ |
| 76 | 76 | ||
| 77 | /* Describe layout of the address space in an executing process. */ | 77 | /* Describe layout of the address space in an executing process. */ |
| 78 | |||
| 79 | #define TEXT_START 0x120000000 | 78 | #define TEXT_START 0x120000000 |
| 80 | #define DATA_START 0x140000000 | 79 | #define DATA_START 0x140000000 |
| 81 | 80 | ||
| 82 | /* The program to be used for unexec. */ | 81 | /* The program to be used for unexec. */ |
| 83 | |||
| 84 | #define UNEXEC unexalpha.o | 82 | #define UNEXEC unexalpha.o |
| 85 | 83 | ||
| 86 | #endif /* __ELF__ */ | 84 | #endif /* __ELF__ */ |
diff --git a/src/m/amdx86-64.h b/src/m/amdx86-64.h index 7839c6f8473..1910c37bffc 100644 --- a/src/m/amdx86-64.h +++ b/src/m/amdx86-64.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* machine description file for AMD x86-64. | 1 | /* machine description file for AMD x86-64. |
| 2 | Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 | 2 | |
| 3 | Free Software Foundation, Inc. | 3 | Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
| 4 | Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -17,16 +18,11 @@ GNU General Public License for more details. | |||
| 17 | You should have received a copy of the GNU General Public License | 18 | You should have received a copy of the GNU General Public License |
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | 19 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 19 | 20 | ||
| 20 | /* The following line tells the configuration script what sort of | ||
| 21 | operating system this machine is likely to run. | ||
| 22 | USUAL-OPSYS="linux" */ | ||
| 23 | |||
| 24 | #define BITS_PER_LONG 64 | 21 | #define BITS_PER_LONG 64 |
| 25 | #define BITS_PER_EMACS_INT 64 | 22 | #define BITS_PER_EMACS_INT 64 |
| 26 | 23 | ||
| 27 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | 24 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word |
| 28 | is the most significant byte. */ | 25 | is the most significant byte. */ |
| 29 | |||
| 30 | #undef WORDS_BIG_ENDIAN | 26 | #undef WORDS_BIG_ENDIAN |
| 31 | 27 | ||
| 32 | /* Now define a symbol for the cpu type, if your compiler | 28 | /* Now define a symbol for the cpu type, if your compiler |
| @@ -44,15 +40,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 44 | are always unsigned. | 40 | are always unsigned. |
| 45 | 41 | ||
| 46 | This flag only matters if you use USE_LISP_UNION_TYPE. */ | 42 | This flag only matters if you use USE_LISP_UNION_TYPE. */ |
| 47 | |||
| 48 | #define EXPLICIT_SIGN_EXTEND | 43 | #define EXPLICIT_SIGN_EXTEND |
| 49 | 44 | ||
| 50 | /* Data type of load average, as read out of kmem. */ | 45 | /* Data type of load average, as read out of kmem. */ |
| 51 | |||
| 52 | #define LOAD_AVE_TYPE long | 46 | #define LOAD_AVE_TYPE long |
| 53 | 47 | ||
| 54 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | 48 | /* Convert that into an integer that is 100 for a load average of 1.0 */ |
| 55 | |||
| 56 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 49 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
| 57 | 50 | ||
| 58 | /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ | 51 | /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ |
diff --git a/src/m/arm.h b/src/m/arm.h index 441c3bd6289..c3a5d6e4ad5 100644 --- a/src/m/arm.h +++ b/src/m/arm.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Machine description file for ARM-based non-RISCiX machines. | 1 | /* Machine description file for ARM-based non-RISCiX machines. |
| 2 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007, | 2 | |
| 3 | 2008, 2009, 2010 Free Software Foundation, Inc. | 3 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
| 4 | 2009, 2010 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -17,11 +18,8 @@ GNU General Public License for more details. | |||
| 17 | You should have received a copy of the GNU General Public License | 18 | You should have received a copy of the GNU General Public License |
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | 19 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 19 | 20 | ||
| 20 | |||
| 21 | |||
| 22 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | 21 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word |
| 23 | is the most significant byte. */ | 22 | is the most significant byte. */ |
| 24 | |||
| 25 | #undef WORDS_BIG_ENDIAN | 23 | #undef WORDS_BIG_ENDIAN |
| 26 | 24 | ||
| 27 | #define NO_REMAP | 25 | #define NO_REMAP |
diff --git a/src/m/hp800.h b/src/m/hp800.h index 7b6ebafeaa5..9bc361e3cc4 100644 --- a/src/m/hp800.h +++ b/src/m/hp800.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* machine description file for hp9000 series 800 machines. | 1 | /* machine description file for hp9000 series 800 machines. |
| 2 | Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005, 2006, 2007, | 2 | |
| 3 | 2008, 2009, 2010 Free Software Foundation, Inc. | 3 | Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
| 4 | 2009, 2010 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -17,14 +18,8 @@ GNU General Public License for more details. | |||
| 17 | You should have received a copy of the GNU General Public License | 18 | You should have received a copy of the GNU General Public License |
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | 19 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 19 | 20 | ||
| 20 | |||
| 21 | /* The following line tells the configuration script what sort of | ||
| 22 | operating system this machine is likely to run. | ||
| 23 | USUAL-OPSYS="hpux" */ | ||
| 24 | |||
| 25 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | 21 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word |
| 26 | is the most significant byte. */ | 22 | is the most significant byte. */ |
| 27 | |||
| 28 | #define WORDS_BIG_ENDIAN | 23 | #define WORDS_BIG_ENDIAN |
| 29 | 24 | ||
| 30 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | 25 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend |
| @@ -32,7 +27,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 32 | are always unsigned. | 27 | are always unsigned. |
| 33 | 28 | ||
| 34 | This flag only matters if you use USE_LISP_UNION_TYPE. */ | 29 | This flag only matters if you use USE_LISP_UNION_TYPE. */ |
| 35 | |||
| 36 | #define EXPLICIT_SIGN_EXTEND | 30 | #define EXPLICIT_SIGN_EXTEND |
| 37 | 31 | ||
| 38 | /* Systems with GCC don't need to lose. */ | 32 | /* Systems with GCC don't need to lose. */ |
diff --git a/src/m/ia64.h b/src/m/ia64.h index 85e0f825202..acf6c25844f 100644 --- a/src/m/ia64.h +++ b/src/m/ia64.h | |||
| @@ -1,7 +1,9 @@ | |||
| 1 | /* machine description file for the IA-64 architecture. | 1 | /* machine description file for the IA-64 architecture. |
| 2 | Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, | 2 | |
| 3 | 2008, 2009, 2010 Free Software Foundation, Inc. | 3 | Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
| 4 | Contributed by David Mosberger <davidm@hpl.hp.com> | 4 | 2009, 2010 Free Software Foundation, Inc. |
| 5 | |||
| 6 | Contributed by David Mosberger <davidm@hpl.hp.com> | ||
| 5 | 7 | ||
| 6 | This file is part of GNU Emacs. | 8 | This file is part of GNU Emacs. |
| 7 | 9 | ||
| @@ -23,15 +25,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 23 | 25 | ||
| 24 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | 26 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word |
| 25 | is the most significant byte. */ | 27 | is the most significant byte. */ |
| 26 | |||
| 27 | #undef WORDS_BIG_ENDIAN | 28 | #undef WORDS_BIG_ENDIAN |
| 28 | 29 | ||
| 29 | /* Now define a symbol for the cpu type, if your compiler | 30 | /* Now define a symbol for the cpu type, if your compiler |
| 30 | does not define it automatically. */ | 31 | does not define it automatically. */ |
| 31 | |||
| 32 | /* __ia64__ defined automatically */ | 32 | /* __ia64__ defined automatically */ |
| 33 | 33 | ||
| 34 | |||
| 35 | /* Define the type to use. */ | 34 | /* Define the type to use. */ |
| 36 | #define EMACS_INT long | 35 | #define EMACS_INT long |
| 37 | #define EMACS_UINT unsigned long | 36 | #define EMACS_UINT unsigned long |
| @@ -41,15 +40,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 41 | are always unsigned. | 40 | are always unsigned. |
| 42 | 41 | ||
| 43 | This flag only matters if you use USE_LISP_UNION_TYPE. */ | 42 | This flag only matters if you use USE_LISP_UNION_TYPE. */ |
| 44 | |||
| 45 | #define EXPLICIT_SIGN_EXTEND | 43 | #define EXPLICIT_SIGN_EXTEND |
| 46 | 44 | ||
| 47 | /* Data type of load average, as read out of kmem. */ | 45 | /* Data type of load average, as read out of kmem. */ |
| 48 | |||
| 49 | #define LOAD_AVE_TYPE long | 46 | #define LOAD_AVE_TYPE long |
| 50 | 47 | ||
| 51 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | 48 | /* Convert that into an integer that is 100 for a load average of 1.0 */ |
| 52 | |||
| 53 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 49 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
| 54 | 50 | ||
| 55 | #ifdef __ELF__ | 51 | #ifdef __ELF__ |
diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h index 8cc0b0155a3..3831e500641 100644 --- a/src/m/ibmrs6000.h +++ b/src/m/ibmrs6000.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* R2 AIX machine/system dependent defines | 1 | /* R2 AIX machine/system dependent defines |
| 2 | Copyright (C) 1988, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, | 2 | |
| 3 | 2009, 2010 Free Software Foundation, Inc. | 3 | Copyright (C) 1988, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
| 4 | 2009, 2010 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -21,7 +22,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 21 | /* The data segment in this machine always starts at address 0x20000000. | 22 | /* The data segment in this machine always starts at address 0x20000000. |
| 22 | An address of data cannot be stored correctly in a Lisp object; | 23 | An address of data cannot be stored correctly in a Lisp object; |
| 23 | we always lose the high bits. We must tell XPNTR to add them back. */ | 24 | we always lose the high bits. We must tell XPNTR to add them back. */ |
| 24 | |||
| 25 | #define TEXT_START 0x10000000 | 25 | #define TEXT_START 0x10000000 |
| 26 | #define DATA_START 0x20000000 | 26 | #define DATA_START 0x20000000 |
| 27 | #define WORDS_BIG_ENDIAN | 27 | #define WORDS_BIG_ENDIAN |
diff --git a/src/m/ibms390.h b/src/m/ibms390.h index 9a8897e443d..1dce4ffbf47 100644 --- a/src/m/ibms390.h +++ b/src/m/ibms390.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* machine description file template. | 1 | /* machine description file template. |
| 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006, 2007, | 2 | |
| 3 | 2008, 2009, 2010 Free Software Foundation, Inc. | 3 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
| 4 | 2008, 2009, 2010 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
diff --git a/src/m/ibms390x.h b/src/m/ibms390x.h index 4d83dc6e69a..fda3007cb74 100644 --- a/src/m/ibms390x.h +++ b/src/m/ibms390x.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* machine description file for IBM S390 in 64-bit mode | 1 | /* machine description file for IBM S390 in 64-bit mode |
| 2 | Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 | 2 | |
| 3 | Free Software Foundation, Inc. | 3 | Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
| 4 | Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -20,7 +21,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 20 | /* This file was made by copying the significant parts of amdx86-64.h | 21 | /* This file was made by copying the significant parts of amdx86-64.h |
| 21 | into ibms390.h. */ | 22 | into ibms390.h. */ |
| 22 | 23 | ||
| 23 | |||
| 24 | /* Used for machine IBM s390 64 bits with opsys gnu-linux. */ | 24 | /* Used for machine IBM s390 64 bits with opsys gnu-linux. */ |
| 25 | #define BITS_PER_LONG 64 | 25 | #define BITS_PER_LONG 64 |
| 26 | #define BITS_PER_EMACS_INT 64 | 26 | #define BITS_PER_EMACS_INT 64 |
diff --git a/src/m/intel386.h b/src/m/intel386.h index 3f9a49c4f46..984a9959736 100644 --- a/src/m/intel386.h +++ b/src/m/intel386.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Machine description file for intel 386. | 1 | /* Machine description file for intel 386. |
| 2 | Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, | 2 | |
| 3 | 2009, 2010 Free Software Foundation, Inc. | 3 | Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
| 4 | 2009, 2010 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
diff --git a/src/m/iris4d.h b/src/m/iris4d.h index 54ebcdf74bd..e7f332057e5 100644 --- a/src/m/iris4d.h +++ b/src/m/iris4d.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* machine description file for Iris-4D machines. Use with s/irix*.h. | 1 | /* machine description file for Iris-4D machines. Use with s/irix*.h. |
| 2 | Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005, 2006, 2007, | 2 | |
| 3 | 2008, 2009, 2010 Free Software Foundation, Inc. | 3 | Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
| 4 | 2009, 2010 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -20,7 +21,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 20 | 21 | ||
| 21 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | 22 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word |
| 22 | is the most significant byte. */ | 23 | is the most significant byte. */ |
| 23 | |||
| 24 | #define WORDS_BIG_ENDIAN | 24 | #define WORDS_BIG_ENDIAN |
| 25 | 25 | ||
| 26 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | 26 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend |
| @@ -28,17 +28,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 28 | are always unsigned. | 28 | are always unsigned. |
| 29 | 29 | ||
| 30 | This flag only matters if you use USE_LISP_UNION_TYPE. */ | 30 | This flag only matters if you use USE_LISP_UNION_TYPE. */ |
| 31 | |||
| 32 | #define EXPLICIT_SIGN_EXTEND | 31 | #define EXPLICIT_SIGN_EXTEND |
| 33 | 32 | ||
| 34 | #define TEXT_START 0x400000 | 33 | #define TEXT_START 0x400000 |
| 35 | 34 | ||
| 36 | /* | 35 | /* DATA_SEG_BITS forces extra bits to be or'd in with any pointers which |
| 37 | * DATA_SEG_BITS forces extra bits to be or'd in with any pointers which | 36 | were stored in a Lisp_Object (as Emacs uses fewer than 32 bits for |
| 38 | * were stored in a Lisp_Object (as Emacs uses fewer than 32 bits for | 37 | the value field of a LISP_OBJECT). */ |
| 39 | * the value field of a LISP_OBJECT). | ||
| 40 | */ | ||
| 41 | |||
| 42 | #define DATA_START 0x10000000 | 38 | #define DATA_START 0x10000000 |
| 43 | #define DATA_SEG_BITS 0x10000000 | 39 | #define DATA_SEG_BITS 0x10000000 |
| 44 | 40 | ||
| @@ -48,7 +44,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 48 | 44 | ||
| 49 | /* The standard definitions of these macros would work ok, | 45 | /* The standard definitions of these macros would work ok, |
| 50 | but these are faster because the constants are short. */ | 46 | but these are faster because the constants are short. */ |
| 51 | |||
| 52 | #define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS) | 47 | #define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS) |
| 53 | 48 | ||
| 54 | #define XSET(var, type, ptr) \ | 49 | #define XSET(var, type, ptr) \ |
diff --git a/src/m/m68k.h b/src/m/m68k.h index b844f12fd6f..668db282593 100644 --- a/src/m/m68k.h +++ b/src/m/m68k.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Machine description file for generic Motorola 68k. | 1 | /* Machine description file for generic Motorola 68k. |
| 2 | Copyright (C) 1985, 1995, 2001, 2002, 2003, 2004, 2005, 2006, 2007, | 2 | |
| 3 | 2008, 2009, 2010 Free Software Foundation, Inc. | 3 | Copyright (C) 1985, 1995, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
| 4 | 2008, 2009, 2010 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -19,12 +20,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 19 | 20 | ||
| 20 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | 21 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word |
| 21 | is the most significant byte. */ | 22 | is the most significant byte. */ |
| 22 | |||
| 23 | #define WORDS_BIG_ENDIAN | 23 | #define WORDS_BIG_ENDIAN |
| 24 | 24 | ||
| 25 | /* Now define a symbol for the cpu type, if your compiler | 25 | /* Now define a symbol for the cpu type, if your compiler |
| 26 | does not define it automatically. */ | 26 | does not define it automatically. */ |
| 27 | |||
| 28 | #ifndef m68k | 27 | #ifndef m68k |
| 29 | #define m68k | 28 | #define m68k |
| 30 | #endif | 29 | #endif |
| @@ -34,7 +33,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 34 | are always unsigned. | 33 | are always unsigned. |
| 35 | 34 | ||
| 36 | This flag only matters if you use USE_LISP_UNION_TYPE. */ | 35 | This flag only matters if you use USE_LISP_UNION_TYPE. */ |
| 37 | |||
| 38 | #define EXPLICIT_SIGN_EXTEND | 36 | #define EXPLICIT_SIGN_EXTEND |
| 39 | 37 | ||
| 40 | #ifdef GNU_LINUX | 38 | #ifdef GNU_LINUX |
diff --git a/src/m/macppc.h b/src/m/macppc.h index d58592d915a..b9dcf3bdc92 100644 --- a/src/m/macppc.h +++ b/src/m/macppc.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* machine description file For the powerpc Macintosh. | 1 | /* machine description file For the powerpc Macintosh. |
| 2 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007, | 2 | |
| 3 | 2008, 2009, 2010 Free Software Foundation, Inc. | 3 | Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
| 4 | 2009, 2010 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -19,15 +20,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 19 | 20 | ||
| 20 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | 21 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word |
| 21 | is the most significant byte. */ | 22 | is the most significant byte. */ |
| 22 | |||
| 23 | #define WORDS_BIG_ENDIAN | 23 | #define WORDS_BIG_ENDIAN |
| 24 | 24 | ||
| 25 | /* Data type of load average, as read out of kmem. */ | 25 | /* Data type of load average, as read out of kmem. */ |
| 26 | |||
| 27 | #define LOAD_AVE_TYPE long | 26 | #define LOAD_AVE_TYPE long |
| 28 | 27 | ||
| 29 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | 28 | /* Convert that into an integer that is 100 for a load average of 1.0 */ |
| 30 | |||
| 31 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 29 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
| 32 | 30 | ||
| 33 | #if (defined (__NetBSD__) || defined (__OpenBSD__)) && defined (__ELF__) | 31 | #if (defined (__NetBSD__) || defined (__OpenBSD__)) && defined (__ELF__) |
| @@ -36,7 +34,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 36 | 34 | ||
| 37 | /* NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> says this is needed | 35 | /* NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> says this is needed |
| 38 | For MkLinux/LinuxPPC. */ | 36 | For MkLinux/LinuxPPC. */ |
| 39 | |||
| 40 | #ifdef GNU_LINUX | 37 | #ifdef GNU_LINUX |
| 41 | #define LINKER $(CC) -nostdlib | 38 | #define LINKER $(CC) -nostdlib |
| 42 | #endif | 39 | #endif |
diff --git a/src/m/mips.h b/src/m/mips.h index e93ab281093..8e81c077426 100644 --- a/src/m/mips.h +++ b/src/m/mips.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* m- file for Mips machines. | 1 | /* m- file for Mips machines. |
| 2 | Copyright (C) 1987, 1992, 1999, 2001, 2002, 2003, 2004, 2005, 2006, | 2 | |
| 3 | 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 3 | Copyright (C) 1987, 1992, 1999, 2001, 2002, 2003, 2004, 2005, 2006, |
| 4 | 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -17,18 +18,8 @@ GNU General Public License for more details. | |||
| 17 | You should have received a copy of the GNU General Public License | 18 | You should have received a copy of the GNU General Public License |
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | 19 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 19 | 20 | ||
| 20 | |||
| 21 | /* The following line tells the configuration script what sort of | ||
| 22 | operating system this machine is likely to run. | ||
| 23 | USUAL-OPSYS="note" | ||
| 24 | |||
| 25 | NOTE-START | ||
| 26 | This is used on GNU/Linux and netbsd. | ||
| 27 | NOTE-END */ | ||
| 28 | |||
| 29 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | 21 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word |
| 30 | is the most significant byte. */ | 22 | is the most significant byte. */ |
| 31 | |||
| 32 | #if ! (defined (__MIPSEL__) || defined (MIPSEL) || defined (_MIPSEL)) | 23 | #if ! (defined (__MIPSEL__) || defined (MIPSEL) || defined (_MIPSEL)) |
| 33 | #define WORDS_BIG_ENDIAN | 24 | #define WORDS_BIG_ENDIAN |
| 34 | #endif | 25 | #endif |
| @@ -38,13 +29,10 @@ NOTE-END */ | |||
| 38 | are always unsigned. | 29 | are always unsigned. |
| 39 | 30 | ||
| 40 | This flag only matters if you use USE_LISP_UNION_TYPE. */ | 31 | This flag only matters if you use USE_LISP_UNION_TYPE. */ |
| 41 | |||
| 42 | #define EXPLICIT_SIGN_EXTEND | 32 | #define EXPLICIT_SIGN_EXTEND |
| 43 | 33 | ||
| 44 | /* Describe layout of the address space in an executing process. */ | 34 | /* Describe layout of the address space in an executing process. */ |
| 45 | |||
| 46 | #define TEXT_START 0x00400000 | 35 | #define TEXT_START 0x00400000 |
| 47 | 36 | ||
| 48 | /* arch-tag: 8fd020ee-78a7-4d87-96ce-6129f52f7bee | 37 | /* arch-tag: 8fd020ee-78a7-4d87-96ce-6129f52f7bee |
| 49 | (do not change this comment) */ | 38 | (do not change this comment) */ |
| 50 | |||
diff --git a/src/m/sparc.h b/src/m/sparc.h index b949b56de32..39240dcbf5c 100644 --- a/src/m/sparc.h +++ b/src/m/sparc.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* machine description file for Sun 4 SPARC. | 1 | /* machine description file for Sun 4 SPARC. |
| 2 | Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, | 2 | |
| 3 | 2009, 2010 Free Software Foundation, Inc. | 3 | Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
| 4 | 2009, 2010 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
diff --git a/src/m/template.h b/src/m/template.h index d96af80a84e..9b8d2d63055 100644 --- a/src/m/template.h +++ b/src/m/template.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* machine description file template. | 1 | /* machine description file template. |
| 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006, 2007, | 2 | |
| 3 | 2008, 2009, 2010 Free Software Foundation, Inc. | 3 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
| 4 | 2008, 2009, 2010 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -17,14 +18,8 @@ GNU General Public License for more details. | |||
| 17 | You should have received a copy of the GNU General Public License | 18 | You should have received a copy of the GNU General Public License |
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | 19 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 19 | 20 | ||
| 20 | |||
| 21 | /* The following line tells the configuration script what sort of | ||
| 22 | operating system this machine is likely to run. | ||
| 23 | USUAL-OPSYS="<name of system .h file here, without the s- or .h>" */ | ||
| 24 | |||
| 25 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word | 21 | /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word |
| 26 | is the most significant byte. */ | 22 | is the most significant byte. */ |
| 27 | |||
| 28 | #define WORDS_BIG_ENDIAN | 23 | #define WORDS_BIG_ENDIAN |
| 29 | 24 | ||
| 30 | /* Now define a symbol for the cpu type, if your compiler | 25 | /* Now define a symbol for the cpu type, if your compiler |
| @@ -36,21 +31,17 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 36 | are always unsigned. | 31 | are always unsigned. |
| 37 | 32 | ||
| 38 | This flag only matters if you use USE_LISP_UNION_TYPE. */ | 33 | This flag only matters if you use USE_LISP_UNION_TYPE. */ |
| 39 | |||
| 40 | #define EXPLICIT_SIGN_EXTEND | 34 | #define EXPLICIT_SIGN_EXTEND |
| 41 | 35 | ||
| 42 | /* Data type of load average, as read out of kmem. */ | 36 | /* Data type of load average, as read out of kmem. */ |
| 43 | |||
| 44 | #define LOAD_AVE_TYPE long | 37 | #define LOAD_AVE_TYPE long |
| 45 | 38 | ||
| 46 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | 39 | /* Convert that into an integer that is 100 for a load average of 1.0 */ |
| 47 | |||
| 48 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 40 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
| 49 | 41 | ||
| 50 | /* Define CANNOT_DUMP on machines where unexec does not work. | 42 | /* Define CANNOT_DUMP on machines where unexec does not work. |
| 51 | Then the function dump-emacs will not be defined | 43 | Then the function dump-emacs will not be defined |
| 52 | and temacs will do (load "loadup") automatically unless told otherwise. */ | 44 | and temacs will do (load "loadup") automatically unless told otherwise. */ |
| 53 | |||
| 54 | #define CANNOT_DUMP | 45 | #define CANNOT_DUMP |
| 55 | 46 | ||
| 56 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | 47 | /* Define VIRT_ADDR_VARIES if the virtual addresses of |
| @@ -59,31 +50,25 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 59 | 50 | ||
| 60 | Otherwise Emacs assumes that text space precedes data space, | 51 | Otherwise Emacs assumes that text space precedes data space, |
| 61 | numerically. */ | 52 | numerically. */ |
| 62 | |||
| 63 | #define VIRT_ADDR_VARIES | 53 | #define VIRT_ADDR_VARIES |
| 64 | 54 | ||
| 65 | /* Define NO_REMAP if memory segmentation makes it not work well | 55 | /* Define NO_REMAP if memory segmentation makes it not work well |
| 66 | to change the boundary between the text section and data section | 56 | to change the boundary between the text section and data section |
| 67 | when Emacs is dumped. If you define this, the preloaded Lisp | 57 | when Emacs is dumped. If you define this, the preloaded Lisp |
| 68 | code will not be sharable; but that's better than failing completely. */ | 58 | code will not be sharable; but that's better than failing completely. */ |
| 69 | |||
| 70 | #define NO_REMAP | 59 | #define NO_REMAP |
| 71 | 60 | ||
| 72 | /* Some really obscure 4.2-based systems (like Sequent DYNIX) | 61 | /* Some really obscure 4.2-based systems (like Sequent DYNIX) |
| 73 | * do not support asynchronous I/O (using SIGIO) on sockets, | 62 | do not support asynchronous I/O (using SIGIO) on sockets, |
| 74 | * even though it works fine on tty's. If you have one of | 63 | even though it works fine on tty's. If you have one of |
| 75 | * these systems, define the following, and then use it in | 64 | these systems, define the following, and then use it in |
| 76 | * config.h (or elsewhere) to decide when (not) to use SIGIO. | 65 | config.h (or elsewhere) to decide when (not) to use SIGIO. |
| 77 | * | 66 | |
| 78 | * You'd think this would go in an operating-system description file, | 67 | You'd think this would go in an operating-system description file, |
| 79 | * but since it only occurs on some, but not all, BSD systems, the | 68 | but since it only occurs on some, but not all, BSD systems, the |
| 80 | * reasonable place to select for it is in the machine description | 69 | reasonable place to select for it is in the machine description file. */ |
| 81 | * file. | ||
| 82 | */ | ||
| 83 | |||
| 84 | #define NO_SOCK_SIGIO | 70 | #define NO_SOCK_SIGIO |
| 85 | 71 | ||
| 86 | |||
| 87 | /* After adding support for a new system, modify the large case | 72 | /* After adding support for a new system, modify the large case |
| 88 | statement in the `configure' script to recognize reasonable | 73 | statement in the `configure' script to recognize reasonable |
| 89 | configuration names, and add a description of the system to | 74 | configuration names, and add a description of the system to |
diff --git a/src/m/vax.h b/src/m/vax.h index 1670d2b5f48..3426a20d55e 100644 --- a/src/m/vax.h +++ b/src/m/vax.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* machine description file for vax. | 1 | /* machine description file for vax. |
| 2 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006, 2007, | 2 | |
| 3 | 2008, 2009, 2010 Free Software Foundation, Inc. | 3 | Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
| 4 | 2008, 2009, 2010 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||