From 9f38dc590031e32c4849172a40a4c5d33727bd2f Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Wed, 23 Aug 2006 00:51:08 +0000 Subject: [PATCH] - Deliver APCs through a proper interrupt gate as well. svn path=/trunk/; revision=23658 --- reactos/hal/halx86/generic/irql.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/hal/halx86/generic/irql.c b/reactos/hal/halx86/generic/irql.c index e820efa0dc1..de5e3e54dae 100644 --- a/reactos/hal/halx86/generic/irql.c +++ b/reactos/hal/halx86/generic/irql.c @@ -24,6 +24,7 @@ UCHAR Table[8] = }; VOID HalpDispatchInterrupt(VOID); +VOID HalpApcInterrupt(VOID); /* FUNCTIONS ****************************************************************/ @@ -69,8 +70,7 @@ HalpLowerIrql(KIRQL NewIrql) { if (Table[KeGetPcr()->IRR] == APC_LEVEL) { - KeGetPcr()->IRR &= ~2; - KiDeliverApc(KernelMode, NULL, NULL); + HalpApcInterrupt(); } } KeGetPcr()->Irql = PASSIVE_LEVEL;