From 6ed636b8efe4d50ab013cf337ad634513eddbb6d Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 18 Nov 2025 01:02:27 -0500 Subject: kern/amd64: Do low-level processor configuration This commit seperates low-level processor configuration into the cpu_loinit() function. This is to be called for the BSP and per AP. Signed-off-by: Ian Moffett --- sys/inc/arch/amd64/msr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/inc') diff --git a/sys/inc/arch/amd64/msr.h b/sys/inc/arch/amd64/msr.h index f71103b..f962d21 100644 --- a/sys/inc/arch/amd64/msr.h +++ b/sys/inc/arch/amd64/msr.h @@ -42,6 +42,7 @@ #define IA32_MTRR_PHYSBASE 0x00000200 #define IA32_MTRR_PHYSMASK 0x00000201 #define IA32_KERNEL_GS_BASE 0xC0000102 +#define IA32_EFER 0xC0000080 #if !defined(__ASSEMBLER__) __always_inline static inline uint64_t -- cgit v1.2.3