mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-03 16:18:51 -04:00
thermopshere: refactor jump-to-kernel ,add single-step code
not working under qemu yet though
This commit is contained in:
parent
cc232ef4f8
commit
ff9714d4f6
8 changed files with 108 additions and 15 deletions
|
@ -19,6 +19,7 @@
|
|||
#include "sysreg_traps.h"
|
||||
#include "smc.h"
|
||||
#include "core_ctx.h"
|
||||
#include "single_step.h"
|
||||
|
||||
#include "debug_log.h"
|
||||
|
||||
|
@ -110,6 +111,10 @@ void handleLowerElSyncException(ExceptionStackFrame *frame, ExceptionSyndromeReg
|
|||
handleMsrMrsTrap(frame, esr);
|
||||
break;
|
||||
|
||||
case Exception_SoftwareStepLowerEl:
|
||||
handleSingleStep(frame, esr);
|
||||
break;
|
||||
|
||||
default:
|
||||
DEBUG("Lower EL sync exception, EC = 0x%02llx IL=%llu ISS=0x%06llx\n", (u64)esr.ec, esr.il, esr.iss);
|
||||
dumpStackFrame(frame, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue