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 | * | |
6 | * @(#)whoami.h 5.1 (Berkeley) %G% | |
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 | |
14 | */ | |
000fd200 | 15 | |
ae01f7fb KM |
16 | /* |
17 | * hardware characteristics: | |
18 | * address size (16 or 32 bits) and byte ordering (normal or dec11 family). | |
19 | */ | |
20 | #ifdef vax | |
21 | #undef ADDR16 | |
22 | #define ADDR32 | |
23 | #define DEC11 | |
24 | #endif vax | |
25 | #ifdef mc68000 | |
26 | #undef ADDR16 | |
27 | #define ADDR32 | |
28 | #undef DEC11 | |
29 | #endif mc68000 | |
30 | #ifdef pdp11 | |
31 | #define ADDR16 | |
32 | #undef ADDR32 | |
33 | #define DEC11 | |
34 | #endif pdp11 | |
35 | ||
36 | /* | |
37 | * am i pi or pxp? | |
38 | */ | |
39 | #undef PI | |
40 | #define PXP | |
41 | ||
42 | /* | |
43 | * am i both passes, or am i only one of the two passes pi0 or pi1? | |
44 | */ | |
45 | #define PI01 | |
46 | #undef PI0 | |
47 | #undef PI1 |