Author: ion
Date: Wed Aug 23 04:51:08 2006
New Revision: 23658
URL: 
http://svn.reactos.org/svn/reactos?rev=23658&view=rev
Log:
- Deliver APCs through a proper interrupt gate as well.
Modified:
    trunk/reactos/hal/halx86/generic/irql.c
Modified: trunk/reactos/hal/halx86/generic/irql.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/generic/irql.c?…
==============================================================================
--- trunk/reactos/hal/halx86/generic/irql.c (original)
+++ trunk/reactos/hal/halx86/generic/irql.c Wed Aug 23 04:51:08 2006
@@ -24,6 +24,7 @@
 };
 VOID HalpDispatchInterrupt(VOID);
+VOID HalpApcInterrupt(VOID);
 /* FUNCTIONS ****************************************************************/
@@ -69,8 +70,7 @@
     {
         if (Table[KeGetPcr()->IRR] == APC_LEVEL)
         {
-        KeGetPcr()->IRR &= ~2;
-      KiDeliverApc(KernelMode, NULL, NULL);
+            HalpApcInterrupt();
         }
     }
   KeGetPcr()->Irql = PASSIVE_LEVEL;