mirror of
https://github.com/reactos/reactos.git
synced 2024-11-05 22:26:39 +00:00
Tracing the data exchanged between Windows64 and WinDbg shows that DBGKD_CONTROL_REPORT is a bit different to x86 version.
svn path=/branches/ros-amd64-bringup/; revision=38920
This commit is contained in:
parent
865a88e5b0
commit
2a568fccdc
1 changed files with 26 additions and 0 deletions
|
@ -200,7 +200,13 @@ typedef struct _DBGKD_ANY_CONTROL_SET
|
||||||
} DBGKD_ANY_CONTROL_SET, *PDBGKD_ANY_CONTROL_SET;
|
} DBGKD_ANY_CONTROL_SET, *PDBGKD_ANY_CONTROL_SET;
|
||||||
#include <poppack.h>
|
#include <poppack.h>
|
||||||
|
|
||||||
|
#if defined(_M_X86)
|
||||||
typedef X86_DBGKD_CONTROL_SET DBGKD_CONTROL_SET;
|
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
|
// DBGKM Structure for Exceptions
|
||||||
|
@ -214,6 +220,8 @@ typedef struct _DBGKM_EXCEPTION64
|
||||||
//
|
//
|
||||||
// DBGKD Structure for State Change
|
// DBGKD Structure for State Change
|
||||||
//
|
//
|
||||||
|
#ifdef defined(_M_X86)
|
||||||
|
|
||||||
typedef struct _DBGKD_CONTROL_REPORT
|
typedef struct _DBGKD_CONTROL_REPORT
|
||||||
{
|
{
|
||||||
ULONG Dr6;
|
ULONG Dr6;
|
||||||
|
@ -228,6 +236,24 @@ typedef struct _DBGKD_CONTROL_REPORT
|
||||||
ULONG EFlags;
|
ULONG EFlags;
|
||||||
} DBGKD_CONTROL_REPORT, *PDBGKD_CONTROL_REPORT;
|
} 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
|
// DBGKD Structure for Debug I/O Type Print String
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue