- Kill off diskdump too
[reactos.git] / reactos / ntoskrnl / include / precomp.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 /* INCLUDES ******************************************************************/
10
11 /* Version Data */
12 #undef __MSVCRT__
13 #include <psdk/ntverp.h>
14
15 /* DDK/IFS/NDK Headers */
16 #define _REALLY_GET_CALLERS_CALLER
17 #ifdef _MSC_VER
18 #include <excpt.h>
19 #include <ntdef.h>
20 #undef DECLSPEC_IMPORT
21 #define DECLSPEC_IMPORT
22 #endif
23 #include <ntifs.h>
24 #include <wdmguid.h>
25 #include <arc/arc.h>
26 #include <ntndk.h>
27 #undef TEXT
28 #define TEXT(s) L##s
29 #include <regstr.h>
30
31 /* FIXME: Temporary until Winldr is used */
32 #include <rosldr.h>
33
34 /* C Headers */
35 #include <stdlib.h>
36 #include <stdio.h>
37 #include <ctype.h>
38 #include <malloc.h>
39 #include <wchar.h>
40
41 /* SEH support with PSEH */
42 #include <pseh/pseh2.h>
43
44 /* ReactOS Headers */
45 #include <reactos/buildno.h>
46 #include <reactos/bugcodes.h>
47
48 /* SetupLDR Support */
49 #include <arc/setupblk.h>
50
51 /* KD Support */
52 #define NOEXTAPI
53 #include <windbgkd.h>
54 #include <wdbgexts.h>
55 #include <kddll.h>
56 #ifndef _WINKD_
57 #include <reactos/rossym.h>
58 #endif
59
60 /* PNP GUIDs */
61 #include <umpnpmgr/sysguid.h>
62
63 /* Internal Headers */
64 #include "internal/ntoskrnl.h"
65 #include "config.h"
66
67 //
68 // Define the internal versions of external and public global data
69 //
70 #define IoFileObjectType _IoFileObjectType
71 #define PsThreadType _PsThreadType
72 #define PsProcessType _PsProcessType
73 #define ExEventObjectType _ExEventObjectType
74 #define ExSemaphoreObjectType _ExSemaphoreObjectType
75 #define KdDebuggerEnabled _KdDebuggerEnabled
76 #define KdDebuggerNotPresent _KdDebuggerNotPresent
77 #define NlsOemLeadByteInfo _NlsOemLeadByteInfo
78 extern PUSHORT _NlsOemLeadByteInfo;
79 #define FsRtlLegalAnsiCharacterArray _FsRtlLegalAnsiCharacterArray
80 #undef LEGAL_ANSI_CHARACTER_ARRAY
81 #undef NLS_MB_CODE_PAGE_TAG
82 #undef NLS_OEM_LEAD_BYTE_INFO
83 #define LEGAL_ANSI_CHARACTER_ARRAY FsRtlLegalAnsiCharacterArray
84 #define NLS_MB_CODE_PAGE_TAG NlsMbOemCodePageTag
85 #define NLS_OEM_LEAD_BYTE_INFO _NlsOemLeadByteInfo
86 #undef KD_DEBUGGER_ENABLED
87 #undef KD_DEBUGGER_NOT_PRESENT
88 #define KD_DEBUGGER_ENABLED KdDebuggerEnabled
89 #define KD_DEBUGGER_NOT_PRESENT KdDebuggerNotPresent
90 #define HalDispatchTable _HalDispatchTable
91 #undef HALDISPATCH
92 #define HALDISPATCH (&HalDispatchTable)
93 #define ExRaiseStatus RtlRaiseStatus