Added new kernel param

This commit is contained in:
Alex
2023-03-06 03:33:34 +02:00
parent ac88a1edb7
commit 546efd37d0
3 changed files with 18 additions and 3 deletions

View File

@ -74,7 +74,7 @@ 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);
if (Core == 0) // Redirect IRQs to the BSP
if (Core == Config.IOAPICInterruptCore) // Redirect IRQs to the specified core.
((APIC::APIC *)apic[Core])->RedirectIRQs(Core);
}
else