diff options
Diffstat (limited to 'src/include/cpu')
-rw-r--r-- | src/include/cpu/x86/lapic_def.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/cpu/x86/lapic_def.h b/src/include/cpu/x86/lapic_def.h index f96b53b42a..2b1ca5a13f 100644 --- a/src/include/cpu/x86/lapic_def.h +++ b/src/include/cpu/x86/lapic_def.h @@ -6,8 +6,12 @@ #define LAPIC_BASE_MSR_ENABLE (1 << 11) #define LAPIC_BASE_MSR_ADDR_MASK 0xFFFFF000 +#ifndef LOCAL_APIC_ADDR #define LOCAL_APIC_ADDR 0xfee00000 +#endif +#ifndef LAPIC_DEFAULT_BASE #define LAPIC_DEFAULT_BASE LOCAL_APIC_ADDR +#endif #define LAPIC_ID 0x020 #define LAPIC_LVR 0x030 |