From 3ef6001ab0e719c18cfd369ecd0df108a9520991 Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Mon, 9 Nov 2026 00:34:17 +0800 Subject: [mubios] Handle IRQ7 and mask unused IOAPIC inputs --- mubios/arch/irq.S | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'mubios/arch/irq.S') diff --git a/mubios/arch/irq.S b/mubios/arch/irq.S index 4e3b4e2..0c192ff 100644 --- a/mubios/arch/irq.S +++ b/mubios/arch/irq.S @@ -116,3 +116,16 @@ irq1_send_eoi: pop bx pop ax iret + + .global irq7_entry + .type irq7_entry, @function + +irq7_entry: + push ax + + # Acknowledge IRQ7 on the master PIC. + mov al, 0x20 + out 0x20, al + + pop ax + iret -- cgit v1.2.3