Author: jgardou
Date: Tue Nov 15 22:40:20 2011
New Revision: 54391
URL:
http://svn.reactos.org/svn/reactos?rev=54391&view=rev
Log:
[NTOSKRNL]
- Cleanup a bit, sorry.
Modified:
trunk/reactos/ntoskrnl/mm/i386/page.c
Modified: trunk/reactos/ntoskrnl/mm/i386/page.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/i386/page.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/i386/page.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/i386/page.c [iso-8859-1] Tue Nov 15 22:40:20 2011
@@ -253,7 +253,6 @@
{
KeBugCheck(MEMORY_MANAGEMENT);
}
- DPRINT1("Pt : %p, *pt %x, ret %p, *ret %x\n", Pt, *Pt, (char*)Pt +
ADDR_TO_PTE_OFFSET(Address), *((char*)Pt + ADDR_TO_PTE_OFFSET(Address)));
return Pt + MiAddressToPteOffset(Address);
}
/* This is for our process */
@@ -386,8 +385,6 @@
{
Pte = *Pt;
} while (Pte != InterlockedCompareExchangePte(Pt, Pte & ~PA_PRESENT, Pte));
- Pte = *Pt;
- Pte = InterlockedExchangePte(Pt, Pte & ~((ULONG)PA_PRESENT));
MiFlushTlb(Pt, Address);
@@ -788,7 +785,6 @@
PdeOffset = ADDR_TO_PDE_OFFSET(Addr);
if (oldPdeOffset != PdeOffset)
{
- //MmUnmapPageTable(Pt);
Pt = MmGetPageTableForProcess(Process, Addr, TRUE);
if (Pt == NULL)
{