]> xenbits.xensource.com Git - people/andrewcoop/seabios.git/commitdiff
pic: The default hardware interrupt handlers should not take a parameter
authorKevin O'Connor <kevin@koconnor.net>
Fri, 26 Aug 2016 14:52:13 +0000 (10:52 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 26 Aug 2016 14:52:13 +0000 (10:52 -0400)
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>
src/hw/pic.c

index d8b9764c702771eda1c33e2767e275cad9b81ab1..a13564aeb594b6f6205f1ea96a5f0363d3a365a7 100644 (file)
@@ -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();