9#ifndef _EFI_EDB_DISASM_SUPPORT_H_
10#define _EFI_EDB_DISASM_SUPPORT_H_
14#define EDB_BYTECODE_NUMBER_IN_LINE 5
17#define EDB_PRINT_ADDRESS_FORMAT L"%08x: "
20#define EDB_PRINT_ADDRESS_FORMAT L"%012lx: "
23#define OPCODE_MAX 0x40
25#define EDB_INSTRUCTION_NAME_MAX_LENGTH 10
26#define EDB_INSTRUCTION_NAME_MAX_SIZE (EDB_INSTRUCTION_NAME_MAX_LENGTH * sizeof(CHAR16))
27#define EDB_INSTRUCTION_CONTENT_MAX_LENGTH 30
28#define EDB_INSTRUCTION_CONTENT_MAX_SIZE (EDB_INSTRUCTION_CONTENT_MAX_LENGTH * sizeof(CHAR16))
41 IN UINTN InstructionContentOffset
132 OUT UINT64 *NaturalUnits,
133 OUT UINT64 *ConstantUnits
266 IN UINT64 NaturalUnits,
267 IN UINT64 ConstantUnits
UINTN EdbPrintImmData64(IN UINT64 Data)
UINTN EdbPrintRawIndexData16(IN UINT16 Data16)
UINTN EdbPrintIndexData(IN BOOLEAN Sign, IN UINTN NaturalUnits, IN UINTN ConstantUnits)
UINTN EdbPrintData64n(IN UINT64 Data64)
UINTN EdbPrintInstructionName(IN CHAR16 *Name)
VOID EdbSetOffset(IN UINTN InstructionNameOffset, IN UINTN InstructionContentOffset)
UINTN EdbPrintData64s(IN UINT64 Data64)
UINTN EdbPrintData8s(IN UINT8 Data8)
UINTN EdbPrintRegister1(IN UINT8 Operands)
UINTN EdbPrintImmData64n(IN UINT64 Data64)
BOOLEAN EdbGetNaturalIndex16(IN UINT16 Data16, OUT UINTN *NaturalUnits, OUT UINTN *ConstantUnits)
UINTN EdbPrintData16s(IN UINT16 Data16)
VOID EdbPrintRaw(IN EFI_PHYSICAL_ADDRESS InstructionAddress, IN UINTN InstructionNumber)
CHAR16 * EdbPreInstructionString(VOID)
UINTN EdbPrintImmData32(IN UINT32 Data)
UINTN EdbPrintIndexData64(IN BOOLEAN Sign, IN UINT64 NaturalUnits, IN UINT64 ConstantUnits)
UINTN EdbPrintData32s(IN UINT32 Data32)
BOOLEAN EdbGetNaturalIndex32(IN UINT32 Data32, OUT UINTN *NaturalUnits, OUT UINTN *ConstantUnits)
EFI_STATUS EdbShowDisasm(IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN EFI_SYSTEM_CONTEXT SystemContext)
UINTN EdbPrintImmData8(IN UINT8 Data)
UINTN EdbPrintDatan(IN UINTN Data)
UINTN EdbPrintImmData16(IN UINT16 Data)
CHAR16 * EdbPostInstructionString(VOID)
UINTN EdbPrintRawIndexData32(IN UINT32 Data32)
UINTN EdbPrintData8(IN UINT8 Data8)
UINT64 GetRegisterValue(IN EFI_SYSTEM_CONTEXT SystemContext, IN UINT8 Index)
UINTN EdbPrintRawIndexData64(IN UINT64 Data64)
UINTN EdbPrintData16(IN UINT16 Data16)
UINTN EdbPrintDedicatedRegister1(IN UINT8 Operands)
UINTN EdbPrintDedicatedRegister2(IN UINT8 Operands)
UINTN EdbPrintComma(VOID)
UINTN EdbFindAndPrintSymbol(IN UINTN Address)
BOOLEAN EdbGetNaturalIndex64(IN UINT64 Data64, OUT UINT64 *NaturalUnits, OUT UINT64 *ConstantUnits)
UINTN EdbPrintRegister2(IN UINT8 Operands)
UINTN EdbPrintData32(IN UINT32 Data32)
UINTN EdbPrintImmDatan(IN UINTN Data)
UINTN EdbPrintData64(IN UINT64 Data64)
UINT64 EFI_PHYSICAL_ADDRESS