threadasm.h 1.53 KB
#define T_NEXT			0
#define T_PRIORITY		4
#define T_ID			20
#define T_FP			24
#define T_CONTEXT_AT		32
#define T_CONTEXT_V0		40
#define T_CONTEXT_V1		48
#define T_CONTEXT_A0		56
#define T_CONTEXT_A1		64
#define T_CONTEXT_A2		72
#define T_CONTEXT_A3		80
#define T_CONTEXT_T0		88
#define T_CONTEXT_T1		96
#define T_CONTEXT_T2		104
#define T_CONTEXT_T3		112
#define T_CONTEXT_T4		120
#define T_CONTEXT_T5		128
#define T_CONTEXT_T6		136
#define T_CONTEXT_T7		144
#define T_CONTEXT_S0		152
#define T_CONTEXT_S1		160
#define T_CONTEXT_S2		168
#define T_CONTEXT_S3		176
#define T_CONTEXT_S4		184
#define T_CONTEXT_S5		192
#define T_CONTEXT_S6		200
#define T_CONTEXT_S7		208
#define T_CONTEXT_T8		216
#define T_CONTEXT_T9		224
#define T_CONTEXT_GP		232
#define T_CONTEXT_SP		240
#define T_CONTEXT_S8		248
#define T_CONTEXT_RA		256
#define T_CONTEXT_LO		264
#define T_CONTEXT_HI		272
#define T_CONTEXT_SR		280
#define T_CONTEXT_PC		284
#define T_CONTEXT_CAUSE		288
#define T_CONTEXT_BADVADDR	292
#define T_CONTEXT_RCP		296
#define T_CONTEXT_FPCSR		300
#define T_CONTEXT_FP0		304
#define T_CONTEXT_FP2		312
#define T_CONTEXT_FP4		320
#define T_CONTEXT_FP6		328
#define T_CONTEXT_FP8		336
#define T_CONTEXT_FP10		344
#define T_CONTEXT_FP12		352
#define T_CONTEXT_FP14		360
#define T_CONTEXT_FP16		368
#define T_CONTEXT_FP18		376
#define T_CONTEXT_FP20		384
#define T_CONTEXT_FP22		392
#define T_CONTEXT_FP24		400
#define T_CONTEXT_FP26		408
#define T_CONTEXT_FP28		416
#define T_CONTEXT_FP30		424
#define T_STATE			16
#define T_FLAGS			18
#define T_TLNEXT		12
#define T_QUEUE			8