mirror of
https://github.com/fail0verflow/mini.git
synced 2024-11-24 12:19:21 +01:00
Fix PC display for UNDF and SWI
This commit is contained in:
parent
4c4148aa5b
commit
00f369a6d4
@ -49,8 +49,10 @@ void exc_handler(u32 type, u32 spsr, u32 *regs)
|
|||||||
u32 pc, fsr;
|
u32 pc, fsr;
|
||||||
|
|
||||||
switch(type) {
|
switch(type) {
|
||||||
case 7: // FIQ
|
case 1: // UND
|
||||||
|
case 2: // SWI
|
||||||
case 3: // INSTR ABORT
|
case 3: // INSTR ABORT
|
||||||
|
case 7: // FIQ
|
||||||
pc = regs[15] - 4;
|
pc = regs[15] - 4;
|
||||||
break;
|
break;
|
||||||
case 4: // DATA ABORT
|
case 4: // DATA ABORT
|
||||||
|
Loading…
Reference in New Issue
Block a user