summaryrefslogtreecommitdiff
path: root/Kernel/Arch/x86/ProcessorInfo.h
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-07-02 14:02:36 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-02 23:33:17 +0200
commit52f9aaa823322eedbd30bd37d40fe0f8a50ed6db (patch)
tree4dd0376543d71684512dcf60bfba09f7250df4fc /Kernel/Arch/x86/ProcessorInfo.h
parent42d197cde74f1c6ab70164beb4f1963a127b416b (diff)
downloadserenity-52f9aaa823322eedbd30bd37d40fe0f8a50ed6db.zip
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.
Diffstat (limited to 'Kernel/Arch/x86/ProcessorInfo.h')
0 files changed, 0 insertions, 0 deletions