cpu/x86/lapic: Replace LOCAL_APIC_ADDR references
Note that there are assumptions about LAPIC MMIO location in both AMD and Intel sources in coreboot proper. Change-Id: I2c668f5f9b93d170351c00d77d003c230900e0b4 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55194 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
a96be277e1
commit
dea42e011a
21 changed files with 29 additions and 30 deletions
|
|
@ -9,12 +9,7 @@
|
|||
(LAPIC_BASE_MSR_X2APIC_MODE | LAPIC_BASE_MSR_ENABLE)
|
||||
#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_DEFAULT_BASE 0xfee00000
|
||||
|
||||
#define LAPIC_ID 0x020
|
||||
#define LAPIC_LVR 0x030
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue