aboutsummaryrefslogtreecommitdiffstats
path: root/src/m/sparc.h
diff options
context:
space:
mode:
authorGlenn Morris2010-05-05 22:27:17 -0700
committerGlenn Morris2010-05-05 22:27:17 -0700
commit0c99c5973257dcdc4717b08e172a0b00a0d0c080 (patch)
tree31c285ada6ac946818b194cf1c4581c8b7bb3743 /src/m/sparc.h
parent72528372a762953c9209a7a5fa2e0641a7437f0d (diff)
downloademacs-0c99c5973257dcdc4717b08e172a0b00a0d0c080.tar.gz
emacs-0c99c5973257dcdc4717b08e172a0b00a0d0c080.zip
Comment changes for some src/m/*.h files.
Remove some out-of-date comments, reformat others.
Diffstat (limited to 'src/m/sparc.h')
-rw-r--r--src/m/sparc.h25
1 files changed, 6 insertions, 19 deletions
diff --git a/src/m/sparc.h b/src/m/sparc.h
index 23d334406bb..b949b56de32 100644
--- a/src/m/sparc.h
+++ b/src/m/sparc.h
@@ -1,6 +1,6 @@
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, 2 Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
3 2008, 2009, 2010 Free Software Foundation, Inc. 3 2009, 2010 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -17,47 +17,34 @@ GNU General Public License for more details.
17You should have received a copy of the GNU General Public License 17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19 19
20/* The following line tells the configuration script what sort of
21 operating system this machine is likely to run.
22 USUAL-OPSYS="note"
23
24NOTE-START
25Use -opsystem=sunos4 for operating system version 4, and
26-opsystem=bsd4-2 for earlier versions.
27NOTE-END */
28
29/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word 20/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
30 is the most significant byte. */ 21 is the most significant byte. */
31
32#define WORDS_BIG_ENDIAN 22#define WORDS_BIG_ENDIAN
33 23
34/* __sparc__ is defined by the compiler by default. */ 24/* __sparc__ is defined by the compiler by default. */
35 25
36/* XINT must explicitly sign-extend 26/* XINT must explicitly sign-extend
37 This flag only matters if you use USE_LISP_UNION_TYPE. */ 27 This flag only matters if you use USE_LISP_UNION_TYPE. */
38
39#define EXPLICIT_SIGN_EXTEND 28#define EXPLICIT_SIGN_EXTEND
40 29
41/* Data type of load average, as read out of kmem. */ 30/* Data type of load average, as read out of kmem. */
42
43#define LOAD_AVE_TYPE long 31#define LOAD_AVE_TYPE long
44 32
45/* Convert that into an integer that is 100 for a load average of 1.0 */ 33/* Convert that into an integer that is 100 for a load average of 1.0 */
46
47#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) 34#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
48 35
49/* Mask for address bits within a memory segment */ 36/* Mask for address bits within a memory segment */
50
51#define SEGMENT_MASK (SEGSIZ - 1) 37#define SEGMENT_MASK (SEGSIZ - 1)
52 38
53#ifdef __arch64__ /* GCC, 64-bit ABI. */ 39#ifdef __arch64__ /* GCC, 64-bit ABI. */
40
54#define BITS_PER_LONG 64 41#define BITS_PER_LONG 64
55 42
56#ifndef _LP64 43#ifndef _LP64
57#define _LP64 /* Done on Alpha -- not sure if it 44#define _LP64 /* Done on Alpha -- not sure if it should be here. -- fx */
58 should be here. -- fx */
59#endif
60#endif 45#endif
61 46
47#endif /* __arch64__ */
48
62/* arch-tag: 0a6f7882-33fd-4811-9832-7466c51e50f7 49/* arch-tag: 0a6f7882-33fd-4811-9832-7466c51e50f7
63 (do not change this comment) */ 50 (do not change this comment) */