TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | DEBUG_DATA_IA32_FX_SAVE_STATE |
struct | DEBUG_DATA_IA32_SYSTEM_CONTEXT |
struct | DEBUG_DATA_X64_FX_SAVE_STATE |
struct | DEBUG_DATA_X64_SYSTEM_CONTEXT |
Macros | |
#define | SOFT_DEBUGGER_REGISTER_DR0 0x00 |
#define | SOFT_DEBUGGER_REGISTER_DR1 0x01 |
#define | SOFT_DEBUGGER_REGISTER_DR2 0x02 |
#define | SOFT_DEBUGGER_REGISTER_DR3 0x03 |
#define | SOFT_DEBUGGER_REGISTER_DR6 0x04 |
#define | SOFT_DEBUGGER_REGISTER_DR7 0x05 |
#define | SOFT_DEBUGGER_REGISTER_EFLAGS 0x06 |
#define | SOFT_DEBUGGER_REGISTER_LDTR 0x07 |
#define | SOFT_DEBUGGER_REGISTER_TR 0x08 |
#define | SOFT_DEBUGGER_REGISTER_GDTR0 0x09 |
#define | SOFT_DEBUGGER_REGISTER_GDTR1 0x0A |
#define | SOFT_DEBUGGER_REGISTER_IDTR0 0x0B |
#define | SOFT_DEBUGGER_REGISTER_IDTR1 0x0C |
#define | SOFT_DEBUGGER_REGISTER_EIP 0x0D |
#define | SOFT_DEBUGGER_REGISTER_GS 0x0E |
#define | SOFT_DEBUGGER_REGISTER_FS 0x0F |
#define | SOFT_DEBUGGER_REGISTER_ES 0x10 |
#define | SOFT_DEBUGGER_REGISTER_DS 0x11 |
#define | SOFT_DEBUGGER_REGISTER_CS 0x12 |
#define | SOFT_DEBUGGER_REGISTER_SS 0x13 |
#define | SOFT_DEBUGGER_REGISTER_CR0 0x14 |
#define | SOFT_DEBUGGER_REGISTER_CR1 0x15 |
#define | SOFT_DEBUGGER_REGISTER_CR2 0x16 |
#define | SOFT_DEBUGGER_REGISTER_CR3 0x17 |
#define | SOFT_DEBUGGER_REGISTER_CR4 0x18 |
#define | SOFT_DEBUGGER_REGISTER_DI 0x19 |
#define | SOFT_DEBUGGER_REGISTER_SI 0x1A |
#define | SOFT_DEBUGGER_REGISTER_BP 0x1B |
#define | SOFT_DEBUGGER_REGISTER_SP 0x1C |
#define | SOFT_DEBUGGER_REGISTER_DX 0x1D |
#define | SOFT_DEBUGGER_REGISTER_CX 0x1E |
#define | SOFT_DEBUGGER_REGISTER_BX 0x1F |
#define | SOFT_DEBUGGER_REGISTER_AX 0x20 |
#define | SOFT_DEBUGGER_REGISTER_CR8 0x21 |
#define | SOFT_DEBUGGER_REGISTER_R8 0x22 |
#define | SOFT_DEBUGGER_REGISTER_R9 0x23 |
#define | SOFT_DEBUGGER_REGISTER_R10 0x24 |
#define | SOFT_DEBUGGER_REGISTER_R11 0x25 |
#define | SOFT_DEBUGGER_REGISTER_R12 0x26 |
#define | SOFT_DEBUGGER_REGISTER_R13 0x27 |
#define | SOFT_DEBUGGER_REGISTER_R14 0x28 |
#define | SOFT_DEBUGGER_REGISTER_R15 0x29 |
#define | SOFT_DEBUGGER_REGISTER_FP_BASE 0x30 |
#define | SOFT_DEBUGGER_REGISTER_FP_FCW (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x00) |
#define | SOFT_DEBUGGER_REGISTER_FP_FSW (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x01) |
#define | SOFT_DEBUGGER_REGISTER_FP_FTW (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x02) |
#define | SOFT_DEBUGGER_REGISTER_FP_OPCODE (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x03) |
#define | SOFT_DEBUGGER_REGISTER_FP_EIP (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x04) |
#define | SOFT_DEBUGGER_REGISTER_FP_CS (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x05) |
#define | SOFT_DEBUGGER_REGISTER_FP_DATAOFFSET (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x06) |
#define | SOFT_DEBUGGER_REGISTER_FP_DS (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x07) |
#define | SOFT_DEBUGGER_REGISTER_FP_MXCSR (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x08) |
#define | SOFT_DEBUGGER_REGISTER_FP_MXCSR_MASK (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x09) |
#define | SOFT_DEBUGGER_REGISTER_ST0 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x0A) |
#define | SOFT_DEBUGGER_REGISTER_ST1 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x0B) |
#define | SOFT_DEBUGGER_REGISTER_ST2 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x0C) |
#define | SOFT_DEBUGGER_REGISTER_ST3 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x0D) |
#define | SOFT_DEBUGGER_REGISTER_ST4 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x0E) |
#define | SOFT_DEBUGGER_REGISTER_ST5 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x0F) |
#define | SOFT_DEBUGGER_REGISTER_ST6 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x10) |
#define | SOFT_DEBUGGER_REGISTER_ST7 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x11) |
#define | SOFT_DEBUGGER_REGISTER_XMM0 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x12) |
#define | SOFT_DEBUGGER_REGISTER_XMM1 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x13) |
#define | SOFT_DEBUGGER_REGISTER_XMM2 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x14) |
#define | SOFT_DEBUGGER_REGISTER_XMM3 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x15) |
#define | SOFT_DEBUGGER_REGISTER_XMM4 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x16) |
#define | SOFT_DEBUGGER_REGISTER_XMM5 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x17) |
#define | SOFT_DEBUGGER_REGISTER_XMM6 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x18) |
#define | SOFT_DEBUGGER_REGISTER_XMM7 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x19) |
#define | SOFT_DEBUGGER_REGISTER_XMM8 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x1A) |
#define | SOFT_DEBUGGER_REGISTER_XMM9 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x1B) |
#define | SOFT_DEBUGGER_REGISTER_XMM10 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x1C) |
#define | SOFT_DEBUGGER_REGISTER_XMM11 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x1D) |
#define | SOFT_DEBUGGER_REGISTER_XMM12 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x1E) |
#define | SOFT_DEBUGGER_REGISTER_XMM13 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x1F) |
#define | SOFT_DEBUGGER_REGISTER_XMM14 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x20) |
#define | SOFT_DEBUGGER_REGISTER_XMM15 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x21) |
#define | SOFT_DEBUGGER_REGISTER_MM0 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x22) |
#define | SOFT_DEBUGGER_REGISTER_MM1 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x23) |
#define | SOFT_DEBUGGER_REGISTER_MM2 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x24) |
#define | SOFT_DEBUGGER_REGISTER_MM3 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x25) |
#define | SOFT_DEBUGGER_REGISTER_MM4 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x26) |
#define | SOFT_DEBUGGER_REGISTER_MM5 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x27) |
#define | SOFT_DEBUGGER_REGISTER_MM6 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x28) |
#define | SOFT_DEBUGGER_REGISTER_MM7 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x29) |
#define | SOFT_DEBUGGER_REGISTER_MAX SOFT_DEBUGGER_REGISTER_MM7 |
#define | SOFT_DEBUGGER_MSR_EFER (0xC0000080) |
IA32/x64 architecture specific definitions needed by debug transfer protocol.It is only intended to be used by Debug related module implementation.
Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file ProcessorContext.h.
#define SOFT_DEBUGGER_MSR_EFER (0xC0000080) |
Definition at line 114 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_AX 0x20 |
Definition at line 49 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_BP 0x1B |
Definition at line 44 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_BX 0x1F |
Definition at line 48 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_CR0 0x14 |
Definition at line 36 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_CR1 0x15 |
Definition at line 37 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_CR2 0x16 |
Definition at line 38 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_CR3 0x17 |
Definition at line 39 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_CR4 0x18 |
Definition at line 40 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_CR8 0x21 |
Definition at line 54 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_CS 0x12 |
Definition at line 34 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_CX 0x1E |
Definition at line 47 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_DI 0x19 |
Definition at line 42 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_DR0 0x00 |
Definition at line 16 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_DR1 0x01 |
Definition at line 17 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_DR2 0x02 |
Definition at line 18 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_DR3 0x03 |
Definition at line 19 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_DR6 0x04 |
Definition at line 20 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_DR7 0x05 |
Definition at line 21 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_DS 0x11 |
Definition at line 33 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_DX 0x1D |
Definition at line 46 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_EFLAGS 0x06 |
Definition at line 22 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_EIP 0x0D |
Definition at line 29 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_ES 0x10 |
Definition at line 32 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_FP_BASE 0x30 |
Definition at line 67 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_FP_CS (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x05) |
Definition at line 74 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_FP_DATAOFFSET (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x06) |
Definition at line 75 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_FP_DS (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x07) |
Definition at line 76 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_FP_EIP (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x04) |
Definition at line 73 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_FP_FCW (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x00) |
Definition at line 69 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_FP_FSW (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x01) |
Definition at line 70 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_FP_FTW (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x02) |
Definition at line 71 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_FP_MXCSR (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x08) |
Definition at line 77 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_FP_MXCSR_MASK (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x09) |
Definition at line 78 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_FP_OPCODE (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x03) |
Definition at line 72 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_FS 0x0F |
Definition at line 31 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_GDTR0 0x09 |
Definition at line 25 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_GDTR1 0x0A |
Definition at line 26 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_GS 0x0E |
Definition at line 30 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_IDTR0 0x0B |
Definition at line 27 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_IDTR1 0x0C |
Definition at line 28 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_LDTR 0x07 |
Definition at line 23 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_MAX SOFT_DEBUGGER_REGISTER_MM7 |
Definition at line 112 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_MM0 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x22) |
Definition at line 103 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_MM1 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x23) |
Definition at line 104 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_MM2 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x24) |
Definition at line 105 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_MM3 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x25) |
Definition at line 106 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_MM4 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x26) |
Definition at line 107 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_MM5 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x27) |
Definition at line 108 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_MM6 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x28) |
Definition at line 109 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_MM7 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x29) |
Definition at line 110 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_R10 0x24 |
Definition at line 57 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_R11 0x25 |
Definition at line 58 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_R12 0x26 |
Definition at line 59 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_R13 0x27 |
Definition at line 60 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_R14 0x28 |
Definition at line 61 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_R15 0x29 |
Definition at line 62 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_R8 0x22 |
Definition at line 55 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_R9 0x23 |
Definition at line 56 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_SI 0x1A |
Definition at line 43 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_SP 0x1C |
Definition at line 45 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_SS 0x13 |
Definition at line 35 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_ST0 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x0A) |
Definition at line 79 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_ST1 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x0B) |
Definition at line 80 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_ST2 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x0C) |
Definition at line 81 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_ST3 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x0D) |
Definition at line 82 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_ST4 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x0E) |
Definition at line 83 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_ST5 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x0F) |
Definition at line 84 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_ST6 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x10) |
Definition at line 85 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_ST7 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x11) |
Definition at line 86 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_TR 0x08 |
Definition at line 24 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_XMM0 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x12) |
Definition at line 87 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_XMM1 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x13) |
Definition at line 88 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_XMM10 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x1C) |
Definition at line 97 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_XMM11 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x1D) |
Definition at line 98 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_XMM12 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x1E) |
Definition at line 99 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_XMM13 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x1F) |
Definition at line 100 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_XMM14 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x20) |
Definition at line 101 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_XMM15 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x21) |
Definition at line 102 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_XMM2 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x14) |
Definition at line 89 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_XMM3 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x15) |
Definition at line 90 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_XMM4 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x16) |
Definition at line 91 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_XMM5 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x17) |
Definition at line 92 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_XMM6 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x18) |
Definition at line 93 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_XMM7 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x19) |
Definition at line 94 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_XMM8 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x1A) |
Definition at line 95 of file ProcessorContext.h.
#define SOFT_DEBUGGER_REGISTER_XMM9 (SOFT_DEBUGGER_REGISTER_FP_BASE + 0x1B) |
Definition at line 96 of file ProcessorContext.h.