mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 08:05:43 +00:00
[NTOS]: MxGetNextPage is not platform-specific, so share it.
[NTOS]: Factor out computations of NP sizes and limits into MiComputeNonPagedPoolVa. [NTOS]: Fix NP size/limit calculations to use the amount of FREE RAM, not the amount of INSTALLED RAM. [NTOS]: Use Windows 2003's algorithm for NP size on machines with more than 512MB of FREE RAM. [NTOS]: Partly handle the case of machines with NP over 128MB. svn path=/trunk/; revision=45556
This commit is contained in:
parent
b7b948cff5
commit
4e061e178b
3 changed files with 152 additions and 158 deletions
|
@ -198,6 +198,12 @@ MiInitMachineDependent(
|
|||
IN PLOADER_PARAMETER_BLOCK LoaderBlock
|
||||
);
|
||||
|
||||
PFN_NUMBER
|
||||
NTAPI
|
||||
MxGetNextPage(
|
||||
IN PFN_NUMBER PageCount
|
||||
);
|
||||
|
||||
PPHYSICAL_MEMORY_DESCRIPTOR
|
||||
NTAPI
|
||||
MmInitializeMemoryLimits(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue