mirror of
https://github.com/reactos/reactos.git
synced 2026-06-16 02:15:26 +08:00
[HALx86]
- Fix the fix (do not truncate ULONGLONG value) svn path=/trunk/; revision=54472
This commit is contained in:
@@ -190,7 +190,7 @@ HalpMapPhysicalMemory64(IN PHYSICAL_ADDRESS PhysicalAddress,
|
||||
{
|
||||
/* Fill out the PTE */
|
||||
PointerPte = HalAddressToPte(BaseAddress);
|
||||
PointerPte->PageFrameNumber = (ULONG_PTR)PhysicalAddress.QuadPart >> PAGE_SHIFT;
|
||||
PointerPte->PageFrameNumber = (PFN_NUMBER)(PhysicalAddress.QuadPart >> PAGE_SHIFT);
|
||||
PointerPte->Valid = 1;
|
||||
PointerPte->Write = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user