|
|
1.1 root 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: * @(#)pcwhoami.h 5.2 (Berkeley) 11/11/86
7: */
8:
9: /*
10: * am i generating an obj file (OBJ),
11: * postfix binary input to the 2nd pass of the portable c compiler (PC),
12: * or pTrees (PTREE)?
13: */
14: #undef OBJ
15: #define PC
16: #undef PTREE
17:
18: /*
19: * we assume one of the following will be defined by the preprocessor:
20: * vax for vaxes
21: * pdp11 for pdp11's
22: * mc68000 for motorola mc68000's
23: * tahoe for cci power 6/32
24: */
25:
26: /*
27: * hardware characteristics:
28: * address size (16 or 32 bits) and byte ordering (normal or dec11 family).
29: */
30: #ifdef vax
31: # undef ADDR16
32: # define ADDR32
33: # define DEC11
34: #endif vax
35: #ifdef pdp11
36: # define ADDR16
37: # undef ADDR32
38: # define DEC11
39: #endif vax
40: #ifdef mc68000
41: # undef ADDR16
42: # define ADDR32
43: # undef DEC11
44: #endif mc68000
45: #ifdef tahoe
46: # undef ADDR16
47: # define ADDR32
48: # undef DEC11
49: #endif tahoe
50: #ifdef z8000
51: # define ADDR16
52: # undef ADDR32
53: # undef DEC11
54: #endif z8000
55:
56: /*
57: * am i pi or pxp?
58: */
59: #define PI
60: #undef PXP
61:
62: /*
63: * am i both passes, or am i only one of the two passes pi0 or pi1?
64: */
65: #define PI01
66: #undef PI0
67: #undef PI1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.