HiSetIrql() was leaving interrupts disabled, fixed.
authorPhillip Susi <phreak@iag.net>
Sun, 14 Apr 2002 16:00:27 +0000 (16:00 +0000)
committerPhillip Susi <phreak@iag.net>
Sun, 14 Apr 2002 16:00:27 +0000 (16:00 +0000)
svn path=/trunk/; revision=2845

reactos/hal/halx86/irql.c

index f31d138..868a376 100644 (file)
@@ -148,6 +148,8 @@ static VOID HiSwitchIrql(KIRQL oldIrql)
     */
    if (CurrentIrql == PASSIVE_LEVEL)
      {
+       HiSetCurrentPICMask(0);
+       __asm__("sti");
        if (DpcQueueSize > 0)
         {
           CurrentIrql = DISPATCH_LEVEL;