1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:38:11 +00:00
serenity/Kernel/Arch/x86
Brian Gianforcaro 1cffecbe8d Kernel: Push ARCH specific ifdef's down into RegisterState functions
The non CPU specific code of the kernel shouldn't need to deal with
architecture specific registers, and should instead deal with an
abstract view of the machine. This allows us to remove a variety of
architecture specific ifdefs and helps keep the code slightly more
portable.

We do this by exposing the abstract representation of instruction
pointer, stack pointer, base pointer, return register, etc on the
RegisterState struct.
2021-07-19 08:46:55 +02:00
..
common Kernel: Push ARCH specific ifdef's down into RegisterState functions 2021-07-19 08:46:55 +02:00
i386 Kernel: Introduce basic pre-kernel environment 2021-07-18 17:31:13 +02:00
x86_64 Kernel: Introduce basic pre-kernel environment 2021-07-18 17:31:13 +02:00
ASM_wrapper.h Kernel: Fix {read,write}_gs_ptr() for 64-bit addresses 2021-07-18 17:31:13 +02:00
CPU.h Kernel: Make PAGE_MASK architecture independent 2021-07-17 01:12:15 +02:00
CPUID.h Kernel: Add support for hypervisor CPUID feature 2021-07-14 13:52:34 +02:00
DescriptorTable.h Kernel: Fix GDT and segment selectors to make userland work on x86_64 2021-06-28 22:29:28 +02:00
InterruptDisabler.h Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00
Interrupts.h Kernel: Don't byteswap the ISR number on interrupt entry 2021-07-01 23:36:17 +02:00
ISRStubs.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MSR.h Kernel: Hide the implementation detail that MSRs use two registers 2021-07-04 01:07:28 +02:00
PageDirectory.h Kernel: Add support for kernel addresses other than 3-4GB 2021-07-18 17:31:13 +02:00
PageFault.h Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00
Processor.h Kernel: Fix {read,write}_gs_ptr() for 64-bit addresses 2021-07-18 17:31:13 +02:00
ProcessorInfo.h Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00
RegisterState.h Kernel: Push ARCH specific ifdef's down into RegisterState functions 2021-07-19 08:46:55 +02:00
SafeMem.h Kernel: Implement safe_* memory access functions for x86_64 2021-06-27 15:46:42 +02:00
ScopedCritical.h Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00
SmapDisabler.h Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00
TrapFrame.h Kernel: Fix building the kernel with LTO 2021-07-02 17:51:26 +02:00
TSS.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00