diff options
author | dzwdz | 2022-04-10 16:17:57 +0200 |
---|---|---|
committer | dzwdz | 2022-04-10 16:17:57 +0200 |
commit | ec7c6eff3c10565a57ba2b2c14b3f224d9216b76 (patch) | |
tree | 2c61068f72f40403b16863776eb0bd9eacaf1198 /src/kernel/arch/i386/interrupts/isr.c | |
parent | 1677ac032bb89f87456ac5668118f0091ae5ed9f (diff) |
kernel/i386: rewrite the serial driver to wait for IRQ
proper multiprocess support!
Diffstat (limited to 'src/kernel/arch/i386/interrupts/isr.c')
-rw-r--r-- | src/kernel/arch/i386/interrupts/isr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/arch/i386/interrupts/isr.c b/src/kernel/arch/i386/interrupts/isr.c index e3bb6d6..5bba43d 100644 --- a/src/kernel/arch/i386/interrupts/isr.c +++ b/src/kernel/arch/i386/interrupts/isr.c @@ -1,4 +1,5 @@ #include <kernel/arch/i386/driver/ps2.h> +#include <kernel/arch/i386/driver/serial.h> #include <kernel/arch/i386/interrupts/irq.h> #include <kernel/arch/i386/interrupts/isr.h> #include <kernel/arch/i386/port_io.h> @@ -25,6 +26,7 @@ void isr_stage3(int interrupt) { return; case 0x24: // COM1 irq + serial_irq(); irq_eoi(1); return; |