mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user