/* * Virtual Address Options: 8K byte page size */ #define VA_S_SIZE 43 #define VA_S_OFF 13 #define VA_S_SEG 10 #define VA_S_PAGE_SIZE 8192 /* ** System Entry Instruction Fault (entIF) Constants: */ #define IF_K_BPT 0x0 #define IF_K_BUGCHK 0x1 #define IF_K_GENTRAP 0x2 #define IF_K_FEN 0x3 #define IF_K_OPCDEC 0x4 /* ** System Entry Hardware Interrupt (entInt) Constants: */ #define INT_K_IP 0x0 #define INT_K_CLK 0x1 #define INT_K_MCHK 0x2 #define INT_K_DEV 0x3 #define INT_K_PERF 0x4 /* ** System Entry MM Fault (entMM) Constants: */ #define MM_K_TNV 0x0 #define MM_K_ACV 0x1 #define MM_K_FOR 0x2 #define MM_K_FOE 0x3 #define MM_K_FOW 0x4 /* ** Processor Status Register (PS) Bit Summary ** ** Extent Size Name Function ** ------ ---- ---- --------------------------------- ** <3> 1 CM Current Mode ** <2:0> 3 IPL Interrupt Priority Level */ #define PS_V_CM 3 #define PS_M_CM (1< 1 MIP Machine check in progress ** <1> 1 SCE System correctable error in progress ** <2> 1 PCE Processor correctable error in progress ** <3> 1 DPC Disable PCE error reporting ** <4> 1 DSC Disable SCE error reporting */ #define MCES_V_MIP 0 #define MCES_M_MIP (1< 8 SWAP Swap PALcode flag -- character 'S' ** <47:32> 16 MCHK Machine Check Error code ** <31:16> 16 SCB System Control Block vector ** <15:08> 8 WHAMI Who-Am-I identifier ** <04:00> 5 MCES Machine Check Error Summary bits ** */ #define PT16_V_MCES 0 #define PT16_V_WHAMI 8 #define PT16_V_SCB 16 #define PT16_V_MCHK 32 #define PT16_V_SWAP 48 /* ** Who-Am-I (WHAMI) Register Format ** ** Extent Size Name Function ** ------ ---- ---- --------------------------------- ** <7:0> 8 ID Who-Am-I identifier ** <15:8> 1 SWAP Swap PALcode flag - character 'S' */ #define WHAMI_V_SWAP 8 #define WHAMI_M_SWAP (1<