serenity/Kernel/Firmware
Liav A 9b8b8c0e04 Kernel: Simplify reboot & poweroff code flow a bit
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.
2023-06-27 20:04:42 +02:00
..
ACPI Kernel: Move PC BIOS-related code to the x86_64 architecture directory 2023-06-19 23:49:00 +02:00
PowerState.cpp Kernel: Simplify reboot & poweroff code flow a bit 2023-06-27 20:04:42 +02:00
PowerState.h Kernel: Simplify reboot & poweroff code flow a bit 2023-06-27 20:04:42 +02:00