- Initialize count of System PTEs:
authorReactOS Portable Systems Group <ros-arm-bringup@svn.reactos.org>
Mon, 22 Jun 2009 09:34:24 +0000 (09:34 +0000)
committerReactOS Portable Systems Group <ros-arm-bringup@svn.reactos.org>
Mon, 22 Jun 2009 09:34:24 +0000 (09:34 +0000)
commit872b7b4830e27db881177475fbbe9d0fd0ff1802
treeef78d65b5d8431175178ad9020b0219879102986
parente5cc98dbc4f850452c6fbb8148aa305c589977a5
- Initialize count of System PTEs:
  - Use 7000 for systems with 19MB of RAM or less, 11000 for systems between 19 and 32MB of RAM, and 22000 for systems with more than that.
  - Windows will go up to 50000 on server machines, but this is likely not needed now (22000 system PTEs is roughly 100 MB).
  - This now affects the calculation of MmNonPagedSystemStart, which is now correct and reflects the nonpaged address space of the system.
  - System PTEs are not yet initialized (but their page tables are mapped by the same code which maps nonpaged pool expansion VA page tables).

svn path=/trunk/; revision=41529
reactos/ntoskrnl/mm/ARM3/init.c
reactos/ntoskrnl/mm/ARM3/miarm.h