📄 xdb.h
字号:
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
//
// -----------------------------------------------------------------------
// INTEL CORPORATION MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS
// MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
// INTEL CORPORATION ASSUMES NO RESPONSIBILITY FOR ANY ERRORS THAT MAY
// APPEAR IN THIS DOCUMENT. INTEL CORPORATION MAKES NO COMMITMENT TO
// UPDATE NOR TO KEEP CURRENT THE INFORMATION CONTAINED IN THIS DOCUMENT.
// -----------------------------------------------------------------------
//
// XDB Browser debugging extension definitions
#ifndef __XDB_H__
#define __XDB_H__
// Structs for ContextRegs accessing
// QueryContextRegs Output Struct - No Input buffer necessary
typedef struct
{
DWORD Count;
DWORD IdTable[255];
}XSCBwrQryCxtRegsOut, *PXSCBwrQryCxtRegsOut;
// align this structure at a 64bit boundary.
// xllp_wmmx.s uses Context_Area to save 64 bit registers and
// it expects Context_Area[1] to be 64bit aligned.
__declspec(align(64))
typedef struct
{
DWORD ContextPtr;
DWORD ThreadId;
DWORD ProcessId;
DWORD Context_Area[XSCOPROCREGSAVE_SIZE/4];
}XSCContextArea, *PXSCContextArea;
// structure allocated for saving coproc registers when xdb is
// compiled into the image
//
extern XSCContextArea XSCBwrSaveThreadContextArea;
#endif //__XDB_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -