mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:06:04 +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:
parent
f605d2c596
commit
58781041d7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue