1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 09:18:11 +00:00
serenity/Kernel/Arch/x86/i386
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
InterruptEntry.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