thermosphere: gdb: add core_on and core_off handling

This commit is contained in:
TuxSH
2020-01-31 00:28:05 +00:00
parent ed5736e8d2
commit 02e2a1efa2
7 changed files with 98 additions and 37 deletions

View File

@@ -133,4 +133,8 @@ void thermosphereMain(ExceptionStackFrame *frame, u64 pct)
// Initialize FPU registers -- no need to memset, the regcaches are in .tempbss
fpuCommitRegisters();
fpuCleanInvalidateRegisterCache();
if (!currentCoreCtx->isBootCore) {
debugManagerReportEvent(DBGEVENT_CORE_ON);
}
}