- Created include/drivers and moved driver headers there.
- Brought back core.h as diskdump.h, and re-enabled diskdump...it seems even though I was told it doesn't work, it's still very much used.
svn path=/trunk/; revision=16657
\r
<include>include</include>\r
<include>include/reactos</include>\r
+ <include>include/libs</include>\r
+ <include>include/drivers</include>\r
+ <include>include/subsys</include>\r
<include>w32api/include</include>\r
<include>w32api/include/ddk</include>\r
\r
<directory name="scsiport">\r
<xi:include href="scsiport/scsiport.xml" />\r
</directory>\r
+<directory name="diskdump">\r
+ <xi:include href="diskdump/diskdump.xml" />\r
+</directory>
\ No newline at end of file
#include <ddk/scsi.h>
#include <ddk/ntdddisk.h>
#include <ddk/ntddscsi.h>
-#include <ddk/class2.h>
-#include <ddk/core.h>
+#include <include/class2.h>
+#include <diskdump/diskdump.h>
#include <ndk/extypes.h>
#include <ndk/rtlfuncs.h>
<library>ntoskrnl</library>\r
<library>hal</library>\r
<library>class2</library>\r
+ <include base="diskdump">..</include>\r
<file>diskdump.c</file>\r
<file>diskdump_helper.S</file>\r
<file>diskdump.rc</file>\r
--- /dev/null
+#ifndef __DISKDUMP_H\r
+#define __DISKDUMP_H\r
+\r
+#include <ddk/ntddscsi.h>\r
+#include <ndk/ketypes.h>\r
+\r
+#define MM_CORE_DUMP_HEADER_MAGIC (0xdeafbead)\r
+#define MM_CORE_DUMP_HEADER_VERSION (0x1)\r
+\r
+typedef struct _MM_CORE_DUMP_HEADER\r
+{\r
+ ULONG Magic;\r
+ ULONG Version;\r
+ ULONG Type;\r
+ KTRAP_FRAME TrapFrame;\r
+ ULONG BugCheckCode;\r
+ ULONG BugCheckParameters[4];\r
+ PVOID FaultingStackBase;\r
+ ULONG FaultingStackSize;\r
+ ULONG PhysicalMemorySize;\r
+} MM_CORE_DUMP_HEADER, *PMM_CORE_DUMP_HEADER;\r
+\r
+typedef struct MM_CORE_DUMP_FUNCTIONS\r
+{\r
+ NTSTATUS (STDCALL *DumpPrepare)(PDEVICE_OBJECT DeviceObject, PDUMP_POINTERS DumpPointers);\r
+ NTSTATUS (STDCALL *DumpInit)(VOID);\r
+ NTSTATUS (STDCALL *DumpWrite)(LARGE_INTEGER Address, PMDL Mdl);\r
+ NTSTATUS (STDCALL *DumpFinish)(VOID);\r
+} MM_CORE_DUMP_FUNCTIONS, *PMM_CORE_DUMP_FUNCTIONS;\r
+\r
+#endif /* __DISKDUMP_H */\r
#define __INCLUDE_CSRSS_CSRSS_H
#include <windows.h>
-#include <ddk/ntddblue.h>
+#include <blue/ntddblue.h>
#define CSR_NATIVE 0x0000
#define CSR_CONSOLE 0x0001
#include <stdlib.h>
#include <samlib/samlib.h>
-#include <syssetup.h>
+#include <syssetup/syssetup.h>
#include <userenv.h>
#include <setupapi.h>
#define NTOS_MODE_USER
#include <ndk/ntndk.h>
-#include <syssetup.h>
+#include <syssetup/syssetup.h>
/* GLOBALS ******************************************************************/
#undef IO_TYPE_FILE
#define IO_TYPE_FILE 0x0F5L /* Temp Hack */
+/* FIXME: Temporary until CC Ros is gone */
+#include <ccros.h>
+
/* ReactOS Headers */
#include <reactos/version.h>
#include <reactos/resource.h>
#include <reactos/bugcodes.h>
#include <reactos/rossym.h>
+/* Disk Dump Driver Header */
+#include <diskdump/diskdump.h>
+
/* C Headers */
#include <malloc.h>
#include <wchar.h>
/* INCLUDES *****************************************************************/
#include <ntoskrnl.h>
-#include <ddk/core.h>
#define NDEBUG
#include <internal/debug.h>
#include <ndk/ntndk.h>
/* Our own BLUE.SYS Driver for Console Output */
-#include <ddk/ntddblue.h>
+#include <blue/ntddblue.h>
/* External Winlogon Header */
#include <winlogon.h>
/* DDK Disk Headers */
#include <ddk/ntddscsi.h>
-/* FIXME: Put outside of DDK */
-#include <ddk/ntddblue.h>
+/* Blue Driver Header */
+#include <blue/ntddblue.h>
/* Helper Header */
#include <reactos/helper.h>