mirror of
https://github.com/reactos/reactos.git
synced 2024-07-11 15:15:27 +00:00
[NTOSKRNL]
- Use proper macro for getting PDE from PTE. svn path=/trunk/; revision=55582
This commit is contained in:
parent
283c4ef464
commit
b4b1d63a78
|
@ -240,7 +240,7 @@ MiDeletePte(IN PMMPTE PointerPte,
|
||||||
if (Pfn1->u3.e1.PrototypePte == 1)
|
if (Pfn1->u3.e1.PrototypePte == 1)
|
||||||
{
|
{
|
||||||
/* Get the PDE and make sure it's faulted in */
|
/* Get the PDE and make sure it's faulted in */
|
||||||
PointerPde = MiAddressToPde(PointerPte);
|
PointerPde = MiPteToPde(PointerPte);
|
||||||
if (PointerPde->u.Hard.Valid == 0)
|
if (PointerPde->u.Hard.Valid == 0)
|
||||||
{
|
{
|
||||||
#if (_MI_PAGING_LEVELS == 2)
|
#if (_MI_PAGING_LEVELS == 2)
|
||||||
|
|
Loading…
Reference in a new issue