mirror of
https://github.com/reactos/reactos.git
synced 2025-07-05 21:31:26 +00:00
[KMTESTS:MM]
Add a test that shows that MDLs issued by Cc for paging IOs are not in the correct state (nor correctly allocated) CORE-13769 svn path=/trunk/; revision=75833
This commit is contained in:
parent
6c0cb314cd
commit
d7718b4d51
1 changed files with 8 additions and 0 deletions
|
@ -381,6 +381,14 @@ TestIrpHandler(
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
PMDL Mdl;
|
||||||
|
|
||||||
|
Mdl = Irp->MdlAddress;
|
||||||
|
ok(Mdl != NULL, "Null pointer for MDL!\n");
|
||||||
|
ok((Mdl->MdlFlags & MDL_PAGES_LOCKED) != 0, "MDL not locked\n");
|
||||||
|
ok((Mdl->MdlFlags & MDL_SOURCE_IS_NONPAGED_POOL) == 0, "MDL from non paged\n");
|
||||||
|
ok((Irp->Flags & IRP_PAGING_IO) != 0, "Non paging IO\n");
|
||||||
|
|
||||||
Status = STATUS_SUCCESS;
|
Status = STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue