Line 60... |
Line 60... |
#define SPR_ESR_BASE (SPRGROUP_SYS + 64)
|
#define SPR_ESR_BASE (SPRGROUP_SYS + 64)
|
#define SPR_ESR_LAST (SPRGROUP_SYS + 79)
|
#define SPR_ESR_LAST (SPRGROUP_SYS + 79)
|
|
|
/* Data MMU group */
|
/* Data MMU group */
|
#define SPR_DMMUCR (SPRGROUP_DMMU + 0)
|
#define SPR_DMMUCR (SPRGROUP_DMMU + 0)
|
#define SPR_DTLBMR_BASE(WAY) (SPRGROUP_DMMU + 0x200 + (WAY) * 0x200)
|
#define SPR_DTLBMR_BASE(WAY) (SPRGROUP_DMMU + 0x200 + (WAY) * 0x100)
|
#define SPR_DTLBMR_LAST(WAY) (SPRGROUP_DMMU + 0x2ff + (WAY) * 0x200)
|
#define SPR_DTLBMR_LAST(WAY) (SPRGROUP_DMMU + 0x27f + (WAY) * 0x100)
|
#define SPR_DTLBTR_BASE(WAY) (SPRGROUP_DMMU + 0x300 + (WAY) * 0x200)
|
#define SPR_DTLBTR_BASE(WAY) (SPRGROUP_DMMU + 0x280 + (WAY) * 0x100)
|
#define SPR_DTLBTR_LAST(WAY) (SPRGROUP_DMMU + 0x3ff + (WAY) * 0x200)
|
#define SPR_DTLBTR_LAST(WAY) (SPRGROUP_DMMU + 0x2ff + (WAY) * 0x100)
|
|
|
/* Instruction MMU group */
|
/* Instruction MMU group */
|
#define SPR_IMMUCR (SPRGROUP_IMMU + 0)
|
#define SPR_IMMUCR (SPRGROUP_IMMU + 0)
|
#define SPR_ITLBMR_BASE(WAY) (SPRGROUP_IMMU + 0x200 + (WAY) * 0x200)
|
#define SPR_ITLBMR_BASE(WAY) (SPRGROUP_IMMU + 0x200 + (WAY) * 0x100)
|
#define SPR_ITLBMR_LAST(WAY) (SPRGROUP_IMMU + 0x2ff + (WAY) * 0x200)
|
#define SPR_ITLBMR_LAST(WAY) (SPRGROUP_IMMU + 0x27f + (WAY) * 0x100)
|
#define SPR_ITLBTR_BASE(WAY) (SPRGROUP_IMMU + 0x300 + (WAY) * 0x200)
|
#define SPR_ITLBTR_BASE(WAY) (SPRGROUP_IMMU + 0x280 + (WAY) * 0x100)
|
#define SPR_ITLBTR_LAST(WAY) (SPRGROUP_IMMU + 0x3ff + (WAY) * 0x200)
|
#define SPR_ITLBTR_LAST(WAY) (SPRGROUP_IMMU + 0x2ff + (WAY) * 0x100)
|
|
|
/* Data cache group */
|
/* Data cache group */
|
#define SPR_DCCR (SPRGROUP_DC + 0)
|
#define SPR_DCCR (SPRGROUP_DC + 0)
|
#define SPR_DCBPR (SPRGROUP_DC + 1)
|
#define SPR_DCBPR (SPRGROUP_DC + 1)
|
#define SPR_DCBFR (SPRGROUP_DC + 2)
|
#define SPR_DCBFR (SPRGROUP_DC + 2)
|
Line 156... |
Line 156... |
/*
|
/*
|
* Bit definitions for the Supervision Register
|
* Bit definitions for the Supervision Register
|
*
|
*
|
*/
|
*/
|
#define SPR_SR_CID 0xf0000000 /* Context ID */
|
#define SPR_SR_CID 0xf0000000 /* Context ID */
|
|
#define SPR_SR_SUMRA 0x00010000 /* Supervisor SPR read access */
|
#define SPR_SR_FO 0x00008000 /* Fixed one */
|
#define SPR_SR_FO 0x00008000 /* Fixed one */
|
#define SPR_SR_EPH 0x00004000 /* Exception Prefixi High */
|
#define SPR_SR_EPH 0x00004000 /* Exception Prefix High */
|
#define SPR_SR_DSX 0x00002000 /* Delay Slot Exception */
|
#define SPR_SR_DSX 0x00002000 /* Delay Slot Exception */
|
#define SPR_SR_OVE 0x00001000 /* Overflow flag Exception */
|
#define SPR_SR_OVE 0x00001000 /* Overflow flag Exception */
|
#define SPR_SR_OV 0x00000800 /* Overflow flag */
|
#define SPR_SR_OV 0x00000800 /* Overflow flag */
|
#define SPR_SR_CY 0x00000400 /* Carry flag */
|
#define SPR_SR_CY 0x00000400 /* Carry flag */
|
#define SPR_SR_F 0x00000200 /* Condition Flag */
|
#define SPR_SR_F 0x00000200 /* Condition Flag */
|