[ros-diffs] [sir_richard] 49037: [NTOS]: Fix copy/paste error.

sir_richard at svn.reactos.org sir_richard at svn.reactos.org
Thu Oct 7 17:41:21 UTC 2010


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=49037&r1=49036&r2=49037&view=diff
==============================================================================
--- 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.




More information about the Ros-diffs mailing list