Author: tkreuzer
Date: Sun Jul 15 12:39:46 2012
New Revision: 56894
URL:
http://svn.reactos.org/svn/reactos?rev=56894&view=rev
Log:
[NTOSKRNL]
Add amd64 version of MmIsDisabledPage
Modified:
trunk/reactos/ntoskrnl/mm/amd64/page.c
Modified: trunk/reactos/ntoskrnl/mm/amd64/page.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/amd64/page.c?r…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/amd64/page.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/amd64/page.c [iso-8859-1] Sun Jul 15 12:39:46 2012
@@ -380,6 +380,16 @@
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
+NTAPI
MmIsPageSwapEntry(PEPROCESS Process, PVOID Address)
{
MMPTE Pte;