TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | SHELL_FOR_INFO |
Macros | |
#define | SIZE_OF_SHELL_FOR_INFO OFFSET_OF (SHELL_FOR_INFO, Set) |
#define | SHELL_FOR_INFO_SIGNATURE SIGNATURE_32 ('S', 'F', 'I', 's') |
Functions | |
BOOLEAN | ShellIsValidForNumber (IN CONST CHAR16 *Number) |
SHELL_STATUS EFIAPI | ShellCommandRunEndFor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
EFI_STATUS | InternalUpdateAliasOnList (IN CONST CHAR16 *Alias, IN CONST CHAR16 *CommandString, IN OUT LIST_ENTRY *List) |
BOOLEAN | InternalIsAliasOnList (IN CONST CHAR16 *Alias, IN CONST LIST_ENTRY *List) |
BOOLEAN | InternalRemoveAliasFromList (IN CONST CHAR16 *Alias, IN OUT LIST_ENTRY *List) |
UINTN | ReturnUintn (IN CONST CHAR16 *String) |
SHELL_STATUS EFIAPI | ShellCommandRunFor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Main file for endfor and for shell level 1 functions.
(C) Copyright 2015 Hewlett-Packard Development Company, L.P.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file For.c.
#define SHELL_FOR_INFO_SIGNATURE SIGNATURE_32 ('S', 'F', 'I', 's') |
#define SIZE_OF_SHELL_FOR_INFO OFFSET_OF (SHELL_FOR_INFO, Set) |
BOOLEAN InternalIsAliasOnList | ( | IN CONST CHAR16 * | Alias, |
IN CONST LIST_ENTRY * | List | ||
) |
BOOLEAN InternalRemoveAliasFromList | ( | IN CONST CHAR16 * | Alias, |
IN OUT LIST_ENTRY * | List | ||
) |
EFI_STATUS InternalUpdateAliasOnList | ( | IN CONST CHAR16 * | Alias, |
IN CONST CHAR16 * | CommandString, | ||
IN OUT LIST_ENTRY * | List | ||
) |
Update the value of a given alias on the list. If the alias is not there then add it.
[in] | Alias | The alias to test for. |
[in] | CommandString | The updated command string. |
[in,out] | List | The list to search. |
EFI_SUCCESS | The operation was completed successfully. |
EFI_OUT_OF_RESOURCES | There was not enough free memory. |
SHELL_STATUS EFIAPI ShellCommandRunEndFor | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
SHELL_STATUS EFIAPI ShellCommandRunFor | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |