From 713c8b06e723cc3c0e544ed359f28a45f9f1759e Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Tue, 10 Mar 2026 12:53:00 +0100 Subject: added an EOI (end of interrupt) signal to the timer_interrupt_handler in src/interrupts.rs to send an EOI messgage to the cpu to allow for another hardware interrupt to proceed and not hog up the CPU --- StrixKernel/src/interrupts.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/StrixKernel/src/interrupts.rs b/StrixKernel/src/interrupts.rs index 2cc01b5..02d39f0 100644 --- a/StrixKernel/src/interrupts.rs +++ b/StrixKernel/src/interrupts.rs @@ -73,6 +73,11 @@ extern "x86-interrupt" fn timer_interrupt_handler( _stack_frame: InterruptStackFrame) { print!("."); + + unsafe { + PICS.lock() + .notify_end_of_interrupt(InterruptIndex::Timer.as_u8()); + } } -- cgit v1.2.3