mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 17:10:22 +00:00
[KMTESTS/KE]
- Do not check IRQLs above HIGH_LEVEL. That's not very useful anyway. Fixes hang in kmtest:KeIrql. svn path=/trunk/; revision=54363
This commit is contained in:
parent
c24b5b0586
commit
e661f24f8a
1 changed files with 0 additions and 15 deletions
|
@ -92,21 +92,6 @@ START_TEST(KeIrql)
|
|||
--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();
|
||||
|
|
Loading…
Reference in a new issue