Hook up profile interrupt handler

This commit is contained in:
2026-04-08 23:16:03 +02:00
parent f15790e25b
commit 1fa6e90439
4 changed files with 87 additions and 49 deletions

View File

@@ -224,6 +224,7 @@ HL::Pic::InitializeApic(VOID)
/* Register interrupt handlers */
HL::Irq::RegisterInterruptHandler(APIC_VECTOR_SPURIOUS, (PVOID)ArHandleSpuriousInterrupt);
HL::Irq::RegisterSystemInterruptHandler(APIC_VECTOR_PROFILE, HL::Irq::HandleProfileInterrupt);
/* Clear any pre-existing errors */
WriteApicRegister(APIC_ESR, 0);