Fix a bug in MiAllocatePagesForMdl that made it loop forever on the 1st page.

svn path=/trunk/; revision=44378
This commit is contained in:
Timo Kreuzer 2009-12-03 17:02:34 +00:00
parent b9e2cd6419
commit 072306f953

View file

@ -594,7 +594,7 @@ MiAllocatePagesForMdl(IN PHYSICAL_ADDRESS LowAddress,
//
// Check if we've reached the end
//
Page = *MdlPage;
Page = *MdlPage++;
if (Page == (PFN_NUMBER)-1) break;
//