Author: sir_richard
Date: Thu Oct 7 17:41:20 2010
New Revision: 49037
URL:
http://svn.reactos.org/svn/reactos?rev=49037&view=rev
Log:
[NTOS]: Fix copy/paste error.
Modified:
trunk/reactos/ntoskrnl/mm/marea.c
Modified: trunk/reactos/ntoskrnl/mm/marea.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/marea.c?rev=49…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/marea.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/marea.c [iso-8859-1] Thu Oct 7 17:41:20 2010
@@ -373,9 +373,6 @@
Vad = ExAllocatePoolWithTag(NonPagedPool, sizeof(MMVAD), 'Fake');
ASSERT(Vad);
RtlZeroMemory(Vad, sizeof(MMVAD));
- EndingAddress = (((ULONG_PTR)PBaseAddress + PRegionSize - 1) | (PAGE_SIZE - 1));
- StartingAddress = (ULONG_PTR)PAGE_ALIGN(PBaseAddress);
-
Vad->StartingVpn = PAGE_ROUND_DOWN(marea->StartingAddress) >>
PAGE_SHIFT;
/*
* For some strange reason, it is perfectly valid to create a MAREA from 0x1000
to... 0x1000.