RTEMS 6.3
Loading...
Searching...
No Matches
idtcpu.h File Reference

CPU Related Definitions. More...

Go to the source code of this file.

Macros

#define K0BASE   0x80000000
#define K0SIZE   0x20000000
#define K1BASE   0xa0000000
#define K1SIZE   0x20000000
#define K2BASE   0xc0000000
#define K2SIZE   0x20000000
#define KUBASE   0
#define KUSIZE   0x80000000
#define R_VEC   (K1BASE+0x1fc00000)
#define CAST(as)
#define K0_TO_K1(x)
#define K1_TO_K0(x)
#define K0_TO_PHYS(x)
#define K1_TO_PHYS(x)
#define PHYS_TO_K0(x)
#define PHYS_TO_K1(x)
#define MINCACHE   0x200
#define MAXCACHE   0x40000
#define CAUSE_BD   0x80000000
#define CAUSE_BT   0x40000000
#define CAUSE_CEMASK   0x30000000
#define CAUSE_CESHIFT   28
#define CAUSE_IPMASK   0x0000FF00
#define CAUSE_IPSHIFT   8
#define CAUSE_EXCMASK   0x0000003C
#define CAUSE_EXCSHIFT   2
#define C0_INX   $0
#define C0_RAND   $1
#define C0_CTXT   $4
#define C0_BADVADDR   $8
#define C0_TLBHI   $10
#define C0_SR   $12
#define C0_CAUSE   $13
#define C0_EPC   $14
#define C0_PRID   $15
#define C1_REVISION   $0
#define C1_STATUS   $31

Detailed Description

CPU Related Definitions.

950313: Ketan added sreg/lreg and R_SZ for 64-bit saves added Register definition for XContext reg. Look towards end of this file.