1: #ifdef LOCORE 2: #define P_LINK 0 3: #define P_RLINK 4 4: #define P_XLINK 108 5: #define P_ADDR 16 6: #define P_PRI 21 7: #define P_STAT 23 8: #define P_WCHAN 96 9: #define P_TSIZE 68 10: #define P_DSIZE 72 11: #define P_SSIZE 76 12: #define P_P0BR 104 13: #define P_SZPT 66 14: #define P_TEXTP 100 15: #define P_FLAG 44 16: #define SSLEEP 1 17: #define SRUN 3 18: #define UBA_BRRVR 48 19: #define UH_UBA 0 20: #define UH_VEC 8 21: #define UH_SIZE 64 22: #define RP_FLAG 12 23: #define X_CADDR 64 24: #define V_SWTCH 0 25: #define V_TRAP 4 26: #define V_SYSCALL 8 27: #define V_INTR 12 28: #define V_SOFT 16 29: #define V_PDMA 20 30: #define V_FAULTS 92 31: #define V_PGREC 52 32: #define V_FASTPGREC 112 33: #define UPAGES 10 34: #define CLSIZE 2 35: #define SYSPTSIZE 3584 36: #define USRPTSIZE 4096 37: #define MSGBUFPTECNT 8 38: #define NMBCLUSTERS 256 39: #define U_PROCP 128 40: #define U_RU 1640 41: #define RU_MINFLT 32 42: #else 43: asm(".set U_ARG,156"); 44: asm(".set U_QSAVE,192"); 45: #endif