svn path=/trunk/; revision=18739
MmReleasePageMemoryConsumer(MC_USER, Page);
}
MmReleasePageMemoryConsumer(MC_USER, Page);
}
- DPRINT("PhysicalAddress %I64x, Address %x\n", Page, Address);
+ DPRINT("PhysicalAddress %x, Address %x\n", Page << PAGE_SHIFT, Address);
}
Info->BaseAddress = RegionBaseAddress;
Info->AllocationProtect = MemoryArea->Attributes;
}
Info->BaseAddress = RegionBaseAddress;
Info->AllocationProtect = MemoryArea->Attributes;
- Info->RegionSize = PAGE_ROUND_UP((ULONG_PTR)MemoryArea->EndingAddress -
- (ULONG_PTR)MemoryArea->StartingAddress);
+ Info->RegionSize = Region->Length;
Info->State = MEM_COMMIT;
Info->Protect = Region->Protect;
Info->State = MEM_COMMIT;
Info->Protect = Region->Protect;