Kernel: Send EOI after handling the interrupt

There is no need to send it prior to handling. This required us to not
yield from HPET/PIT irq so that the EOI actually gets sent
This commit is contained in:
2026-07-20 10:43:50 +03:00
parent a3b7a758eb
commit 0d390e2246
3 changed files with 24 additions and 12 deletions
+3 -1
View File
@@ -58,7 +58,7 @@ namespace Kernel
BAN::ErrorOr<void> initialize();
void reschedule(YieldRegisters*);
void reschedule_if_idle();
void reschedule_if_needed();
void on_timer_interrupt();
void on_yield(YieldRegisters*);
@@ -118,6 +118,8 @@ namespace Kernel
bool m_should_calculate_max_load_threads { true };
bool m_has_pending_reschedule { false };
Thread* m_idle_thread { nullptr };
friend class ThreadBlocker;