Use IA32_APIC_BASE MSR to get LAPIC address instead of the MADT

This commit is contained in:
Vlad-Robert Baciu
2025-01-11 18:46:27 +02:00
parent 6245a3d19f
commit 6df7c4ebd5
2 changed files with 3 additions and 6 deletions
+1
View File
@@ -3,6 +3,7 @@
#include <stdint.h>
#define MSR_IA32APICBASE 0x1B
#define MSR_EFER 0xC0000080
#define MSR_STAR 0xC0000081
#define MSR_LSTAR 0xC0000082