1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-13 16:42:08 +00:00
serenity/Kernel/Arch/x86/common
Gunnar Beutner 52f9aaa823 Kernel: Use the GS segment for the per-CPU struct
Right now we're using the FS segment for our per-CPU struct. On x86_64
there's an instruction to switch between a kernel and usermode GS
segment (swapgs) which we could use.

This patch doesn't update the rest of the code to use swapgs but it
prepares for that by using the GS segment instead of the FS segment.
2021-07-02 23:33:17 +02:00
..
Boot Kernel: Move Multiboot header into a separate file 2021-06-25 15:19:09 +02:00
ASM_wrapper.cpp Kernel: Move special sections into Sections.h 2021-06-24 00:38:23 +02:00
CPU.cpp Kernel: Add stubs for missing x86_64 functionality 2021-06-24 09:27:13 +02:00
Interrupts.cpp Kernel: Use the GS segment for the per-CPU struct 2021-07-02 23:33:17 +02:00
Processor.cpp Kernel: Use the GS segment for the per-CPU struct 2021-07-02 23:33:17 +02:00
ProcessorInfo.cpp Kernel: Add stubs for missing x86_64 functionality 2021-06-24 09:27:13 +02:00
SafeMem.cpp Kernel: Implement safe_* memory access functions for x86_64 2021-06-27 15:46:42 +02:00
TrapFrame.cpp Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00