[HAL/APIC] Set the profiling interrupt handler

Fixes hang when running mtdll_apitest NtStartProfile.
This commit is contained in:
Timo Kreuzer 2025-03-27 19:14:52 +02:00
parent dca5194279
commit 0679260073

View file

@ -58,6 +58,14 @@ HalpInitPhase0(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
CLOCK2_LEVEL,
HalpClockInterrupt,
Latched);
/* Enable profile interrupt handler */
HalpEnableInterruptHandler(IDT_DEVICE,
0,
APIC_PROFILE_VECTOR,
PROFILE_LEVEL,
HalpProfileInterrupt,
Latched);
}
VOID