#ifdef LOCORE
#define	P_LINK 0
#define	P_RLINK 4
#define	P_ADDR 8
#define	P_PRI 13
#define	P_STAT 15
#define	P_WCHAN 86
#define	P_PID 44
#define	SSLEEP 1
#define	SRUN 3
#define	PCB_P0BR 64
#define	PCB_P0LR 68
#define	PCB_P1BR 72
#define	PCB_P1LR 76
#define	PCB_CMAP2 84
#define	PCB_SSWAP 88
#define	PCB_PC 0x30
#define	PCB_SR 0x3c
#define	U_FPSAV 0x8ec
#define	U_FPPC 0xa0e
#define	U_FPDR   0xa2c
#define	U_FPCR   0xa8c
#define	U_FPSR   0xa90
#define	U_FPIAR  0xa94
#define	U_FPSSF  0xa9c
#define	U_FPSSFP 0xa98
#define	U_FPSSFL 0xb8
#define	U_PROCP 0x5c
#define	RP_FLAG 12
#define	V_SWTCH 0
#define	V_TRAP 4
#define	V_SYSCALL 8
#define	V_INTR 12
#define	V_PDMA 16
#define	UPAGES 3
#define	CLSIZE 1
#define	SYSPTSIZE 216
#define	USRPTSIZE 128
#define	MSGBUFPTECNT 1
#define	NMBCLUSTERS 24
#define	NBBY 8
#define	NBPG 4096
#define	NPTEPG 1024
#define	UPAGENUM 253
#define	U_SMAPSNUM 255
#define	USRTEXT 1048576
#define	KVBASE 0
#define	KVSIZE 256
#define	TMPSTACK 4096
#define	SYM_PA 20480
#else
asm("U_ARG = 356");
asm("U_QSAVE = 392");
#endif
