mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 09:18:11 +00:00
![]() 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. |
||
---|---|---|
.. | ||
Boot | ||
ASM_wrapper.cpp | ||
InterruptEntry.cpp | ||
Processor.cpp |