comparison src/m/sequent-ptx.h @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents a86b2b5e0111
children
comparison
equal deleted inserted replaced
411:12e008d41344 412:697ef44129c6
24 operating system this machine is likely to run. 24 operating system this machine is likely to run.
25 USUAL-OPSYS="ptx" */ 25 USUAL-OPSYS="ptx" */
26 26
27 #include "intel386.h" 27 #include "intel386.h"
28 28
29 /* Define how to take a char and sign-extend into an int.
30 On machines where char is signed, this is a no-op. */
31 /* CHECK THIS */
32 #define SIGN_EXTEND_CHAR(c) (c)
33
29 /* Now define a symbol for the cpu type, if your compiler 34 /* Now define a symbol for the cpu type, if your compiler
30 does not define it automatically: 35 does not define it automatically:
31 Ones defined so far include vax, m68000, ns16000, pyramid, 36 Ones defined so far include vax, m68000, ns16000, pyramid,
32 orion, tahoe, APOLLO and many others. */ 37 orion, tahoe, APOLLO and many others. */
33 38
37 /* Already defined. Assume prior definition works for PTX. */ 42 /* Already defined. Assume prior definition works for PTX. */
38 #if 0 43 #if 0
39 #undef CRT0_DUMMIES 44 #undef CRT0_DUMMIES
40 #define CRT0_DUMMIES dummy1, dummy2, dummy3, 45 #define CRT0_DUMMIES dummy1, dummy2, dummy3,
41 #endif 46 #endif
47
48 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
49 the 24-bit bit field into an int. In other words, if bit fields
50 are always unsigned.
51
52 If you use NO_UNION_TYPE, this flag does not matter. */
53
54 #define EXPLICIT_SIGN_EXTEND
42 55
43 /* Data type of load average, as read out of kmem. */ 56 /* Data type of load average, as read out of kmem. */
44 57
45 #define LOAD_AVE_TYPE unsigned long 58 #define LOAD_AVE_TYPE unsigned long
46 59