[ATL] Add CHAIN_MSG_MAP macro
[reactos.git] / sdk / include / reactos / arm / armddk.h
1 #ifndef _ARMDDK_
2 #define _ARMDDK_
3
4 #define USPCR 0x7FFF0000
5 #define USERPCR ((volatile KPCR * const)USPCR)
6
7
8 #ifndef _WINNT_
9
10
11 //
12 // Address space layout
13 //
14 extern PVOID MmHighestUserAddress;
15 extern PVOID MmSystemRangeStart;
16 extern ULONG_PTR MmUserProbeAddress;
17 #define MM_HIGHEST_USER_ADDRESS MmHighestUserAddress
18 #define MM_SYSTEM_RANGE_START MmSystemRangeStart
19 #define MM_USER_PROBE_ADDRESS MmUserProbeAddress
20 #define MM_LOWEST_USER_ADDRESS (PVOID)0x10000
21 #define MM_LOWEST_SYSTEM_ADDRESS (PVOID)0xC0800000
22
23
24
25 //
26 // Used to contain PFNs and PFN counts
27 //
28 //typedef ULONG PFN_COUNT;
29 //typedef ULONG PFN_NUMBER, *PPFN_NUMBER;
30 //typedef LONG SPFN_NUMBER, *PSPFN_NUMBER;
31
32
33
34 #endif
35
36 //
37 // Processor Control Region
38 //
39 #ifdef _WINNT_
40 #define KIRQL ULONG
41 #endif
42
43 #define ASSERT_BREAKPOINT BREAKPOINT_COMMAND_STRING + 1
44
45 #define RESULT_ZERO 0
46 #define RESULT_NEGATIVE 1
47 #define RESULT_POSITIVE 2
48
49 //
50 // Intrinsics
51 //
52 #define InterlockedDecrement _InterlockedDecrement
53 #define InterlockedIncrement _InterlockedIncrement
54 #define InterlockedExchange _InterlockedExchange
55 #endif