Author: tkreuzer
Date: Sun Jan 18 15:55:59 2009
New Revision: 38920
URL:
http://svn.reactos.org/svn/reactos?rev=38920&view=rev
Log:
Tracing the data exchanged between Windows64 and WinDbg shows that DBGKD_CONTROL_REPORT is
a bit different to x86 version.
Modified:
branches/ros-amd64-bringup/reactos/include/reactos/windbgkd.h
Modified: branches/ros-amd64-bringup/reactos/include/reactos/windbgkd.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/inclu…
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/reactos/windbgkd.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/include/reactos/windbgkd.h [iso-8859-1] Sun Jan 18
15:55:59 2009
@@ -200,7 +200,13 @@
} DBGKD_ANY_CONTROL_SET, *PDBGKD_ANY_CONTROL_SET;
#include <poppack.h>
+#if defined(_M_X86)
typedef X86_DBGKD_CONTROL_SET DBGKD_CONTROL_SET;
+#elif defined(_M_AMD64)
+typedef AMD64_DBGKD_CONTROL_SET DBGKD_CONTROL_SET;
+#else
+#error unsupported architecture
+#endif
//
// DBGKM Structure for Exceptions
@@ -214,6 +220,8 @@
//
// DBGKD Structure for State Change
//
+#ifdef defined(_M_X86)
+
typedef struct _DBGKD_CONTROL_REPORT
{
ULONG Dr6;
@@ -227,6 +235,24 @@
USHORT SegFs;
ULONG EFlags;
} DBGKD_CONTROL_REPORT, *PDBGKD_CONTROL_REPORT;
+
+#elif defined(_M_AMD64)
+
+typedef struct _DBGKD_CONTROL_REPORT
+{
+ ULONG64 Dr6;
+ ULONG64 Dr7;
+ ULONG EFlags;
+ USHORT InstructionCount;
+ USHORT ReportFlags;
+ UCHAR InstructionStream[DBGKD_MAXSTREAM];
+ USHORT SegCs;
+ USHORT SegDs;
+ USHORT SegEs;
+ USHORT SegFs;
+} DBGKD_CONTROL_REPORT, *PDBGKD_CONTROL_REPORT;
+
+#endif
//
// DBGKD Structure for Debug I/O Type Print String