mirror of
https://github.com/reactos/reactos.git
synced 2025-03-01 03:45:16 +00:00
[HAL] Remove KiEoiHelper hack
This commit is contained in:
parent
67231bd69a
commit
1f647e4479
2 changed files with 6 additions and 1 deletions
|
@ -156,7 +156,10 @@ HalpClockInterruptHandler(IN PKTRAP_FRAME TrapFrame)
|
||||||
if (!HalBeginSystemInterrupt(CLOCK_LEVEL, APIC_CLOCK_VECTOR, &Irql))
|
if (!HalBeginSystemInterrupt(CLOCK_LEVEL, APIC_CLOCK_VECTOR, &Irql))
|
||||||
{
|
{
|
||||||
/* Spurious, just end the interrupt */
|
/* Spurious, just end the interrupt */
|
||||||
|
#ifdef _M_IX86
|
||||||
KiEoiHelper(TrapFrame);
|
KiEoiHelper(TrapFrame);
|
||||||
|
#endif
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Read register C, so that the next interrupt can happen */
|
/* 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))
|
if (!HalBeginSystemInterrupt(CLOCK_LEVEL, CLOCK_IPI_VECTOR, &Irql))
|
||||||
{
|
{
|
||||||
/* Spurious, just end the interrupt */
|
/* Spurious, just end the interrupt */
|
||||||
|
#ifdef _M_IX86
|
||||||
KiEoiHelper(TrapFrame);
|
KiEoiHelper(TrapFrame);
|
||||||
|
#endif
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Call the kernel to update runtimes */
|
/* Call the kernel to update runtimes */
|
||||||
|
|
|
@ -586,7 +586,6 @@ HalInitializeBios(
|
||||||
#ifdef _M_AMD64
|
#ifdef _M_AMD64
|
||||||
#define KfLowerIrql KeLowerIrql
|
#define KfLowerIrql KeLowerIrql
|
||||||
#define KiEnterInterruptTrap(TrapFrame) /* We do all neccessary in asm code */
|
#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)
|
#define HalBeginSystemInterrupt(Irql, Vector, OldIrql) ((*(OldIrql) = PASSIVE_LEVEL), TRUE)
|
||||||
#endif // _M_AMD64
|
#endif // _M_AMD64
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue