diff options
-rw-r--r-- | sys/mips/mips/locore.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/mips/mips/locore.S b/sys/mips/mips/locore.S index 44dda85..5cdc781 100644 --- a/sys/mips/mips/locore.S +++ b/sys/mips/mips/locore.S @@ -104,6 +104,12 @@ VECTOR(_locore, unknown) /* Reset these bits */ li t0, ~(MIPS_SR_DE | MIPS_SR_SOFT_RESET | MIPS_SR_ERL | MIPS_SR_EXL | MIPS_SR_INT_IE) +#elif defined (CPU_XLR) + /* Set these bits */ + li t1, (MIPS_SR_COP_2_BIT | MIPS_SR_COP_0_BIT | MIPS_SR_KX) + + /* Reset these bits */ + li t0, ~(MIPS_SR_BEV | MIPS_SR_SOFT_RESET | MIPS_SR_INT_IE) #else /* * t0: Bits to preserve if set: |