[ros-diffs] [cgutman] 47098: [NTOSKRNL] - Fix a typo that results in ISRs being called at an unsafe IRQL (Interrupt->Irql instead of Interrupt->SynchronizeIrql) in certain situations (when Interrupt->Irql < Interrupt->SynchronizeIrql) that can result in ISR synchronization issues

cgutman at svn.reactos.org cgutman at svn.reactos.org
Tue May 4 00:03:17 CEST 2010


Author: cgutman
Date: Tue May  4 00:03:15 2010
New Revision: 47098

URL: http://svn.reactos.org/svn/reactos?rev=47098&view=rev
Log:
[NTOSKRNL]
- Fix a typo that results in ISRs being called at an unsafe IRQL (Interrupt->Irql instead of Interrupt->SynchronizeIrql) in certain situations (when Interrupt->Irql < Interrupt->SynchronizeIrql) that can result in ISR synchronization issues

Modified:
    trunk/reactos/ntoskrnl/ke/i386/irqobj.c

Modified: trunk/reactos/ntoskrnl/ke/i386/irqobj.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/irqobj.c?rev=47098&r1=47097&r2=47098&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/irqobj.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/i386/irqobj.c [iso-8859-1] Tue May  4 00:03:15 2010
@@ -251,7 +251,7 @@
             if (Interrupt->SynchronizeIrql > Interrupt->Irql)
             {
                 /* Raise to higher IRQL */
-                OldIrql = KfRaiseIrql(Interrupt->Irql);
+                OldIrql = KfRaiseIrql(Interrupt->SynchronizeIrql);
             }
         
             /* Acquire interrupt lock */




More information about the Ros-diffs mailing list