mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user