- Clear DPC request when delivering DPCs from the idle loop
authorAleksey Bragin <aleksey@reactos.org>
Wed, 21 Mar 2007 21:28:58 +0000 (21:28 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Wed, 21 Mar 2007 21:28:58 +0000 (21:28 +0000)
(by Alex Ionescu).

svn path=/trunk/; revision=26152

reactos/ntoskrnl/ke/i386/ctxswitch.S

index 0507eda..f46255b 100644 (file)
@@ -679,6 +679,9 @@ MainLoop:
 #endif
     jz CheckSchedule
 
+    mov cl, DISPATCH_LEVEL
+    call @HalClearSoftwareInterrupt@4
+    
     /* Handle the above */
     lea ecx, [ebx+KPCR_PRCB_DATA]
     call @KiRetireDpcList@4