[ros-diffs] [tkreuzer] 44408: [MM] Don't create a memory area for the PCR on amd64, as we use our own from the kernel mapping instead of a hardcoded address mapped by the loader. Skip initializing the old page pool. It will probably not live on long enough to deserve any 64 bit fixing.
tkreuzer at svn.reactos.org
tkreuzer at svn.reactos.org
Fri Dec 4 22:42:41 CET 2009
Author: tkreuzer
Date: Fri Dec 4 22:42:40 2009
New Revision: 44408
URL: http://svn.reactos.org/svn/reactos?rev=44408&view=rev
Log:
[MM]
Don't create a memory area for the PCR on amd64, as we use our own from the kernel mapping instead of a hardcoded address mapped by the loader. Skip initializing the old page pool. It will probably not live on long enough to deserve any 64 bit fixing.
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/mm/mminit.c
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/mm/mminit.c
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntoskrnl/mm/mminit.c?rev=44408&r1=44407&r2=44408&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/mm/mminit.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/mm/mminit.c [iso-8859-1] Fri Dec 4 22:42:40 2009
@@ -227,6 +227,7 @@
BoundaryAddressMultiple);
ASSERT(Status == STATUS_SUCCESS);
+#ifndef _M_AMD64
//
// Next, the KPCR
//
@@ -241,6 +242,7 @@
0,
BoundaryAddressMultiple);
ASSERT(Status == STATUS_SUCCESS);
+#endif
//
// Now the KUSER_SHARED_DATA
@@ -474,8 +476,10 @@
/* Dump the address space */
MiDbgDumpAddressSpace();
+#ifndef _M_AMD64 // skip old paged pool
/* Initialize paged pool */
MmInitializePagedPool();
+#endif
/* Initialize working sets */
MmInitializeMemoryConsumer(MC_USER, MmTrimUserMemory);
More information about the Ros-diffs
mailing list