mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 20:32:36 +00:00
28 lines
783 B
C
28 lines
783 B
C
|
$if (_NTDDK_)
|
||
|
|
||
|
#define PTI_SHIFT 12
|
||
|
#define PDI_SHIFT 22
|
||
|
|
||
|
#define PDE_BASE 0xC0300000
|
||
|
#define PTE_BASE 0xC0000000
|
||
|
#define PDE_TOP 0xC0300FFF
|
||
|
#define PTE_TOP 0xC03FFFFF
|
||
|
|
||
|
extern NTKERNELAPI PVOID MmHighestUserAddress;
|
||
|
extern NTKERNELAPI PVOID MmSystemRangeStart;
|
||
|
extern NTKERNELAPI ULONG MmUserProbeAddress;
|
||
|
|
||
|
#define MM_HIGHEST_USER_ADDRESS MmHighestUserAddress
|
||
|
#define MM_SYSTEM_RANGE_START MmSystemRangeStart
|
||
|
#if defined(_LOCAL_COPY_USER_PROBE_ADDRESS_)
|
||
|
#define MM_USER_PROBE_ADDRESS _LOCAL_COPY_USER_PROBE_ADDRESS_
|
||
|
extern ULONG _LOCAL_COPY_USER_PROBE_ADDRESS_;
|
||
|
#else
|
||
|
#define MM_USER_PROBE_ADDRESS MmUserProbeAddress
|
||
|
#endif
|
||
|
#define MM_LOWEST_USER_ADDRESS (PVOID)0x10000
|
||
|
#define MM_KSEG0_BASE MM_SYSTEM_RANGE_START
|
||
|
#define MM_SYSTEM_SPACE_END 0xFFFFFFFF
|
||
|
|
||
|
$endif /* _NTDDK_ */
|