summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2012-02-16 18:54:37 +0100
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-04-12 00:06:11 +0200
commit2c2e78d845cd28eb3b11c87fa3feafaf836cda7a (patch)
tree8eac7f9467d2c13860ae1d23152c9443367b4b85 /src/arch
parent5c1ff9284a7ac382a9ec702fa52f3a173279d566 (diff)
downloadcoreboot-2c2e78d845cd28eb3b11c87fa3feafaf836cda7a.tar.xz
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>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/include/arch/ioapic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/include/arch/ioapic.h b/src/arch/x86/include/arch/ioapic.h
index 5d7e19649e..01fd753bfc 100644
--- a/src/arch/x86/include/arch/ioapic.h
+++ b/src/arch/x86/include/arch/ioapic.h
@@ -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