xref: /reactos/sdk/include/xdk/arm/mm.h (revision c2c66aff)
1 $if (_NTDDK_)
2 
3 #define PTI_SHIFT 12
4 #define PDI_SHIFT 22
5 
6 #define PDE_BASE 0xC0300000
7 #define PTE_BASE 0xC0000000
8 #define PDE_TOP  0xC0300FFF
9 #define PTE_TOP  0xC03FFFFF
10 
11 extern NTKERNELAPI PVOID MmHighestUserAddress;
12 extern NTKERNELAPI PVOID MmSystemRangeStart;
13 extern NTKERNELAPI ULONG MmUserProbeAddress;
14 
15 #define MM_HIGHEST_USER_ADDRESS MmHighestUserAddress
16 #define MM_SYSTEM_RANGE_START MmSystemRangeStart
17 #if defined(_LOCAL_COPY_USER_PROBE_ADDRESS_)
18 #define MM_USER_PROBE_ADDRESS _LOCAL_COPY_USER_PROBE_ADDRESS_
19 extern ULONG _LOCAL_COPY_USER_PROBE_ADDRESS_;
20 #else
21 #define MM_USER_PROBE_ADDRESS MmUserProbeAddress
22 #endif
23 #define MM_LOWEST_USER_ADDRESS (PVOID)0x10000
24 #define MM_KSEG0_BASE       MM_SYSTEM_RANGE_START
25 #define MM_SYSTEM_SPACE_END 0xFFFFFFFF
26 
27 $endif /* _NTDDK_ */
28