xref: /csrg-svn/usr.bin/pascal/pxp/whoami.h (revision 10738)
1*10738Smckusick /*	@(#)whoami.h	1.2	(Berkeley)	83/02/05	*/
210730Smckusick 
3*10738Smckusick /*
4*10738Smckusick  *	we assume one of the following will be defined by the preprocessor:
5*10738Smckusick  *	vax	for vaxes
6*10738Smckusick  *	pdp11	for pdp11's
7*10738Smckusick  *	mc68000	for motorola mc68000's
8*10738Smckusick  */
910730Smckusick 
10*10738Smckusick /*
11*10738Smckusick  *	hardware characteristics:
12*10738Smckusick  *	address size (16 or 32 bits) and byte ordering (normal or dec11 family).
13*10738Smckusick  */
14*10738Smckusick #ifdef vax
15*10738Smckusick #undef	ADDR16
16*10738Smckusick #define	ADDR32
17*10738Smckusick #define	DEC11
18*10738Smckusick #endif vax
19*10738Smckusick #ifdef mc68000
20*10738Smckusick #undef	ADDR16
21*10738Smckusick #define	ADDR32
22*10738Smckusick #undef	DEC11
23*10738Smckusick #endif mc68000
24*10738Smckusick #ifdef pdp11
25*10738Smckusick #define	ADDR16
26*10738Smckusick #undef	ADDR32
27*10738Smckusick #define	DEC11
28*10738Smckusick #endif pdp11
29*10738Smckusick 
30*10738Smckusick /*
31*10738Smckusick  *	am i pi or pxp?
32*10738Smckusick  */
33*10738Smckusick #undef PI
34*10738Smckusick #define	PXP
35*10738Smckusick 
36*10738Smckusick /*
37*10738Smckusick  *	am i both passes, or am i only one of the two passes pi0 or pi1?
38*10738Smckusick  */
39*10738Smckusick #define	PI01
40*10738Smckusick #undef	PI0
41*10738Smckusick #undef	PI1
42