File:  [XINU] / xinu / h / mach.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:39:02 2018 UTC (8 years, 2 months ago) by root
Branches: xinu, MAIN
CVS tags: xinu-19870308, HEAD
Xinu for VAX

/* mach.h - isUVAXI isUVAXII is1178X is11750 is11730 is8600		*/

/* vax machine constants						*/

#define UVAXIISID	0x08000000	/* SID reg. value for UVAX II	*/
#define UVAXISID	0x07000000	/* SID reg. value for UVAX I	*/
#define VAX78XSID	0x01000000
#define VAX750SID	0x02000000
#define VAX730SID	0x03000000
#define VAX8600SID	0x04000000

#define SYSTYPE		0x00ffffff	/* mask for system id		*/
#define UISYSTEM    	"MicroVAX I"	/* name printed at startup	*/
#define UIISYSTEM   	"MicroVAX II"	/* for either UVAX I or UVAX II	*/
#define SYSTEM78	"VAX 11/78X"
#define SYSTEM75	"VAX 11/750"
#define SYSTEM73	"VAX 11/730"
#define SYSTEM86	"VAX 8600"

/* Miscellaneous utility inline functions */

#ifndef	ASM
#define isUVAXII	(machinesid == UVAXIISID)
#define isUVAXI		(machinesid == UVAXISID)
#define is1178X		(machinesid == VAX78XSID)
#define is11750		(machinesid == VAX750SID)
#define is11730		(machinesid == VAX730SID)
#define is8600		(machinesid == VAX8600SID)
#endif	ASM

#ifndef ASM
extern	int	machinesid;
#endif	ASM

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.