Author: tfaber
Date: Sat Nov 12 14:49:14 2011
New Revision: 54363

URL: http://svn.reactos.org/svn/reactos?rev=54363&view=rev
Log:
[KMTESTS/KE]
- Do not check IRQLs above HIGH_LEVEL. That's not very useful anyway. Fixes 
hang in kmtest:KeIrql.

Modified:
    trunk/rostests/kmtests/ntos_ke/KeIrql.c

Modified: trunk/rostests/kmtests/ntos_ke/KeIrql.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/rostests/kmtests/ntos_ke/KeIrql.c?rev=54363&r1=54362&r2=54363&view=diff
==============================================================================
--- trunk/rostests/kmtests/ntos_ke/KeIrql.c [iso-8859-1] (original)
+++ trunk/rostests/kmtests/ntos_ke/KeIrql.c [iso-8859-1] Sat Nov 12 14:49:14 
2011
@@ -92,21 +92,6 @@
             --Irql;
     }
 
-    DPRINT("Alive!\n");
-    /* on x86, you can raise to _any_ possible KIRQL value */
-    /* on x64, anything with more than the least significant 4 bits set 
bugchecked, last time I tried */
-    /* TODO: other platforms? */
-#if defined _M_IX86
-    for (Irql = PASSIVE_LEVEL; Irql <= (KIRQL)-1; ++Irql)
-    {
-        DPRINT("Raising to %u\n", Irql);
-        KeRaiseIrql(Irql, &Irql2);
-        ok_eq_uint(Irql2, PrevIrql);
-        KeLowerIrql(Irql2);
-        ok_irql(PrevIrql);
-    }
-#endif /* defined _M_IX86 */
-
     /* test KeRaiseIrqlToDpcLevel */
     ok_irql(PASSIVE_LEVEL);
     Irql = KeRaiseIrqlToDpcLevel();


Reply via email to