Commit | Line | Data |
---|---|---|
9e0e1128 C |
1 | #ifdef LOCORE |
2 | #define U_PROCP 144 | |
3 | #define U_EOSYS 273 | |
4 | #define P_LINK 0 | |
5 | #define P_RLINK 4 | |
6 | #define P_XLINK 108 | |
7 | #define P_ADDR 16 | |
8 | #define P_PRI 21 | |
9 | #define P_STAT 23 | |
10 | #define P_WCHAN 96 | |
11 | #define P_TSIZE 68 | |
12 | #define P_SSIZE 76 | |
13 | #define P_P0BR 104 | |
14 | #define P_SZPT 66 | |
15 | #define P_TEXTP 100 | |
16 | #define P_FLAG 44 | |
17 | #define P_DKEY 164 | |
18 | #define P_CKEY 160 | |
19 | #define SSLEEP 1 | |
20 | #define SRUN 3 | |
21 | #define V_SWTCH 0 | |
22 | #define V_TRAP 4 | |
23 | #define V_SYSCALL 8 | |
24 | #define V_INTR 12 | |
25 | #define V_SOFT 16 | |
26 | #define V_FPE 116 | |
27 | #define V_ALIGN 120 | |
28 | #define MCLBYTES 1024 | |
29 | #define NBPG 1024 | |
30 | #define PGSHIFT 10 | |
31 | #define UPAGES 6 | |
32 | #define CLSIZE 1 | |
33 | #define MAXPHYS 65536 | |
34 | #define SYSPTSIZE 9216 | |
35 | #define USRPTSIZE 1024 | |
36 | #define VBIOSIZE 1020 | |
37 | #define MSGBUFPTECNT 4 | |
38 | #define NMBCLUSTERS 256 | |
39 | #define PCB_KSP 0 | |
40 | #define PCB_USP 4 | |
41 | #define PCB_R0 8 | |
42 | #define PCB_R1 12 | |
43 | #define PCB_R2 16 | |
44 | #define PCB_R3 20 | |
45 | #define PCB_R4 24 | |
46 | #define PCB_R5 28 | |
47 | #define PCB_R6 32 | |
48 | #define PCB_R7 36 | |
49 | #define PCB_R8 40 | |
50 | #define PCB_R9 44 | |
51 | #define PCB_R10 48 | |
52 | #define PCB_R11 52 | |
53 | #define PCB_R12 56 | |
54 | #define PCB_R13 60 | |
55 | #define PCB_FP 60 | |
56 | #define PCB_PC 64 | |
57 | #define PCB_PSL 68 | |
58 | #define PCB_P0BR 72 | |
59 | #define PCB_P0LR 76 | |
60 | #define PCB_P1BR 80 | |
61 | #define PCB_P1LR 84 | |
62 | #define PCB_P2BR 88 | |
63 | #define PCB_P2LR 92 | |
64 | #define PCB_ACH 96 | |
65 | #define PCB_ACL 100 | |
66 | #define PCB_HFS 104 | |
67 | #define PCB_SAVACC 108 | |
68 | #define PCB_SZPT 112 | |
69 | #define PCB_CMAP2 116 | |
70 | #define PCB_SSWAP 120 | |
71 | #define PCB_SIGC 124 | |
72 | #define SCB_DOADUMP 8 | |
73 | #define SCB_BUSERR 128 | |
74 | #define SCB_DEVBASE 64 | |
75 | #endif |