[BOOT:MM] Finish MmMdRemoveRegionFromMdlEx()

This commit is contained in:
2024-09-01 16:49:19 -04:00
parent 3aae765c9c
commit 65e33fdad5
2 changed files with 130 additions and 23 deletions

View File

@@ -611,7 +611,7 @@ Return Value:
//
// Remove the current descriptor.
//
Status = MmMdRemoveRegionFromMdlEx(Mdl, NtStartPage, NtPageCount, MDL_OPERATION_FLAGS_PHYSICAL, 0);
Status = MmMdRemoveRegionFromMdlEx(Mdl, NtStartPage, NtPageCount, MDL_OPERATION_FLAGS_PHYSICAL, NULL);
if (!NT_SUCCESS(Status)) {
MmMdFreeDescriptor(NtDescriptor);
goto exit;