mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[HALx86]
- Fix the fix (do not truncate ULONGLONG value) svn path=/trunk/; revision=54472
This commit is contained in:
parent
f02069cdbe
commit
2ffaaef5e6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue