thermosphere: gdb: add core_on and core_off handling

This commit is contained in:
TuxSH
2020-01-31 00:28:05 +00:00
parent ced0b32556
commit 5a29fd17fe
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);
}
}