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