diff options
author | dzwdz | 2022-03-27 14:47:50 +0200 |
---|---|---|
committer | dzwdz | 2022-03-27 14:47:50 +0200 |
commit | 45283c43460900d080478973c873339b5db3013e (patch) | |
tree | cde5d7afdf54fa57b07c8aa5f2a61cc663261445 /src/kernel/arch/i386/interrupts/isr.c | |
parent | cc16c5d9847da67b3ff369c13712fcae4bebe2ae (diff) |
kernel/tty: poll only on IRQs, don't burn cycles
Diffstat (limited to 'src/kernel/arch/i386/interrupts/isr.c')
-rw-r--r-- | src/kernel/arch/i386/interrupts/isr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kernel/arch/i386/interrupts/isr.c b/src/kernel/arch/i386/interrupts/isr.c index 1448f44..cc90fae 100644 --- a/src/kernel/arch/i386/interrupts/isr.c +++ b/src/kernel/arch/i386/interrupts/isr.c @@ -24,6 +24,10 @@ void isr_stage3(int interrupt) { irq_eoi(1); return; + case 0x24:; // COM1 irq + irq_eoi(1); + return; + default: // TODO check if the exception was in the kernel process_kill(process_current, interrupt); |