summaryrefslogtreecommitdiff
path: root/sys/include/arch/amd64/msr.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-05 20:58:51 -0400
committerIan Moffett <ian@osmora.org>2024-06-05 20:58:51 -0400
commitdbfcd0e88e471564392549652d0bde2a967c34f4 (patch)
tree4599273f7e3a36f8733293728e39b11710e6e5b2 /sys/include/arch/amd64/msr.h
parent433d6e282c9f1455fef07333807424f4bd07878e (diff)
kernel/amd64: Add initial LAPIC code
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/arch/amd64/msr.h')
-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 6ad95f1..d3d0c9a 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_APIC_BASE_MSR 0x0000001B
#if !defined(__ASSEMBLER__)
static inline uint64_t