From 744895afd6a20364a44d48ef99dc588ab09d92ad Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 25 Feb 2023 03:59:56 +0200 Subject: [PATCH] Redirect IRQs to BSP --- Core/Interrupts/IntManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/Interrupts/IntManager.cpp b/Core/Interrupts/IntManager.cpp index c99fa89..e0a57d9 100644 --- a/Core/Interrupts/IntManager.cpp +++ b/Core/Interrupts/IntManager.cpp @@ -73,7 +73,8 @@ namespace Interrupts { // TODO: This function is called by SMP too. Do not initialize timers that doesn't support multiple cores. apic[Core] = new APIC::APIC(Core); - ((APIC::APIC *)apic[Core])->RedirectIRQs(Core); + if (Core == 0) // Redirect IRQs to the BSP + ((APIC::APIC *)apic[Core])->RedirectIRQs(Core); } else {