185a186,188
> #if !FULL_SYSTEM
> return true;
> #else
191,197c194,201
< #if FULL_SYSTEM
< MiscReg Dbg = xc->readMiscReg(MipsISA::Debug);
< if((Stat & 0x10000006) == 0 // EXL, ERL or CU0 set, CP0 accessible
< && (Dbg & 0x40000000) == 0 // DM bit set, CP0 accessible
< && (Stat & 0x00000018) != 0) { // KSU = 0, kernel mode is base mode
< // Unable to use Status_CU0, etc directly, using bitfields & masks
< return false;
---
> MiscReg Dbg = xc->readMiscReg(MipsISA::Debug);
> if((Stat & 0x10000006) == 0 // EXL, ERL or CU0 set, CP0 accessible
> && (Dbg & 0x40000000) == 0 // DM bit set, CP0 accessible
> && (Stat & 0x00000018) != 0) { // KSU = 0, kernel mode is base mode
> // Unable to use Status_CU0, etc directly, using bitfields & masks
> return false;
> }
>
199,202d202
< #else
< //printf("Syscall Emulation Mode: CP0 Enable Check defaults to TRUE\n");
< #endif
< }
219a220
> #endif