From 2c2e78d845cd28eb3b11c87fa3feafaf836cda7a Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 16 Feb 2012 18:54:37 +0100 Subject: 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 Reviewed-on: http://review.coreboot.org/677 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/arch/x86/include/arch/ioapic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch') 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 -- cgit v1.2.3