Unify IO APIC address specification

Some places still hardcoded the address instead of using IO_APIC_ADDR.

Change-Id: I3941c1ff62972ce56a5bc466eab7134f901773d3
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/677
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Patrick Georgi
2012-02-16 18:54:37 +01:00
committed by Stefan Reinauer
parent 5c1ff9284a
commit 2c2e78d845
11 changed files with 24 additions and 20 deletions

View File

@@ -23,6 +23,7 @@
#define IO_APIC_ADDR 0xfec00000
#define IO_APIC_INTERRUPTS 24
#ifndef __ACPI__
#define ALL (0xff << 24)
#define NONE (0)
#define DISABLED (1 << 16)
@@ -38,7 +39,6 @@
#define SMI (2 << 8)
#define INT (1 << 8)
#ifndef __ACPI__
void setup_ioapic(u32 ioapic_base, u8 ioapic_id);
void clear_ioapic(u32 ioapic_base);
#endif