summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2023-11-26 18:25:41 -0600
committerDanny Holman <dholman@gymli.org>2023-11-26 18:25:41 -0600
commitc70b4150732b6077419648bb460510a40183e2a8 (patch)
treeb58f7affe086536d83557108dcf2262265eb817d
parent9b238d10e3647369c9193dd33cb76a8ec18834a0 (diff)
arch: i386: idt.c: remove the irq number from handler
Remove the irq number from the irq handler. This information is already stored in the ISR frame structure. Signed-off-by: Danny Holman <dholman@gymli.org>
-rw-r--r--arch/i386/boot/idt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/i386/boot/idt.c b/arch/i386/boot/idt.c
index d4251eb..99fc532 100644
--- a/arch/i386/boot/idt.c
+++ b/arch/i386/boot/idt.c
@@ -60,7 +60,8 @@ void exception_handler(struct isr_frame *frame) {
}
}
-void irq_dispatch(uint8_t irq, struct isr_frame *frame) {
+void irq_dispatch(struct isr_frame *frame) {
+ pic_eoi(frame->vector-32);
return;
}