| 34 | } |
| 35 | |
| 36 | static void MEMIntrruptHandler(__OSInterrupt interrupt, OSContext* context) |
| 37 | { |
| 38 | u32 addr; |
| 39 | u32 cause; |
| 40 | |
| 41 | cause = __MEMRegs[0xf]; |
| 42 | addr = (((u32)__MEMRegs[0x12] & 0x3ff) << 16) | __MEMRegs[0x11]; |
| 43 | __MEMRegs[0x10] = 0; |
| 44 | |
| 45 | if (__OSErrorTable[OS_ERROR_PROTECTION]) |
| 46 | { |
| 47 | __OSErrorTable[OS_ERROR_PROTECTION](OS_ERROR_PROTECTION, context, cause, addr); |
| 48 | return; |
| 49 | } |
| 50 | |
| 51 | __OSUnhandledException(OS_ERROR_PROTECTION, context, cause, addr); |
| 52 | } |
| 53 | |
| 54 | asm void Config24MB() |
| 55 | { |
nothing calls this directly
no test coverage detected