feat: various power and thermal optimizations, fix Printers app regression
This commit is contained in:
1 parent
ea4e3dbf96
commit
7d6f001659
10 files changed
+250
-65
No files matched your search
@@ -28,6 +28,10 @@ namespace Timekeeping {
|
||||
// Enable scheduler tick (called after scheduler is initialized)
|
||||
void EnableSchedulerTick();
|
||||
|
||||
// Enter one idle wait cycle for the current CPU. The BSP uses a
|
||||
// one-shot LAPIC timer while idle; APs keep their existing simple wait.
|
||||
void IdleOnce(bool hasMwait, volatile uint64_t* monitorAddr = nullptr);
|
||||
|
||||
// Busy-wait sleep for the given number of milliseconds
|
||||
void Sleep(uint64_t ms);
|
||||
};
|
||||
Reference in new issue
Block a user