9#ifndef _EFI_EDB_SYMBOL_H_
10#define _EFI_EDB_SYMBOL_H_
17#define EFI_DEBUGGER_DEFAULT_LINK_IMAGEBASE 0x10000000
19#define EFI_DEBUGGER_MAX_SYMBOL_ADDRESS_DELTA_VALUE 0x100000
22 EdbMatchSymbolTypeSameAdderss,
23 EdbMatchSymbolTypeNearestAddress,
24 EdbMatchSymbolTypeLowerAddress,
25 EdbMatchSymbolTypeUpperAddress,
26 EdbMatchSymbolTypeMax,
27} EDB_MATCH_SYMBOL_TYPE;
30 EdbEbcImageRvaSearchTypeAny,
31 EdbEbcImageRvaSearchTypeFirst,
32 EdbEbcImageRvaSearchTypeLast,
33 EdbEbcImageRvaSearchTypeMax,
34} EDB_EBC_IMAGE_RVA_SEARCH_TYPE;
51 IN EDB_MATCH_SYMBOL_TYPE Type,
108 IN EDB_EBC_IMAGE_RVA_SEARCH_TYPE SearchType
127 IN CHAR16 *MapFileName,
148 IN CHAR16 *MapFileName,
169 IN CHAR16 *MapFileName,
170 IN CHAR16 *CodeFileName,
172 IN VOID *SourceBuffer
190 IN CHAR16 *MapFileName,
191 IN CHAR16 *CodeFileName,
192 IN VOID *SourceBuffer
EFI_STATUS EdbLoadSymbol(IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN CHAR16 *FileName, IN UINTN BufferSize, IN VOID *Buffer)
EFI_STATUS EdbLoadCode(IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN CHAR16 *MapFileName, IN CHAR16 *FileName, IN UINTN BufferSize, IN VOID *Buffer)
EFI_STATUS EdbUnloadSymbol(IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN CHAR16 *FileName)
UINTN EbdFindSymbolAddress(IN UINTN Address, IN EDB_MATCH_SYMBOL_TYPE Type, OUT EFI_DEBUGGER_SYMBOL_OBJECT **Object, OUT EFI_DEBUGGER_SYMBOL_ENTRY **Entry)
UINTN EdbPrintSource(IN UINTN Address, IN BOOLEAN IsPrint)
EFI_STATUS EdbAddCodeBuffer(IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN CHAR16 *MapFileName, IN CHAR16 *CodeFileName, IN UINTN SourceBufferSize, IN VOID *SourceBuffer)
EFI_STATUS EdbUnloadCode(IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN CHAR16 *MapFileName, IN CHAR16 *FileName, OUT VOID **Buffer)
EFI_STATUS Symboltoi(IN CHAR16 *Symbol, OUT UINTN *Address)
EFI_STATUS EdbPatchSymbolRVA(IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN CHAR16 *FileName, IN EDB_EBC_IMAGE_RVA_SEARCH_TYPE SearchType)
CHAR8 * FindSymbolStr(IN UINTN Address)
EFI_STATUS EdbDeleteCodeBuffer(IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN CHAR16 *MapFileName, IN CHAR16 *CodeFileName, IN VOID *SourceBuffer)