- Fix some pool calculations.

- Check for some untested pool calculations.
- Handle paging-in the page tables when needed.
- Setup paging colors based on L2 cache size/associativity.
- Setup system PTE size earlier. 


svn path=/trunk/; revision=44903
This commit is contained in:
ReactOS Portable Systems Group 2010-01-03 05:10:09 +00:00
parent 1f8e0c8569
commit 342f38623c
3 changed files with 241 additions and 54 deletions

View file

@ -26,6 +26,7 @@
#define MI_SYSTEM_VIEW_SIZE (16 * 1024 * 1024)
#define MI_SYSTEM_CACHE_WS_START (PVOID)0xC0C00000
#define MI_PAGED_POOL_START (PVOID)0xE1000000
#define MI_NONPAGED_POOL_END (PVOID)0xFFBE0000
#define MI_DEBUG_MAPPING (PVOID)0xFFBFF000
@ -166,6 +167,7 @@ extern MMSUPPORT MmSystemCacheWs;
extern SIZE_T MmAllocatedNonPagedPool;
extern ULONG_PTR MmSubsectionBase;
extern ULONG MmSpecialPoolTag;
extern PVOID MmHyperSpaceEnd;
NTSTATUS
NTAPI