summaryrefslogtreecommitdiff
path: root/src/arch/x86/ioapic.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-06-08 06:23:39 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2022-11-10 19:21:44 +0000
commit1d3c2e65724ed92eeef723c1acdc86ba91cbd682 (patch)
tree00fed3e5db21e07af3619848181501ed734c63f7 /src/arch/x86/ioapic.c
parent71c6487cf192d15cbae636e67d3848930b4d4073 (diff)
arch/x86/ioapic: Reduce API exposure
Change-Id: I6ff18e5ede0feda65f81c064394febd3eebc5247 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55316 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/arch/x86/ioapic.c')
-rw-r--r--src/arch/x86/ioapic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/x86/ioapic.c b/src/arch/x86/ioapic.c
index 1440bb4331..28bbcb14f2 100644
--- a/src/arch/x86/ioapic.c
+++ b/src/arch/x86/ioapic.c
@@ -6,13 +6,13 @@
#include <console/console.h>
#include <cpu/x86/lapic.h>
-u32 io_apic_read(void *ioapic_base, u32 reg)
+static u32 io_apic_read(void *ioapic_base, u32 reg)
{
write32(ioapic_base, reg);
return read32(ioapic_base + 0x10);
}
-void io_apic_write(void *ioapic_base, u32 reg, u32 value)
+static void io_apic_write(void *ioapic_base, u32 reg, u32 value)
{
write32(ioapic_base, reg);
write32(ioapic_base + 0x10, value);
@@ -108,7 +108,7 @@ static void route_i8259_irq0(void *ioapic_base)
}
}
-void set_ioapic_id(void *ioapic_base, u8 ioapic_id)
+static void set_ioapic_id(void *ioapic_base, u8 ioapic_id)
{
int i;