xref: /reactos/sdk/include/xdk/x86/mm.h (revision c2c66aff)
1 $if (_NTDDK_)
2 
3 extern NTKERNELAPI PVOID MmHighestUserAddress;
4 extern NTKERNELAPI PVOID MmSystemRangeStart;
5 extern NTKERNELAPI ULONG MmUserProbeAddress;
6 
7 #define MM_HIGHEST_USER_ADDRESS MmHighestUserAddress
8 #define MM_SYSTEM_RANGE_START MmSystemRangeStart
9 #if defined(_LOCAL_COPY_USER_PROBE_ADDRESS_)
10 #define MM_USER_PROBE_ADDRESS _LOCAL_COPY_USER_PROBE_ADDRESS_
11 extern ULONG _LOCAL_COPY_USER_PROBE_ADDRESS_;
12 #else
13 #define MM_USER_PROBE_ADDRESS MmUserProbeAddress
14 #endif
15 #define MM_LOWEST_USER_ADDRESS (PVOID)0x10000
16 #define MM_KSEG0_BASE       MM_SYSTEM_RANGE_START
17 #define MM_SYSTEM_SPACE_END 0xFFFFFFFF
18 #if !defined (_X86PAE_)
19 #define MM_LOWEST_SYSTEM_ADDRESS (PVOID)0xC0800000
20 #else
21 #define MM_LOWEST_SYSTEM_ADDRESS (PVOID)0xC0C00000
22 #endif
23 
24 $endif /* _NTDDK_ */
25