aboutsummaryrefslogtreecommitdiffstats
path: root/src/m
diff options
context:
space:
mode:
authorKen Raeburn2002-07-24 02:07:15 +0000
committerKen Raeburn2002-07-24 02:07:15 +0000
commitd5e406c3edb4e1ae50b6665e6451043281173e28 (patch)
treebfc815053303a1cd57cd2aa5ad48a0f7366bc951 /src/m
parent8febed74d2eee87bd83fb79880e935b54f9f7f1e (diff)
downloademacs-d5e406c3edb4e1ae50b6665e6451043281173e28.tar.gz
emacs-d5e406c3edb4e1ae50b6665e6451043281173e28.zip
(BITS_PER_LONG, BITS_PER_EMACS_INT, EMACS_INT,
EMACS_UINT, SPECIAL_EMACS_INT, DATA_SEG_BITS, PNTR_COMPARISON_TYPE, VALBITS, MARKBIT, XINT, XUINT, XPNTR): Macros deleted.
Diffstat (limited to 'src/m')
-rw-r--r--src/m/alpha.h36
1 files changed, 1 insertions, 35 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h
index e224bac75ad..cde01e83953 100644
--- a/src/m/alpha.h
+++ b/src/m/alpha.h
@@ -29,8 +29,6 @@ NOTE-END
29 29
30*/ 30*/
31 31
32#define BITS_PER_LONG 64
33#define BITS_PER_EMACS_INT 64
34#ifndef _LP64 32#ifndef _LP64
35#define _LP64 /* This doesn't appear to be necessary 33#define _LP64 /* This doesn't appear to be necessary
36 on OSF 4/5 -- fx. */ 34 on OSF 4/5 -- fx. */
@@ -56,14 +54,8 @@ NOTE-END
56 54
57/* Use type EMACS_INT rather than a union, to represent Lisp_Object */ 55/* Use type EMACS_INT rather than a union, to represent Lisp_Object */
58/* This is desirable for most machines. */ 56/* This is desirable for most machines. */
59
60#define NO_UNION_TYPE 57#define NO_UNION_TYPE
61 58
62/* Define the type to use. */
63#define EMACS_INT long
64#define EMACS_UINT unsigned long
65#define SPECIAL_EMACS_INT
66
67/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend 59/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
68 the 24-bit bit field into an int. In other words, if bit fields 60 the 24-bit bit field into an int. In other words, if bit fields
69 are always unsigned. 61 are always unsigned.
@@ -113,6 +105,7 @@ NOTE-END
113#ifdef __ELF__ 105#ifdef __ELF__
114#undef UNEXEC 106#undef UNEXEC
115#define UNEXEC unexelf.o 107#define UNEXEC unexelf.o
108#define DATA_START 0x140000000
116#endif 109#endif
117 110
118#ifndef __ELF__ 111#ifndef __ELF__
@@ -122,11 +115,6 @@ NOTE-END
122#define TEXT_START 0x120000000 115#define TEXT_START 0x120000000
123#define DATA_START 0x140000000 116#define DATA_START 0x140000000
124 117
125/* This is necessary for mem-limits.h, so that start_of_data gives
126 the correct value */
127
128#define DATA_SEG_BITS 0x140000000
129
130/* The program to be used for unexec. */ 118/* The program to be used for unexec. */
131 119
132#define UNEXEC unexalpha.o 120#define UNEXEC unexalpha.o
@@ -165,28 +153,6 @@ NOTE-END
165#endif 153#endif
166 154
167 155
168#define PNTR_COMPARISON_TYPE unsigned long
169
170/* On the 64 bit architecture, we can use 60 bits for addresses */
171
172#define VALBITS 60
173
174
175/* This definition of MARKBIT is necessary because of the comparison of
176 ARRAY_MARK_FLAG and MARKBIT in an #if in lisp.h, which cpp doesn't like. */
177
178#define MARKBIT 0x8000000000000000L
179
180
181/* Define XINT and XUINT so that they can take arguments of type int */
182
183#define XINT(a) (((long) (a) << (BITS_PER_LONG - VALBITS)) >> (BITS_PER_LONG - VALBITS))
184#define XUINT(a) ((long) (a) & VALMASK)
185
186/* Define XPNTR to avoid or'ing with DATA_SEG_BITS */
187
188#define XPNTR(a) XUINT (a)
189
190#ifndef NOT_C_CODE 156#ifndef NOT_C_CODE
191/* We need these because pointers are larger than the default ints. */ 157/* We need these because pointers are larger than the default ints. */
192#if !defined(__NetBSD__) && !defined(__OpenBSD__) 158#if !defined(__NetBSD__) && !defined(__OpenBSD__)