mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-08-26 05:25:02 +00:00
Redirect IRQs to BSP
This commit is contained in:
@@ -73,7 +73,8 @@ namespace Interrupts
|
|||||||
{
|
{
|
||||||
// TODO: This function is called by SMP too. Do not initialize timers that doesn't support multiple cores.
|
// 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[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
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user