qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 43/46] windbg: added new api functions


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v4 43/46] windbg: added new api functions
Date: Fri, 12 Jan 2018 09:53:17 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

On 11/12/2017 14:25, Mihail Abakumov wrote:
> Added some definitions for new windbg.
> 
> Signed-off-by: Mihail Abakumov <address@hidden>
> Signed-off-by: Pavel Dovgalyuk <address@hidden>
> Signed-off-by: Dmitriy Koltunov <address@hidden>
> ---
>  include/exec/windbgkd.h |   21 ++++++++++++++++++++-
>  1 file changed, 20 insertions(+), 1 deletion(-)
> 
> diff --git a/include/exec/windbgkd.h b/include/exec/windbgkd.h
> index 5008cbb729..aa2b4fdbd9 100755
> --- a/include/exec/windbgkd.h
> +++ b/include/exec/windbgkd.h
> @@ -112,7 +112,10 @@
>  #define DbgKdFillMemoryApi                  0x0000315b
>  #define DbgKdQueryMemoryApi                 0x0000315c
>  #define DbgKdSwitchPartition                0x0000315d
> -#define DbgKdMaximumManipulate              0x0000315e
> +#define DbgKdWriteCustomBreakpointApi       0x0000315e
> +#define DbgKdGetContextExApi                0x0000315f
> +#define DbgKdSetContextExApi                0x00003160
> +#define DbgKdMaximumManipulate              0x00003161
>  
>  /*
>   * Debug I/O Types
> @@ -723,6 +726,20 @@ typedef struct _DBGKD_SWITCH_PARTITION {
>      uint32_t Partition;
>  } DBGKD_SWITCH_PARTITION;
>  
> +typedef struct _DBGKD_CONTEXT_EX {
> +   uint32_t Offset;
> +   uint32_t ByteCount;
> +   uint32_t BytesCopied;
> +} DBGKD_CONTEXT_EX, *PDBGKD_CONTEXT_EX;
> +
> +typedef struct _DBGKD_WRITE_CUSTOM_BREAKPOINT {
> +   uint64_t BreakPointAddress;
> +   uint64_t BreakPointInstruction;
> +   uint32_t BreakPointHandle;
> +   uint16_t BreakPointInstructionSize;
> +   uint16_t BreakPointInstructionAlignment;
> +} DBGKD_WRITE_CUSTOM_BREAKPOINT, *PDBGKD_WRITE_CUSTOM_BREAKPOINT;
> +
>  /*
>   * DBGKD Structure for Manipulate
>   */
> @@ -787,6 +804,8 @@ typedef struct _DBGKD_MANIPULATE_STATE64 {
>          DBGKD_FILL_MEMORY FillMemory;
>          DBGKD_QUERY_MEMORY QueryMemory;
>          DBGKD_SWITCH_PARTITION SwitchPartition;
> +        DBGKD_WRITE_CUSTOM_BREAKPOINT WriteCustomBreakpoint;
> +        DBGKD_CONTEXT_EX ContextEx;
>      } u;
>  } DBGKD_MANIPULATE_STATE64, *PDBGKD_MANIPULATE_STATE64;
>  
> 
> 

Please squash in patch 2 ("windbg: added windbg's KD header file")

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]