mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 05:12:43 +00:00
- Deliver APCs through a proper interrupt gate as well.
svn path=/trunk/; revision=23658
This commit is contained in:
parent
44804d565e
commit
9f38dc5900
|
@ -24,6 +24,7 @@ UCHAR Table[8] =
|
||||||
};
|
};
|
||||||
|
|
||||||
VOID HalpDispatchInterrupt(VOID);
|
VOID HalpDispatchInterrupt(VOID);
|
||||||
|
VOID HalpApcInterrupt(VOID);
|
||||||
|
|
||||||
/* FUNCTIONS ****************************************************************/
|
/* FUNCTIONS ****************************************************************/
|
||||||
|
|
||||||
|
@ -69,8 +70,7 @@ HalpLowerIrql(KIRQL NewIrql)
|
||||||
{
|
{
|
||||||
if (Table[KeGetPcr()->IRR] == APC_LEVEL)
|
if (Table[KeGetPcr()->IRR] == APC_LEVEL)
|
||||||
{
|
{
|
||||||
KeGetPcr()->IRR &= ~2;
|
HalpApcInterrupt();
|
||||||
KiDeliverApc(KernelMode, NULL, NULL);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
KeGetPcr()->Irql = PASSIVE_LEVEL;
|
KeGetPcr()->Irql = PASSIVE_LEVEL;
|
||||||
|
|
Loading…
Reference in a new issue