mirror of
https://github.com/reactos/reactos.git
synced 2024-07-29 23:58:44 +00:00
[NTOSKRNL]
Add amd64 version of MmIsDisabledPage svn path=/trunk/; revision=56894
This commit is contained in:
parent
d4efdeeb98
commit
28adbd6967
|
@ -378,6 +378,16 @@ MmIsPagePresent(PEPROCESS Process, PVOID Address)
|
||||||
return (BOOLEAN)Pte.u.Hard.Valid;
|
return (BOOLEAN)Pte.u.Hard.Valid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BOOLEAN
|
||||||
|
NTAPI
|
||||||
|
MmIsDisabledPage(PEPROCESS Process, PVOID Address)
|
||||||
|
{
|
||||||
|
MMPTE Pte;
|
||||||
|
Pte.u.Long = MiGetPteValueForProcess(Process, Address);
|
||||||
|
__debugbreak(); // FIXME
|
||||||
|
return !Pte.u.Hard.Valid && !(Pte.u.Long & 0x800) && Pte.u.Hard.PageFrameNumber;
|
||||||
|
}
|
||||||
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
NTAPI
|
NTAPI
|
||||||
MmIsPageSwapEntry(PEPROCESS Process, PVOID Address)
|
MmIsPageSwapEntry(PEPROCESS Process, PVOID Address)
|
||||||
|
|
Loading…
Reference in a new issue