summaryrefslogtreecommitdiff
path: root/src/arch/x86/include
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-01-31 17:24:12 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-02-27 00:27:45 +0100
commitdb4f875a412e6c41f48a86a79b72465f6cd81635 (patch)
treedaffc44d8ba4aabaed2a72b27912ed61c614c5db /src/arch/x86/include
parente614353194c712a40aa8444a530b2062876eabe3 (diff)
downloadcoreboot-db4f875a412e6c41f48a86a79b72465f6cd81635.tar.xz
IOAPIC: Divide setup_ioapic() in two parts.
Currently some southbridge codes implement the set_ioapic_id() part locally and do not implement the load_vectors() part at all. This change allows clean-up of those southbridges without introducing changed behaviour. Change-Id: Ic5e860b9b669ecd1e9ddac4bbb92d80bdb9c2fca Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/300 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r--src/arch/x86/include/arch/ioapic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/x86/include/arch/ioapic.h b/src/arch/x86/include/arch/ioapic.h
index 01fd753bfc..b989e527b8 100644
--- a/src/arch/x86/include/arch/ioapic.h
+++ b/src/arch/x86/include/arch/ioapic.h
@@ -39,6 +39,7 @@
#define SMI (2 << 8)
#define INT (1 << 8)
+void set_ioapic_id(u32 ioapic_base, u8 ioapic_id);
void setup_ioapic(u32 ioapic_base, u8 ioapic_id);
void clear_ioapic(u32 ioapic_base);
#endif