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.2 (Berkeley) 04/07/87 7 */ 8 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 * tahoe for cci power 6/32's 15 */ 16 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 31 #ifdef tahoe 32 #undef ADDR16 33 #define ADDR32 34 #undef DEC11 35 #endif tahoe 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 54