- Remove KeAttachProcess and KeDetachProcess prototypes from winddk.h.
[reactos.git] / reactos / ntoskrnl / include / ntoskrnl.h
1 #ifndef __INCLUDE_NTOSKRNL_H
2 #define __INCLUDE_NTOSKRNL_H
3
4 #define __NO_CTYPE_INLINES
5
6 /* include the ntoskrnl config.h file */
7 #include "config.h"
8
9 #include <roscfg.h>
10 #include <reactos/version.h>
11 #include <reactos/resource.h>
12 #include <reactos/bugcodes.h>
13 #include <limits.h>
14 #include <stdarg.h>
15 #include <stdlib.h>
16 #include <string.h>
17 #include <malloc.h>
18 #include <wchar.h>
19 #include <roskrnl.h>
20 #include <ntos/minmax.h>
21 #include <ntos/synch.h>
22 #include <ntos/keyboard.h>
23 #include <ntos/ntdef.h>
24 #include <ntos/ntpnp.h>
25 #include <rosrtl/minmax.h>
26 #include <rosrtl/string.h>
27 #include <ddk/halfuncs.h>
28 #include <ddk/kefuncs.h>
29 #include <ddk/pnptypes.h>
30 #include <ddk/pnpfuncs.h>
31 #include <ddk/wdmguid.h>
32 #include <ntdll/ldr.h>
33 #include <pseh.h>
34 #include <internal/ctype.h>
35 #include <internal/ntoskrnl.h>
36 #include <internal/ke.h>
37 #include <internal/i386/segment.h>
38 #include <internal/i386/mm.h>
39 #include <internal/i386/fpu.h>
40 #include <internal/module.h>
41 #include <internal/handle.h>
42 #include <internal/pool.h>
43 #include <internal/ob.h>
44 #include <internal/ps.h>
45 #include <internal/mm.h>
46 #include <internal/cc.h>
47 #include <internal/io.h>
48 #include <internal/po.h>
49 #include <internal/ob.h>
50 #include <internal/se.h>
51 #include <internal/ldr.h>
52 #include <internal/kd.h>
53 #include <internal/ex.h>
54 #include "internal/xhal.h"
55 #include <internal/v86m.h>
56 #include <internal/ifs.h>
57 #include <internal/port.h>
58 #include <internal/nls.h>
59 #ifdef KDBG
60 #include <internal/kdb.h>
61 #endif
62 #include <internal/dbgk.h>
63 #include <internal/trap.h>
64 #include <internal/safe.h>
65 #include <internal/tag.h>
66 #include <internal/test.h>
67 #include <internal/inbv.h>
68 #include <napi/core.h>
69 #include <napi/dbg.h>
70 #include <napi/teb.h>
71 #include <napi/win32.h>
72
73 #ifndef RTL_CONSTANT_STRING
74 #define RTL_CONSTANT_STRING(__SOURCE_STRING__) \
75 { \
76 sizeof(__SOURCE_STRING__) - sizeof((__SOURCE_STRING__)[0]), \
77 sizeof(__SOURCE_STRING__), \
78 (__SOURCE_STRING__) \
79 }
80 #endif
81
82 #ifdef DBG
83 #ifndef PAGED_CODE
84 #define PAGED_CODE() \
85 do { \
86 if(KeGetCurrentIrql() > APC_LEVEL) { \
87 DbgPrint("%s:%i: Pagable code called at IRQL > APC_LEVEL (%d)\n", \
88 __FILE__, __LINE__, KeGetCurrentIrql()); \
89 KEBUGCHECK(0); \
90 } \
91 } while(0)
92 #endif
93 #define PAGED_CODE_RTL PAGED_CODE
94 #else
95 #ifndef PAGED_CODE
96 #define PAGED_CODE()
97 #endif
98 #define PAGED_CODE_RTL()
99 #endif
100
101 #endif /* INCLUDE_NTOSKRNL_H */