From 81a58004d51547d074b4218f906b0b95f2b2c5dc Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 4 Aug 2022 15:58:54 +0200 Subject: syscalls: add _syscall_sleep() --- src/kernel/arch/amd64/interrupts/isr.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/kernel/arch/amd64/interrupts/isr.c') diff --git a/src/kernel/arch/amd64/interrupts/isr.c b/src/kernel/arch/amd64/interrupts/isr.c index 71da27b..0bfd865 100644 --- a/src/kernel/arch/amd64/interrupts/isr.c +++ b/src/kernel/arch/amd64/interrupts/isr.c @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include @@ -28,6 +29,11 @@ void isr_stage3(int interrupt, uint64_t *stackframe) { isr_test_interrupt_called = true; return; + case IRQ_IBASE + IRQ_PIT: + pit_irq(); + irq_eoi(IRQ_PIT); + return; + case IRQ_IBASE + IRQ_PS2: ps2_irq(); irq_eoi(IRQ_PS2); -- cgit v1.2.3