From ca9707ca00cf3c03169d3746e89ce3977ac4b885 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Fri, 4 Dec 2009 21:42:40 +0000 Subject: [PATCH] [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. svn path=/branches/ros-amd64-bringup/; revision=44408 --- reactos/ntoskrnl/mm/mminit.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/ntoskrnl/mm/mminit.c b/reactos/ntoskrnl/mm/mminit.c index b1d392d22de..6c230cf91eb 100644 --- a/reactos/ntoskrnl/mm/mminit.c +++ b/reactos/ntoskrnl/mm/mminit.c @@ -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);