34 CONST CHAR16 *TempParam;
55 if (EFI_ERROR (Status)) {
56 if ((Status == EFI_VOLUME_CORRUPTED) && (ProblemParam !=
NULL)) {
68 Cwd = gEfiShellProtocol->GetCurDir (
NULL);
79 Spot =
StrStr (Nfs, L
"\\");
84 gEfiShellProtocol->SetCurDir (
NULL, Nfs);
92 if (EFI_ERROR (Status)) {
104 if (TempParam ==
NULL) {
105 ASSERT (TempParam !=
NULL);
121 if (!EFI_ERROR (Status)) {
127 if (Status != EFI_OUT_OF_RESOURCES) {
140 }
else if (Status == EFI_OUT_OF_RESOURCES) {
143 if (Buffer !=
NULL) {
144 if (
StrCmp (Buffer, L
"") != 0) {
157 if (Status != EFI_OUT_OF_RESOURCES) {
158 SHELL_FREE_NON_NULL (Buffer);
INTN EFIAPI StrCmp(IN CONST CHAR16 *FirstString, IN CONST CHAR16 *SecondString)
CHAR16 *EFIAPI StrStr(IN CONST CHAR16 *String, IN CONST CHAR16 *SearchString)
SHELL_STATUS EFIAPI ShellCommandRunEdit(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
CONST CHAR16 * StatusBarGetString(VOID)
VOID EFIAPI FreePool(IN VOID *Buffer)
EFI_STATUS FileBufferRead(IN CONST CHAR16 *FileName, IN CONST BOOLEAN Recover)
EFI_STATUS FileBufferSetFileName(IN CONST CHAR16 *Str)
EFI_STATUS MainEditorBackup(VOID)
EFI_STATUS MainEditorCleanup(VOID)
EFI_STATUS MainEditorInit(VOID)
EFI_STATUS MainEditorKeyInput(VOID)
VOID MainEditorRefresh(VOID)
#define ASSERT_EFI_ERROR(StatusParameter)
@ SHELL_INVALID_PARAMETER
EFI_STATUS EFIAPI CommandInit(VOID)
#define ShellCommandLineParse(CheckList, CheckPackage, ProblemParam, AutoPageBreak)
Make it easy to upgrade from older versions of the shell library.
EFI_STATUS EFIAPI ShellPrintHiiEx(IN INT32 Col OPTIONAL, IN INT32 Row OPTIONAL, IN CONST CHAR8 *Language OPTIONAL, IN CONST EFI_STRING_ID HiiFormatStringId, IN CONST EFI_HII_HANDLE HiiFormatHandle,...)
CHAR16 *EFIAPI StrnCatGrow(IN OUT CHAR16 **Destination, IN OUT UINTN *CurrentSize, IN CONST CHAR16 *Source, IN UINTN Count)
CONST CHAR16 *EFIAPI ShellGetEnvironmentVariable(IN CONST CHAR16 *EnvKey)
VOID EFIAPI ShellCommandLineFreeVarList(IN LIST_ENTRY *CheckPackage)
EFI_STATUS EFIAPI ShellInitialize(VOID)
CONST CHAR16 *EFIAPI ShellCommandLineGetRawValue(IN CONST LIST_ENTRY *CONST CheckPackage, IN UINTN Position)
UINTN EFIAPI ShellCommandLineGetCount(IN CONST LIST_ENTRY *CheckPackage)
SHELL_PARAM_ITEM EmptyParamList[]
Helper structure for no parameters (besides -? and -b)
CHAR16 *EFIAPI CatSPrint(IN CHAR16 *String OPTIONAL, IN CONST CHAR16 *FormatString,...)
EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL * ConOut