aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-08-26 10:52:13 -0400
committerKevin O'Connor <kevin@koconnor.net>2016-08-26 10:52:13 -0400
commitf0cdc36d2f2424f6b40438f7ee7cc502c0eff4df (patch)
tree7f7723cb4daffb3173b05bb08b4b155093757ffc
parent7bd1480a3bea4dae25d0bc866eb31a365fc2f77f (diff)
downloadseabios-f0cdc36d2f2424f6b40438f7ee7cc502c0eff4df.tar.gz
seabios-f0cdc36d2f2424f6b40438f7ee7cc502c0eff4df.tar.xz
seabios-f0cdc36d2f2424f6b40438f7ee7cc502c0eff4df.zip
pic: The default hardware interrupt handlers should not take a parameter
Hardware interrupt handlers don't take a parameter. Remove the incorrect (and unused) parameter from handle_hwpic1/2(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--src/hw/pic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hw/pic.c b/src/hw/pic.c
index d8b9764..a13564a 100644
--- a/src/hw/pic.c
+++ b/src/hw/pic.c
@@ -101,14 +101,14 @@ pic_isr2_read(void)
// Handler for otherwise unused hardware irqs.
void VISIBLE16
-handle_hwpic1(struct bregs *regs)
+handle_hwpic1(void)
{
dprintf(DEBUG_ISR_hwpic1, "handle_hwpic1 irq=%x\n", pic_isr1_read());
pic_eoi1();
}
void VISIBLE16
-handle_hwpic2(struct bregs *regs)
+handle_hwpic2(void)
{
dprintf(DEBUG_ISR_hwpic2, "handle_hwpic2 irq=%x\n", pic_isr2_read());
pic_eoi2();