Move some profile stuff to NDK and fix some bugs in the executive implementation...
[reactos.git] / reactos / ntoskrnl / include / ntoskrnl.h
index aa6872d..341460f 100755 (executable)
@@ -1,55 +1,52 @@
-#ifndef __INTERNAL_NTOSKRNL_H
-#define __INTERNAL_NTOSKRNL_H
+/*
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS Kernel
+ * FILE:            ntoskrnl/include/ntoskrnl.h
+ * PURPOSE:         Main Kernel Header
+ * PROGRAMMER:      Alex Ionescu (alex@relsoft.net)
+ */
 
-#define __MINGW_IMPORT extern
+/* INCLUDES ******************************************************************/
 
-#ifndef AS_INVOKED
-#include <roscfg.h>
-#include <stdarg.h>
-#include <stdlib.h>
+/* We are the Kernel */
+#define NTKERNELAPI
+#define _NTSYSTEM_
+
+/* DDK/IFS/NDK Headers */
+#include <ntifs.h>
+#include <ntddk.h>
+#include <wdmguid.h>
+#include <ndk/ntndk.h>
+
+/* FIXME: Temporary until CC Ros is gone */
+#include <ccros.h>
+
+/* Disk Dump Driver Header */
+#include <diskdump/diskdump.h>
+
+/* C Headers */
+#include <stdio.h>
 #include <ctype.h>
-#include <limits.h>
-#include <string.h>
+#include <malloc.h>
 #include <wchar.h>
-#define NTOS_KERNEL_MODE
-#include <ntos.h>
-#include <ddk/ntpoapi.h>
+
+/* SEH support with PSEH */
+#include <pseh/pseh.h>
+
+/* ReactOS Headers */
 #include <reactos/version.h>
 #include <reactos/resource.h>
 #include <reactos/bugcodes.h>
-#endif /* !AS_INVOKED */
-
-#include <internal/ntoskrnl.h>
-#include <internal/dbg.h>
-#include <internal/id.h>
-#include <internal/kd.h>
-#include <internal/arch/ke.h>
-#include <internal/ke.h>
-#include <internal/ps.h>
-#include <internal/ob.h>
-#include <internal/mm.h>
-#include <internal/nt.h>
-#include <internal/cc.h>
-#include <internal/io.h>
-#include <internal/po.h>
-#include <internal/ex.h>
-#include <internal/se.h>
-#include <internal/ldr.h>
-#include <internal/ifs.h>
-#include <internal/trap.h>
-#include <internal/v86m.h>
-#include <internal/xhal.h>
-#include <internal/port.h>
-#include <internal/pool.h>
-#include <internal/safe.h>
-#include <internal/module.h>
-#include <internal/handle.h>
-#include <internal/registry.h>
-#include <internal/i386/fpu.h>
-#include <internal/i386/mm.h>
-#include <internal/i386/segment.h>
-
-/* Conflicts with a member name */
-#undef DeviceCapabilities
-
-#endif /* __INTERNAL_NTOSKRNL_H */
+#include <reactos/rossym.h>
+#define ExRaiseStatus RtlRaiseStatus
+#include <reactos/probe.h>
+
+/* PNP GUIDs */
+#include <umpnpmgr/sysguid.h>
+
+/* Helper Header */
+#include <reactos/helper.h>
+
+/* Internal Headers */
+#include "internal/ntoskrnl.h"
+#include "config.h"