diff options
| author | Ian Moffett <ian@osmora.org> | 2025-11-18 01:02:27 -0500 |
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2025-11-18 01:12:21 -0500 |
| commit | 6ed636b8efe4d50ab013cf337ad634513eddbb6d (patch) | |
| tree | 11ac37b13d41c4f5ce98c774b610979bd7c523c1 /sys/inc | |
| parent | 635f680d45a58a4248f6dc6c833552836c1abed0 (diff) | |
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 <ian@osmora.org>
Diffstat (limited to 'sys/inc')
| -rw-r--r-- | sys/inc/arch/amd64/msr.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
