25 IN CHAR16 *CommandArg,
36 if (CommandArg ==
NULL) {
37 for (Index = 0; DebuggerPrivate->DebuggerCommandSet[Index].CommandName !=
NULL; Index++) {
38 EDBPrint (DebuggerPrivate->DebuggerCommandSet[Index].ClassName);
39 if (
StrCmp (DebuggerPrivate->DebuggerCommandSet[Index].CommandTitle, L
"") != 0) {
41 EDBPrint (DebuggerPrivate->DebuggerCommandSet[Index].CommandTitle);
45 return EFI_DEBUG_CONTINUE;
52 for (Index = 0; DebuggerPrivate->DebuggerCommandSet[Index].CommandName !=
NULL; Index++) {
53 if (
StriCmp (CommandArg, DebuggerPrivate->DebuggerCommandSet[Index].CommandName) == 0) {
54 EDBPrint (DebuggerPrivate->DebuggerCommandSet[Index].CommandHelp);
55 EDBPrint (DebuggerPrivate->DebuggerCommandSet[Index].CommandSyntax);
56 return EFI_DEBUG_CONTINUE;
63 EDBPrint (L
"No help info for this command\n");
68 return EFI_DEBUG_CONTINUE;
INTN EFIAPI StrCmp(IN CONST CHAR16 *FirstString, IN CONST CHAR16 *SecondString)
EFI_DEBUG_STATUS DebuggerHelp(IN CHAR16 *CommandArg, IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN EFI_EXCEPTION_TYPE ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
UINTN EFIAPI EDBPrint(IN CONST CHAR16 *Format,...)
INTN EFIAPI StriCmp(IN CHAR16 *String, IN CHAR16 *String2)