thermosphere: fix reporting logic of initial break event

This commit is contained in:
TuxSH
2020-02-01 16:20:45 +00:00
parent 7acd5a9ec7
commit cb4d898579
3 changed files with 10 additions and 7 deletions

View File

@@ -137,6 +137,6 @@ void thermosphereMain(ExceptionStackFrame *frame, u64 pct)
if (!currentCoreCtx->isBootCore) {
debugManagerReportEvent(DBGEVENT_CORE_ON);
} else {
debugManagerPauseCores(BIT(currentCoreCtx->coreId));
debugManagerReportEvent(DBGEVENT_DEBUGGER_BREAK);
}
}