mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[NTOS]: To Timo, with Love (make System PTEs work on x64).
svn path=/trunk/; revision=48192
This commit is contained in:
parent
7fa909a601
commit
135986ec2e
2 changed files with 4 additions and 1 deletions
|
@ -33,6 +33,9 @@
|
|||
#define MI_NONPAGED_POOL_END (PVOID)0xFFBE0000
|
||||
#define MI_DEBUG_MAPPING (PVOID)0xFFBFF000
|
||||
|
||||
// on AMD64 this would be MiAddressToPte(MM_KSEG0_BASE)
|
||||
#define MI_SYSTEM_PTE_BASE (PVOID)MiAddressToPte(NULL)
|
||||
|
||||
#define MI_MIN_SECONDARY_COLORS 8
|
||||
#define MI_SECONDARY_COLORS 64
|
||||
#define MI_MAX_SECONDARY_COLORS 1024
|
||||
|
|
|
@ -378,7 +378,7 @@ MiInitializeSystemPtes(IN PMMPTE StartingPte,
|
|||
//
|
||||
// Set the starting and ending PTE addresses for this space
|
||||
//
|
||||
MmSystemPteBase = (PVOID)PTE_BASE;
|
||||
MmSystemPteBase = MI_SYSTEM_PTE_BASE;
|
||||
MmSystemPtesStart[PoolType] = StartingPte;
|
||||
MmSystemPtesEnd[PoolType] = StartingPte + NumberOfPtes - 1;
|
||||
DPRINT("System PTE space for %d starting at: %p and ending at: %p\n",
|
||||
|
|
Loading…
Reference in a new issue