thermopshere: refactor jump-to-kernel ,add single-step code

not working under qemu yet though
This commit is contained in:
TuxSH
2019-08-05 02:21:18 +02:00
parent 9c9f6c04cc
commit 731d50a3a3
8 changed files with 108 additions and 15 deletions

View File

@@ -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);