mirror of
https://github.com/RGBCube/serenity
synced 2026-01-13 22:11:00 +00:00
Instead of using ifdefs to use the correct platform-specific methods, we can just use the same pattern we use for the microseconds_delay function which has specific implementations for each Arch CPU subdirectory. When linking a kernel image, the actual correct and platform-specific power-state changing methods will be called in Firmware/PowerState.cpp file. |
||
|---|---|---|
| .. | ||
| ACPI | ||
| PowerState.cpp | ||
| PowerState.h | ||