* Sync with trunk r64401.
[reactos.git] / ntoskrnl / include / ntoskrnl.h
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS Kernel
4 * FILE: ntoskrnl/include/ntoskrnl.h
5 * PURPOSE: Main Kernel Header
6 * PROGRAMMER: Alex Ionescu (alex@relsoft.net)
7 */
8
9 #ifndef _NTOSKRNL_PCH
10 #define _NTOSKRNL_PCH
11
12 /* INCLUDES ******************************************************************/
13
14 /* ARM Bringup Hack */
15 #ifdef _M_ARM
16 #define DbgPrint DbgPrintEarly
17 #endif
18
19 /* WDK hacks */
20 #ifdef _M_AMD64
21 #define IoAllocateAdapterChannel _IoAllocateAdapterChannel
22 #define KeGetCurrentThread _KeGetCurrentThread
23 #define RtlFillMemoryUlong _RtlFillMemoryUlong
24 #endif
25
26 /* Version Data */
27 #undef __MSVCRT__
28 #include <psdk/ntverp.h>
29
30 /* DDK/IFS/NDK Headers */
31 #define _REALLY_GET_CALLERS_CALLER
32 #include <excpt.h>
33 #include <ntdef.h>
34 #include <ntifs.h>
35 #include <wdmguid.h>
36 #include <arc/arc.h>
37 #include <mountmgr.h>
38 #undef NTHALAPI
39 #define NTHALAPI __declspec(dllimport)
40 #include <ndk/asm.h>
41 #include <ndk/cctypes.h>
42 #include <ndk/cmfuncs.h>
43 #include <ndk/dbgkfuncs.h>
44 #include <ndk/exfuncs.h>
45 #include <ndk/halfuncs.h>
46 #include <ndk/inbvfuncs.h>
47 #include <ndk/iofuncs.h>
48 #include <ndk/kdfuncs.h>
49 #include <ndk/kefuncs.h>
50 #include <ndk/ldrfuncs.h>
51 #include <ndk/lpcfuncs.h>
52 #include <ndk/mmfuncs.h>
53 #include <ndk/obfuncs.h>
54 #include <ndk/pofuncs.h>
55 #include <ndk/psfuncs.h>
56 #include <ndk/rtlfuncs.h>
57 #include <ndk/sefuncs.h>
58 #include <ndk/vftypes.h>
59 #undef TEXT
60 #define TEXT(s) L##s
61 #include <regstr.h>
62 #include <ntstrsafe.h>
63 #include <ntpoapi.h>
64
65 /* C Headers */
66 #include <stdlib.h>
67 #include <stdio.h>
68 #include <ctype.h>
69 #include <malloc.h>
70 #include <wchar.h>
71
72 /* SEH support with PSEH */
73 #include <pseh/pseh2.h>
74
75 /* SetupLDR Support */
76 #include <arc/setupblk.h>
77
78 /* KD Support */
79 #define NOEXTAPI
80 #include <windbgkd.h>
81 #include <wdbgexts.h>
82 #include <kddll.h>
83 #ifndef _WINKD_
84 #include <reactos/rossym.h>
85 #endif
86
87 /* PNP GUIDs */
88 #include <umpnpmgr/sysguid.h>
89
90 //
91 // Define the internal versions of external and public global data
92 //
93 #define KeNumberProcessors _KeNumberProcessors
94 extern UCHAR _KeNumberProcessors;
95 #define ExRaiseStatus RtlRaiseStatus
96
97 /* Internal Headers */
98 #include "internal/ntoskrnl.h"
99 #include "config.h"
100
101 #include <reactos/probe.h>
102 #include "internal/probe.h"
103 #include "resource.h"
104
105 #endif /* _NTOSKRNL_PCH */