mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 07:28:19 +00:00
[MM:AMD64] Remove the _WINKD_ around MmDebugPte since it's now used by both kd64 (windbg) and KDBG through the usage of mmdbg.c
This commit is contained in:
parent
aff644a1a2
commit
7e941247bd
1 changed files with 0 additions and 4 deletions
|
@ -16,9 +16,7 @@
|
|||
|
||||
#include <mm/ARM3/miarm.h>
|
||||
|
||||
#ifdef _WINKD_
|
||||
extern PMMPTE MmDebugPte;
|
||||
#endif
|
||||
|
||||
/* Helper macros */
|
||||
#define IS_ALIGNED(addr, align) (((ULONG64)(addr) & (align - 1)) == 0)
|
||||
|
@ -258,12 +256,10 @@ MiInitializePageTable(VOID)
|
|||
MmLastReservedMappingPte = MiAddressToPte((PVOID)MI_MAPPING_RANGE_END);
|
||||
MmFirstReservedMappingPte->u.Hard.PageFrameNumber = MI_HYPERSPACE_PTES;
|
||||
|
||||
#ifdef _WINKD_
|
||||
/* Setup debug mapping PTE */
|
||||
MiMapPPEs((PVOID)MI_DEBUG_MAPPING, (PVOID)MI_DEBUG_MAPPING);
|
||||
MiMapPDEs((PVOID)MI_DEBUG_MAPPING, (PVOID)MI_DEBUG_MAPPING);
|
||||
MmDebugPte = MiAddressToPte((PVOID)MI_DEBUG_MAPPING);
|
||||
#endif
|
||||
|
||||
/* Setup PDE and PTEs for VAD bitmap and working set list */
|
||||
MiMapPDEs((PVOID)MI_VAD_BITMAP, (PVOID)(MI_WORKING_SET_LIST + PAGE_SIZE - 1));
|
||||
|
|
Loading…
Reference in a new issue