xref: /csrg-svn/usr.bin/pascal/pxp/whoami.h (revision 30840)
122248Sdist /*
222248Sdist  * Copyright (c) 1980 Regents of the University of California.
322248Sdist  * All rights reserved.  The Berkeley software License Agreement
422248Sdist  * specifies the terms and conditions for redistribution.
522248Sdist  *
6*30840Smckusick  *	@(#)whoami.h	5.2 (Berkeley) 04/07/87
722248Sdist  */
810730Smckusick 
910738Smckusick /*
1010738Smckusick  *	we assume one of the following will be defined by the preprocessor:
1110738Smckusick  *	vax	for vaxes
1210738Smckusick  *	pdp11	for pdp11's
1310738Smckusick  *	mc68000	for motorola mc68000's
14*30840Smckusick  *	tahoe	for cci power 6/32's
1510738Smckusick  */
1610730Smckusick 
1710738Smckusick /*
1810738Smckusick  *	hardware characteristics:
1910738Smckusick  *	address size (16 or 32 bits) and byte ordering (normal or dec11 family).
2010738Smckusick  */
2110738Smckusick #ifdef vax
2210738Smckusick #undef	ADDR16
2310738Smckusick #define	ADDR32
2410738Smckusick #define	DEC11
2510738Smckusick #endif vax
2610738Smckusick #ifdef mc68000
2710738Smckusick #undef	ADDR16
2810738Smckusick #define	ADDR32
2910738Smckusick #undef	DEC11
3010738Smckusick #endif mc68000
31*30840Smckusick #ifdef tahoe
32*30840Smckusick #undef	ADDR16
33*30840Smckusick #define	ADDR32
34*30840Smckusick #undef	DEC11
35*30840Smckusick #endif tahoe
3610738Smckusick #ifdef pdp11
3710738Smckusick #define	ADDR16
3810738Smckusick #undef	ADDR32
3910738Smckusick #define	DEC11
4010738Smckusick #endif pdp11
4110738Smckusick 
4210738Smckusick /*
4310738Smckusick  *	am i pi or pxp?
4410738Smckusick  */
4510738Smckusick #undef PI
4610738Smckusick #define	PXP
4710738Smckusick 
4810738Smckusick /*
4910738Smckusick  *	am i both passes, or am i only one of the two passes pi0 or pi1?
5010738Smckusick  */
5110738Smckusick #define	PI01
5210738Smckusick #undef	PI0
5310738Smckusick #undef	PI1
54