thermosphere: debug manager wip

This commit is contained in:
TuxSH
2020-01-27 00:46:00 +00:00
parent f69ef02096
commit d7ffcfc5d5
8 changed files with 183 additions and 118 deletions

View File

@@ -24,7 +24,7 @@
#include "single_step.h"
#include "data_abort.h"
#include "spinlock.h"
#include "debug_pause.h"
#include "debug_manager.h"
#include "timer.h"
#include "fpu.h"
@@ -122,7 +122,7 @@ void exceptionReturnPreprocess(ExceptionStackFrame *frame)
if (currentCoreCtx->wasPaused && frame == currentCoreCtx->guestFrame) {
// Were we paused & are we about to return to the guest?
exceptionEnterInterruptibleHypervisorCode();
debugPauseWaitAndUpdateSingleStep();
debugManagerHandlePause();
fpuCleanInvalidateRegisterCache();
}