feat: various power and thermal optimizations, fix Printers app regression
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user