summaryrefslogtreecommitdiff
path: root/sys/include/arch/amd64
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-07-29 19:40:14 -0400
committerIan Moffett <ian@osmora.org>2024-07-29 19:40:40 -0400
commita999c41c98e9c11b8ecd74e265c4d1142669b1de (patch)
tree4469c70f277646bd2edec88e4cc486a414996107 /sys/include/arch/amd64
parentf312ec0097a1f518e9585c5756443752c457d60e (diff)
kernel/amd64: msr: Add IA32_GS_BASE MSR define
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/arch/amd64')
-rw-r--r--sys/include/arch/amd64/msr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/arch/amd64/msr.h b/sys/include/arch/amd64/msr.h
index fe5814b..365317c 100644
--- a/sys/include/arch/amd64/msr.h
+++ b/sys/include/arch/amd64/msr.h
@@ -32,6 +32,7 @@
#define IA32_SPEC_CTL 0x00000048
#define IA32_KERNEL_GS_BASE 0xC0000102
+#define IA32_GS_BASE 0xC0000101
#define IA32_FS_BASE 0xC0000100
#define IA32_APIC_BASE_MSR 0x0000001B