xref: /csrg-svn/usr.bin/pascal/pxp/whoami.h (revision 22248)
1*22248Sdist /*
2*22248Sdist  * Copyright (c) 1980 Regents of the University of California.
3*22248Sdist  * All rights reserved.  The Berkeley software License Agreement
4*22248Sdist  * specifies the terms and conditions for redistribution.
5*22248Sdist  *
6*22248Sdist  *	@(#)whoami.h	5.1 (Berkeley) 06/05/85
7*22248Sdist  */
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
1410738Smckusick  */
1510730Smckusick 
1610738Smckusick /*
1710738Smckusick  *	hardware characteristics:
1810738Smckusick  *	address size (16 or 32 bits) and byte ordering (normal or dec11 family).
1910738Smckusick  */
2010738Smckusick #ifdef vax
2110738Smckusick #undef	ADDR16
2210738Smckusick #define	ADDR32
2310738Smckusick #define	DEC11
2410738Smckusick #endif vax
2510738Smckusick #ifdef mc68000
2610738Smckusick #undef	ADDR16
2710738Smckusick #define	ADDR32
2810738Smckusick #undef	DEC11
2910738Smckusick #endif mc68000
3010738Smckusick #ifdef pdp11
3110738Smckusick #define	ADDR16
3210738Smckusick #undef	ADDR32
3310738Smckusick #define	DEC11
3410738Smckusick #endif pdp11
3510738Smckusick 
3610738Smckusick /*
3710738Smckusick  *	am i pi or pxp?
3810738Smckusick  */
3910738Smckusick #undef PI
4010738Smckusick #define	PXP
4110738Smckusick 
4210738Smckusick /*
4310738Smckusick  *	am i both passes, or am i only one of the two passes pi0 or pi1?
4410738Smckusick  */
4510738Smckusick #define	PI01
4610738Smckusick #undef	PI0
4710738Smckusick #undef	PI1
48