Fixed some bugs we introduced by incorrectly double-accounting the PFN database....
authorReactOS Portable Systems Group <ros-arm-bringup@svn.reactos.org>
Fri, 15 Feb 2008 00:31:18 +0000 (00:31 +0000)
committerReactOS Portable Systems Group <ros-arm-bringup@svn.reactos.org>
Fri, 15 Feb 2008 00:31:18 +0000 (00:31 +0000)
commitcb5d314ff31c862ba299c7c53e302d6006b3c569
treeea93e090cf32b375cc1f62b5593fad4bacf743b3
parent131f74225c804624046460120b924d029d62c9a7
Fixed some bugs we introduced by incorrectly double-accounting the PFN database. The database is *virtually* continous and follows the kernel address region, but not physically -- physically, it is at the very far end of memory.
Unfortunately, fixing this bug now caused any unused memory in the  FreeLDR-mapped region of 6MB to appear...well...unused. This would normally be a good thing, except ReactOS started crashing.
We fixed it by applying the Glorious Hack. See freelist.c:359.

svn path=/trunk/; revision=32369
reactos/ntoskrnl/mm/freelist.c
reactos/ntoskrnl/mm/mminit.c