/* lr3000.h * Definitions for the basic R3000 */ #if defined(LR3000) && !defined(_LR3000_) #define _LR3000_ #ifdef LANGUAGE_ASSEMBLY #define C0_CTEXT $4 /* Context */ #define C0_TLBHI $10 /* TLB EntryHi */ #define C0_TLBLO $2 /* TLB EntryLo */ #define C0_INX $0 /* TLB Index */ #define C0_RAND $1 /* TLB Random */ #else #define C0_CTEXT 4 /* Context */ #define C0_TLBHI 10 /* TLB EntryHi */ #define C0_TLBLO 2 /* TLB EntryLo */ #define C0_INX 0 /* TLB Index */ #define C0_RAND 1 /* TLB Random */ #endif #endif /* _LR3000_ */