feat: various power and thermal optimizations, fix Printers app regression

This commit is contained in:
2026-04-20 16:00:52 +02:00
parent ea4e3dbf96
commit 7d6f001659
10 changed files with 250 additions and 65 deletions
+2 -2
View File
@@ -201,11 +201,11 @@ extern "C" void kmain() {
if (bspCpu && bspCpu->hasMwait) {
static volatile uint64_t s_bspIdleMonitor = 0;
for (;;) {
Hal::IdleWait(&s_bspIdleMonitor);
Timekeeping::IdleOnce(true, &s_bspIdleMonitor);
}
} else {
for (;;) {
asm volatile("hlt");
Timekeeping::IdleOnce(false);
}
}
}