37 CONST CHAR16 *BackColorStr;
38 CONST CHAR16 *ForeColorStr;
58 if (EFI_ERROR (Status)) {
59 if ((Status == EFI_VOLUME_CORRUPTED) && (ProblemParam !=
NULL)) {
85 gShellLevel3HiiHandle,
98 if ((BackColorStr ==
NULL) && (ForeColorStr ==
NULL)) {
107 if (BackColorStr !=
NULL) {
114 Background = EFI_BACKGROUND_BLACK;
117 Background = EFI_BACKGROUND_BLUE;
120 Background = EFI_BACKGROUND_GREEN;
123 Background = EFI_BACKGROUND_CYAN;
126 Background = EFI_BACKGROUND_RED;
129 Background = EFI_BACKGROUND_MAGENTA;
132 Background = EFI_BACKGROUND_BROWN;
135 Background = EFI_BACKGROUND_LIGHTGRAY;
139 if (ForeColorStr !=
NULL) {
146 Foreground = EFI_BLACK;
149 Foreground = EFI_BLUE;
152 Foreground = EFI_GREEN;
155 Foreground = EFI_CYAN;
158 Foreground = EFI_RED;
161 Foreground = EFI_MAGENTA;
164 Foreground = EFI_BROWN;
167 Foreground = EFI_LIGHTGRAY;
170 Foreground = EFI_DARKGRAY;
173 Foreground = EFI_LIGHTBLUE;
176 Foreground = EFI_LIGHTGREEN;
179 Foreground = EFI_LIGHTCYAN;
182 Foreground = EFI_LIGHTRED;
185 Foreground = EFI_LIGHTMAGENTA;
188 Foreground = EFI_YELLOW;
191 Foreground = EFI_WHITE;
223 return (ShellStatus);
UINTN EFIAPI StrLen(IN CONST CHAR16 *String)
SHELL_STATUS EFIAPI ShellCommandRunCls(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
VOID EFIAPI FreePool(IN VOID *Buffer)
#define ASSERT_EFI_ERROR(StatusParameter)
@ SHELL_INVALID_PARAMETER
UINTN EFIAPI ShellStrToUintn(IN CONST CHAR16 *String)
#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,...)
BOOLEAN EFIAPI ShellCommandLineGetFlag(IN CONST LIST_ENTRY *CONST CheckPackage, IN CONST CHAR16 *CONST KeyString)
@ TypeFlag
A flag that is present or not present only (IE "-a").
BOOLEAN EFIAPI ShellIsDecimalDigitCharacter(IN CHAR16 Char)
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)
EFI_SIMPLE_TEXT_OUTPUT_MODE * Mode
EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL * ConOut