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.

svn path=/branches/ros-amd64-bringup/; revision=44408
This commit is contained in:
Timo Kreuzer
2009-12-04 21:42:40 +00:00
parent 6578ba71c1
commit ca9707ca00
+4
View File
@@ -227,6 +227,7 @@ MiInitSystemMemoryAreas()
BoundaryAddressMultiple);
ASSERT(Status == STATUS_SUCCESS);
#ifndef _M_AMD64
//
// Next, the KPCR
//
@@ -241,6 +242,7 @@ MiInitSystemMemoryAreas()
0,
BoundaryAddressMultiple);
ASSERT(Status == STATUS_SUCCESS);
#endif
//
// Now the KUSER_SHARED_DATA
@@ -474,8 +476,10 @@ MmInitSystem(IN ULONG Phase,
/* Dump the address space */
MiDbgDumpAddressSpace();
#ifndef _M_AMD64 // skip old paged pool
/* Initialize paged pool */
MmInitializePagedPool();
#endif
/* Initialize working sets */
MmInitializeMemoryConsumer(MC_USER, MmTrimUserMemory);