ladybird/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 Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
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 Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
ASM_wrapper.cpp Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
ASM_wrapper.h Kernel: Unify x86-64 assembly snippets naming for RDSEED & RDRAND 2023-01-25 23:17:36 +01:00
BochsDebugOutput.h Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
CMOS.cpp Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
CMOS.h Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
CPU.cpp Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
CPU.h Everywhere: Remove unused includes of AK/Concepts.h 2023-01-02 20:27:20 -05:00
CPUID.cpp Kernel: Use a descriptive name for x86-64 cpu_feature_to_string_view 2023-01-18 22:58:42 +01:00
CPUID.h Kernel: Use a descriptive name for x86-64 cpu_feature_to_string_view 2023-01-18 22:58:42 +01:00
CurrentTime.cpp Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
DebugOutput.cpp Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
Delay.cpp Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
DescriptorTable.h Kernel: Move {Virtual,Physical}Address classes to the Memory directory 2023-06-04 21:32:34 +02:00
I8042Reboot.cpp Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
I8042Reboot.h Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
InterruptEntry.cpp Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
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 Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
IO.h Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
IRQController.h Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
ISRStubs.h Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
linker.ld Kernel: Remove unused Platform.h include in linker script 2023-06-02 10:27:29 +02:00
mcontext.h Kernel+Userland: Remove uses of the __i386__ compiler macro 2022-12-28 11:53:41 +01:00
MSR.h Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
NonMaskableInterruptDisabler.h Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
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 Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
PCSpeaker.h Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
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 Kernel: Use a descriptive name for x86-64 cpu_feature_to_string_view 2023-01-18 22:58:42 +01:00
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 Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
Shutdown.cpp Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
Shutdown.h Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
SIMDState.h Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
SmapDisabler.cpp Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
SyscallEntry.cpp Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
ThreadRegisters.h Kernel: Add ThreadRegisters::set_exec_state and use it in execve.cpp 2023-01-27 20:47:08 +00:00
TrapFrame.cpp Kernel: Move InterruptDisabler to the Interrupts subdirectory 2023-06-04 21:32:34 +02:00
TrapFrame.h Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
TSS.h Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00