Commit | Line | Data |
---|---|---|
252367af DF |
1 | /* |
2 | * Copyright (c) 1980 Regents of the University of California. | |
3 | * All rights reserved. The Berkeley software License Agreement | |
4 | * specifies the terms and conditions for redistribution. | |
5 | * | |
ca67e7b4 | 6 | * @(#)whoami.h 5.2 (Berkeley) 4/7/87 |
252367af | 7 | */ |
000fd200 | 8 | |
ae01f7fb KM |
9 | /* |
10 | * we assume one of the following will be defined by the preprocessor: | |
11 | * vax for vaxes | |
12 | * pdp11 for pdp11's | |
13 | * mc68000 for motorola mc68000's | |
6ad44e6d | 14 | * tahoe for cci power 6/32's |
ae01f7fb | 15 | */ |
000fd200 | 16 | |
ae01f7fb KM |
17 | /* |
18 | * hardware characteristics: | |
19 | * address size (16 or 32 bits) and byte ordering (normal or dec11 family). | |
20 | */ | |
21 | #ifdef vax | |
22 | #undef ADDR16 | |
23 | #define ADDR32 | |
24 | #define DEC11 | |
25 | #endif vax | |
26 | #ifdef mc68000 | |
27 | #undef ADDR16 | |
28 | #define ADDR32 | |
29 | #undef DEC11 | |
30 | #endif mc68000 | |
6ad44e6d KM |
31 | #ifdef tahoe |
32 | #undef ADDR16 | |
33 | #define ADDR32 | |
34 | #undef DEC11 | |
35 | #endif tahoe | |
ae01f7fb KM |
36 | #ifdef pdp11 |
37 | #define ADDR16 | |
38 | #undef ADDR32 | |
39 | #define DEC11 | |
40 | #endif pdp11 | |
41 | ||
42 | /* | |
43 | * am i pi or pxp? | |
44 | */ | |
45 | #undef PI | |
46 | #define PXP | |
47 | ||
48 | /* | |
49 | * am i both passes, or am i only one of the two passes pi0 or pi1? | |
50 | */ | |
51 | #define PI01 | |
52 | #undef PI0 | |
53 | #undef PI1 |