25 IN CHAR16 *CommandArg,
34 if (CommandArg ==
NULL) {
35 EDBPrint (L
"Scope: invalid Address\n");
36 return EFI_DEBUG_CONTINUE;
42 Status =
Symboltoi (CommandArg, &Address);
43 if (EFI_ERROR (Status)) {
44 if (Status == EFI_NOT_FOUND) {
45 Address =
Xtoi (CommandArg);
50 EDBPrint (L
"Command Argument error!\n");
51 return EFI_DEBUG_CONTINUE;
55 DebuggerPrivate->InstructionScope = Address;
56 EDBPrint (L
"Scope: 0x%x\n", DebuggerPrivate->InstructionScope);
62 return EFI_DEBUG_CONTINUE;
79 IN CHAR16 *CommandArg,
85 if (CommandArg ==
NULL) {
91 DebuggerPrivate->InstructionNumber =
Atoi (CommandArg);
92 EDBPrint (L
"List Number: %d\n", DebuggerPrivate->InstructionNumber);
99 return EFI_DEBUG_CONTINUE;
EFI_DEBUG_STATUS DebuggerList(IN CHAR16 *CommandArg, IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN EFI_EXCEPTION_TYPE ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
EFI_DEBUG_STATUS DebuggerScope(IN CHAR16 *CommandArg, IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN EFI_EXCEPTION_TYPE ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
EFI_STATUS EdbShowDisasm(IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN EFI_SYSTEM_CONTEXT SystemContext)
UINTN EFIAPI Xtoi(CHAR16 *Str)
UINTN EFIAPI Atoi(CHAR16 *Str)
UINTN EFIAPI EDBPrint(IN CONST CHAR16 *Format,...)
EFI_STATUS Symboltoi(IN CHAR16 *Symbol, OUT UINTN *Address)