serenity/Kernel/Arch/x86_64
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
..
Boot
Firmware Kernel: Move PC BIOS-related code to the x86_64 architecture directory 2023-06-19 23:49:00 +02:00
Hypervisor Kernel: Move all Graphics-related code into Devices/GPU directory 2023-06-06 00:40:32 +02:00
Interrupts Kernel/ACPI: Make most of StaticParsing methods to be platform-agnostic 2023-06-19 23:49:00 +02:00
ISABus Kernel: Untie PS2 mouse and keyboard devices from i8042 implementation 2023-06-21 05:02:09 -06:00
PCI Kernel: Move InterruptDisabler to the Interrupts subdirectory 2023-06-04 21:32:34 +02:00
Time Kernel: Move InterruptDisabler to the Interrupts subdirectory 2023-06-04 21:32:34 +02:00
VGA
ASM_wrapper.cpp
ASM_wrapper.h
BochsDebugOutput.h
CMOS.cpp
CMOS.h
CPU.cpp Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
CPU.h
CPUID.cpp
CPUID.h
CurrentTime.cpp
DebugOutput.cpp
Delay.cpp
DescriptorTable.h Kernel: Move {Virtual,Physical}Address classes to the Memory directory 2023-06-04 21:32:34 +02:00
I8042Reboot.cpp
I8042Reboot.h
InterruptEntry.cpp
InterruptManagement.cpp Kernel: Move MultiProcessor parsing code to the Arch/x86_64 directory 2023-06-19 23:49:00 +02:00
InterruptManagement.h Kernel/ACPI: Make most of StaticParsing methods to be platform-agnostic 2023-06-19 23:49:00 +02:00
Interrupts.cpp Kernel: Move Performance-measurement code to the Tasks subdirectory 2023-06-04 21:32:34 +02:00
Interrupts.h
IO.h
IRQController.h
ISRStubs.h
linker.ld Kernel: Remove unused Platform.h include in linker script 2023-06-02 10:27:29 +02:00
mcontext.h
MSR.h
NonMaskableInterruptDisabler.h
PageDirectory.cpp Kernel: Move InterruptDisabler to the Interrupts subdirectory 2023-06-04 21:32:34 +02:00
PageDirectory.h Kernel: Move {Virtual,Physical}Address classes to the Memory directory 2023-06-04 21:32:34 +02:00
PCSpeaker.cpp
PCSpeaker.h
PowerState.cpp Kernel: Simplify reboot & poweroff code flow a bit 2023-06-27 20:04:42 +02:00
Processor.cpp Kernel: Move InterruptDisabler to the Interrupts subdirectory 2023-06-04 21:32:34 +02:00
Processor.h Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
ProcessorInfo.cpp
ProcessorInfo.h Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
RegisterState.h Everywhere: Remove exceptions for using #include <LibC/...> 2023-06-27 12:40:38 +02:00
RTC.cpp Kernel: Use UnixDateTime wherever applicable 2023-05-24 23:18:07 +02:00
RTC.h Kernel: Use UnixDateTime wherever applicable 2023-05-24 23:18:07 +02:00
SafeMem.cpp
Shutdown.cpp
Shutdown.h
SIMDState.h
SmapDisabler.cpp
SyscallEntry.cpp Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
ThreadRegisters.h
TrapFrame.cpp Kernel: Move InterruptDisabler to the Interrupts subdirectory 2023-06-04 21:32:34 +02:00
TrapFrame.h
TSS.h