mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-09 06:19:19 +00:00
Put CPU namespaces in separate files to make cpu.hpp smaller
This commit is contained in:
@ -730,7 +730,7 @@ namespace CrashHandler
|
||||
for (int i = 1; i < SMP::CPUCores; i++)
|
||||
{
|
||||
APIC::InterruptCommandRegisterLow icr;
|
||||
icr.Vector = CPU::x64::IRQ29;
|
||||
icr.Vector = CPU::x86::IRQ29;
|
||||
icr.Level = APIC::APICLevel::Assert;
|
||||
((APIC::APIC *)Interrupts::apic[0])->IPI(i, icr);
|
||||
__sync;
|
||||
@ -748,7 +748,7 @@ namespace CrashHandler
|
||||
SBIdx = 255;
|
||||
CHArchTrapFrame *Frame = (CHArchTrapFrame *)Data;
|
||||
#if defined(__amd64__)
|
||||
if (Frame->InterruptNumber == CPU::x64::IRQ29)
|
||||
if (Frame->InterruptNumber == CPU::x86::IRQ29)
|
||||
CPU::Stop();
|
||||
|
||||
error("An exception occurred!");
|
||||
|
Reference in New Issue
Block a user