xref: /csrg-svn/usr.bin/pascal/pxp/whoami.h (revision 62193)
148112Sbostic /*-
2*62193Sbostic  * Copyright (c) 1980, 1993
3*62193Sbostic  *	The Regents of the University of California.  All rights reserved.
422248Sdist  *
548112Sbostic  * %sccs.include.redist.c%
648112Sbostic  *
7*62193Sbostic  *	@(#)whoami.h	8.1 (Berkeley) 06/06/93
822248Sdist  */
910730Smckusick 
1010738Smckusick /*
1110738Smckusick  *	we assume one of the following will be defined by the preprocessor:
1210738Smckusick  *	vax	for vaxes
1310738Smckusick  *	pdp11	for pdp11's
1410738Smckusick  *	mc68000	for motorola mc68000's
1530840Smckusick  *	tahoe	for cci power 6/32's
1610738Smckusick  */
1710730Smckusick 
1810738Smckusick /*
1910738Smckusick  *	hardware characteristics:
2010738Smckusick  *	address size (16 or 32 bits) and byte ordering (normal or dec11 family).
2110738Smckusick  */
2210738Smckusick #ifdef vax
2310738Smckusick #undef	ADDR16
2410738Smckusick #define	ADDR32
2510738Smckusick #define	DEC11
2610738Smckusick #endif vax
2710738Smckusick #ifdef mc68000
2810738Smckusick #undef	ADDR16
2910738Smckusick #define	ADDR32
3010738Smckusick #undef	DEC11
3110738Smckusick #endif mc68000
3230840Smckusick #ifdef tahoe
3330840Smckusick #undef	ADDR16
3430840Smckusick #define	ADDR32
3530840Smckusick #undef	DEC11
3630840Smckusick #endif tahoe
3710738Smckusick #ifdef pdp11
3810738Smckusick #define	ADDR16
3910738Smckusick #undef	ADDR32
4010738Smckusick #define	DEC11
4110738Smckusick #endif pdp11
4210738Smckusick 
4310738Smckusick /*
4410738Smckusick  *	am i pi or pxp?
4510738Smckusick  */
4610738Smckusick #undef PI
4710738Smckusick #define	PXP
4810738Smckusick 
4910738Smckusick /*
5010738Smckusick  *	am i both passes, or am i only one of the two passes pi0 or pi1?
5110738Smckusick  */
5210738Smckusick #define	PI01
5310738Smckusick #undef	PI0
5410738Smckusick #undef	PI1
55