[HAL] Remove KiEoiHelper hack

This commit is contained in:
Timo Kreuzer 2024-12-05 16:51:26 +02:00
parent 67231bd69a
commit 1f647e4479
2 changed files with 6 additions and 1 deletions

View file

@ -156,7 +156,10 @@ HalpClockInterruptHandler(IN PKTRAP_FRAME TrapFrame)
if (!HalBeginSystemInterrupt(CLOCK_LEVEL, APIC_CLOCK_VECTOR, &Irql))
{
/* Spurious, just end the interrupt */
#ifdef _M_IX86
KiEoiHelper(TrapFrame);
#endif
return;
}
/* Read register C, so that the next interrupt can happen */
@ -207,7 +210,10 @@ HalpClockIpiHandler(IN PKTRAP_FRAME TrapFrame)
if (!HalBeginSystemInterrupt(CLOCK_LEVEL, CLOCK_IPI_VECTOR, &Irql))
{
/* Spurious, just end the interrupt */
#ifdef _M_IX86
KiEoiHelper(TrapFrame);
#endif
return;
}
/* Call the kernel to update runtimes */

View file

@ -586,7 +586,6 @@ HalInitializeBios(
#ifdef _M_AMD64
#define KfLowerIrql KeLowerIrql
#define KiEnterInterruptTrap(TrapFrame) /* We do all neccessary in asm code */
#define KiEoiHelper(TrapFrame) return /* Just return to the caller */
#define HalBeginSystemInterrupt(Irql, Vector, OldIrql) ((*(OldIrql) = PASSIVE_LEVEL), TRUE)
#endif // _M_AMD64