- Nonpaged pool MEMORY_AREA is now initialized during nonpaged pool initialization...
authorReactOS Portable Systems Group <ros-arm-bringup@svn.reactos.org>
Sun, 21 Jun 2009 06:36:45 +0000 (06:36 +0000)
committerReactOS Portable Systems Group <ros-arm-bringup@svn.reactos.org>
Sun, 21 Jun 2009 06:36:45 +0000 (06:36 +0000)
commite7b3dac46f4c735bef9e1959db826aef0a171624
tree22ef4176a13064b2d5e587e8c9df82920404f51b
parentf29743948c5010b25b72ae23b4616c1665b95820
- Nonpaged pool MEMORY_AREA is now initialized during nonpaged pool initialization (and it is now a static MEMORY_AREA).
- Paged pool MEMORY_AREA is now initialized during paged pool initialization.
- Remaining MEMORY_AREAs (KPCR and KUSER_SHARED_DATA) are now created in MiInitSystemMemoryAreas (and they are also static) instead of MmInitVirtualMemory, since this is really what the function was doing.
  - The page table and hyperspace MEMORY_AREAs are still initialized the same, but are also now static.
  - The creation of these core/system memory areas is now done much earlier. For example, hyperspace memory area is now created before hyperspace is mapped.
- Nonpaged pool, paged pool, and working set initialization is now done outside MiInitSystemMemoryAreas and roughly at the same time as before.
- Removed MmInitVirtualMemory as it had become a kitchen sink of random Memory Manager initialization code.
- I/O and Local APIC MEMORY_AREAs are not created anymore, since that should be done by the HAL, not the kernel.

svn path=/trunk/; revision=41510
reactos/ntoskrnl/include/internal/mm.h
reactos/ntoskrnl/mm/i386/page.c
reactos/ntoskrnl/mm/mm.c
reactos/ntoskrnl/mm/mminit.c
reactos/ntoskrnl/mm/npool.c
reactos/ntoskrnl/mm/ppool.c