|
|
1.1 root 1: /* mach.h - isUVAXI isUVAXII is1178X is11750 is11730 is8600 */
2:
3: /* vax machine constants */
4:
5: #define UVAXIISID 0x08000000 /* SID reg. value for UVAX II */
6: #define UVAXISID 0x07000000 /* SID reg. value for UVAX I */
7: #define VAX78XSID 0x01000000
8: #define VAX750SID 0x02000000
9: #define VAX730SID 0x03000000
10: #define VAX8600SID 0x04000000
11:
12: #define SYSTYPE 0x00ffffff /* mask for system id */
13: #define UISYSTEM "MicroVAX I" /* name printed at startup */
14: #define UIISYSTEM "MicroVAX II" /* for either UVAX I or UVAX II */
15: #define SYSTEM78 "VAX 11/78X"
16: #define SYSTEM75 "VAX 11/750"
17: #define SYSTEM73 "VAX 11/730"
18: #define SYSTEM86 "VAX 8600"
19:
20: /* Miscellaneous utility inline functions */
21:
22: #ifndef ASM
23: #define isUVAXII (machinesid == UVAXIISID)
24: #define isUVAXI (machinesid == UVAXISID)
25: #define is1178X (machinesid == VAX78XSID)
26: #define is11750 (machinesid == VAX750SID)
27: #define is11730 (machinesid == VAX730SID)
28: #define is8600 (machinesid == VAX8600SID)
29: #endif ASM
30:
31: #ifndef ASM
32: extern int machinesid;
33: #endif ASM
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.