mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-30 00:08:03 +00:00
Redirect IRQs to BSP
This commit is contained in:
parent
4b45313369
commit
744895afd6
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user