Redirect IRQs to BSP

This commit is contained in:
Alex 2023-02-25 03:59:56 +02:00
parent 4b45313369
commit 744895afd6
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -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
{