[NTOS]: When expanding paged pool, use MiRemoveAnyPage, not MmAllocPage.
authorSir Richard <sir_richard@svn.reactos.org>
Fri, 4 Jun 2010 22:08:40 +0000 (22:08 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Fri, 4 Jun 2010 22:08:40 +0000 (22:08 +0000)
commit25bf23bfc1fb6d1030a0d6015fa0414ec0f1d37f
tree6f7277011e35e248b59b11bfbf2ba8aed764bc7c
parentc25fc39e6f8e9540c15b06d9b556fd25196fde4f
[NTOS]: When expanding paged pool, use MiRemoveAnyPage, not MmAllocPage.
[NTOS]: When expanding paged pool, initialize the PFN entry for the allocated page. Note we might be in arbitrary process space, so the PTE is not necessary valid for the process causing the expansion.
[NTOS]: Implement MiInitializePfnForOtherProcess to handle the case above.
[NTOS]: Change two static ASSERTs into C_ASSERTs. Might break non-x86 builds for a bit (vs breaking them at boot, which is worse).
Paged pool should start working soon.

svn path=/trunk/; revision=47579
reactos/ntoskrnl/mm/ARM3/miarm.h
reactos/ntoskrnl/mm/ARM3/pagfault.c
reactos/ntoskrnl/mm/ARM3/pfnlist.c
reactos/ntoskrnl/mm/ARM3/pool.c