- Fix the fix (do not truncate ULONGLONG value)

svn path=/trunk/; revision=54472
This commit is contained in:
Jérôme Gardou 2011-11-21 12:30:01 +00:00
parent f02069cdbe
commit 2ffaaef5e6

View file

@ -190,7 +190,7 @@ HalpMapPhysicalMemory64(IN PHYSICAL_ADDRESS PhysicalAddress,
{ {
/* Fill out the PTE */ /* Fill out the PTE */
PointerPte = HalAddressToPte(BaseAddress); PointerPte = HalAddressToPte(BaseAddress);
PointerPte->PageFrameNumber = (ULONG_PTR)PhysicalAddress.QuadPart >> PAGE_SHIFT; PointerPte->PageFrameNumber = (PFN_NUMBER)(PhysicalAddress.QuadPart >> PAGE_SHIFT);
PointerPte->Valid = 1; PointerPte->Valid = 1;
PointerPte->Write = 1; PointerPte->Write = 1;