Author: jgardou
Date: Mon Nov 21 12:30:01 2011
New Revision: 54472
URL:
http://svn.reactos.org/svn/reactos?rev=54472&view=rev
Log:
[HALx86]
- Fix the fix (do not truncate ULONGLONG value)
Modified:
trunk/reactos/hal/halx86/generic/memory.c
Modified: trunk/reactos/hal/halx86/generic/memory.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/generic/memory.…
==============================================================================
--- trunk/reactos/hal/halx86/generic/memory.c [iso-8859-1] (original)
+++ trunk/reactos/hal/halx86/generic/memory.c [iso-8859-1] Mon Nov 21 12:30:01 2011
@@ -190,7 +190,7 @@
{
/* 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;