aboutsummaryrefslogtreecommitdiff
path: root/mubios/arch/irq.S
diff options
context:
space:
mode:
Diffstat (limited to 'mubios/arch/irq.S')
-rw-r--r--mubios/arch/irq.S13
1 files changed, 13 insertions, 0 deletions
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