[NTOS/MM]

- Don't access pfn database directly, there is a function for this. Thanks sir_richard.

svn path=/trunk/; revision=49302
This commit is contained in:
Aleksey Bragin 2010-10-27 09:58:18 +00:00
parent f605d2c596
commit 58781041d7

View file

@ -1075,7 +1075,7 @@ MiGetPageProtection(IN PMMPTE PointerPte)
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)
{