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)
12 /* INCLUDES ******************************************************************/
14 /* ARM Bringup Hack */
16 #define DbgPrint DbgPrintEarly
21 #define IoAllocateAdapterChannel _IoAllocateAdapterChannel
22 #define KeGetCurrentThread _KeGetCurrentThread
23 #define RtlFillMemoryUlong _RtlFillMemoryUlong
28 #include <psdk/ntverp.h>
30 /* DDK/IFS/NDK Headers */
31 #define _REALLY_GET_CALLERS_CALLER
39 #define NTHALAPI __declspec(dllimport)
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/muptypes.h>
54 #include <ndk/obfuncs.h>
55 #include <ndk/pofuncs.h>
56 #include <ndk/psfuncs.h>
57 #include <ndk/rtlfuncs.h>
58 #include <ndk/sefuncs.h>
59 #include <ndk/vftypes.h>
63 #include <ntstrsafe.h>
65 #include <ntintsafe.h>
74 /* SEH support with PSEH */
75 #include <pseh/pseh2.h>
77 /* SetupLDR Support */
78 #include <arc/setupblk.h>
86 #include <reactos/rossym.h>
90 #include <umpnpmgr/sysguid.h>
95 #define ExRaiseStatus RtlRaiseStatus
97 /* Also defined in fltkernel.h, but we don't want the entire header */
99 #define Add2Ptr(P,I) ((PVOID)((PUCHAR)(P) + (I)))
102 #define PtrOffset(B,O) ((ULONG)((ULONG_PTR)(O) - (ULONG_PTR)(B)))
106 // Switch for enabling global page support
109 //#define _GLOBAL_PAGES_ARE_AWESOME_
112 /* Internal Headers */
113 #include "internal/ntoskrnl.h"
116 #include <reactos/probe.h>
117 #include "internal/probe.h"
118 #include "resource.h"
120 #endif /* _NTOSKRNL_PCH */