diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-11-09 00:34:17 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-11-09 00:34:17 +0800 |
| commit | 3ef6001ab0e719c18cfd369ecd0df108a9520991 (patch) | |
| tree | 301e0670280da0eb295d3670aa24155924e90d42 /mubios/arch/irq.S | |
| parent | c6ab70ee3c9dea7c341b13a3363c758b9623f468 (diff) | |
| download | rcc-project-3ef6001ab0e719c18cfd369ecd0df108a9520991.tar.gz rcc-project-3ef6001ab0e719c18cfd369ecd0df108a9520991.tar.xz | |
[mubios] Handle IRQ7 and mask unused IOAPIC inputs
Diffstat (limited to 'mubios/arch/irq.S')
| -rw-r--r-- | mubios/arch/irq.S | 13 |
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 |
