Author: fireball
Date: Wed Oct 27 09:58:18 2010
New Revision: 49302
URL:
http://svn.reactos.org/svn/reactos?rev=49302&view=rev
Log:
[NTOS/MM]
- Don't access pfn database directly, there is a function for this. Thanks
sir_richard.
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/virtual.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/virtual.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/virtual.c…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/virtual.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/virtual.c [iso-8859-1] Wed Oct 27 09:58:18 2010
@@ -1075,7 +1075,7 @@
if (!TempPte.u.Hard.Valid) return MmProtectToValue[TempPte.u.Soft.Protection];
/* If we get here, the PTE is valid, so look up the page in PFN database */
- Pfn = &MmPfnDatabase[TempPte.u.Hard.PageFrameNumber];
+ Pfn = MiGetPfnEntry(TempPte.u.Hard.PageFrameNumber);
if (!Pfn->u3.e1.PrototypePte)
{