|
SHELL_STATUS EFIAPI | ShellCommandRunStall (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
|
SHELL_STATUS EFIAPI | ShellCommandRunExit (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
|
SHELL_STATUS EFIAPI | ShellCommandRunEndIf (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
|
SHELL_STATUS EFIAPI | ShellCommandRunFor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
|
SHELL_STATUS EFIAPI | ShellCommandRunEndFor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
|
SHELL_STATUS EFIAPI | ShellCommandRunIf (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
|
SHELL_STATUS EFIAPI | ShellCommandRunGoto (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
|
SHELL_STATUS EFIAPI | ShellCommandRunShift (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
|
SHELL_STATUS EFIAPI | ShellCommandRunElse (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
|
BOOLEAN | MoveToTag (IN CONST LIST_MANIP_FUNC Function, IN CONST CHAR16 *DecrementerTag, IN CONST CHAR16 *IncrementerTag, IN CONST CHAR16 *Label OPTIONAL, IN OUT SCRIPT_FILE *ScriptFile, IN CONST BOOLEAN MovePast, IN CONST BOOLEAN FindOnly, IN CONST BOOLEAN WrapAroundScript) |
|
Main file for NULL named library for level 1 shell command functions.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file UefiShellLevel1CommandsLib.h.
Move the script pointer from 1 tag (line) to another.
It functions so that count starts at 1 and it increases or decreases when it hits the specified tags. when it hits zero the location has been found.
DecrementerTag and IncrementerTag are used to get around for/endfor and similar paired types where the entire middle should be ignored.
If label is used it will be used instead of the count.
- Parameters
-
[in] | Function | The function to use to enumerate through the list. Normally GetNextNode or GetPreviousNode. |
[in] | DecrementerTag | The tag to decrement the count at. |
[in] | IncrementerTag | The tag to increment the count at. |
[in] | Label | A label to look for. |
[in,out] | ScriptFile | The pointer to the current script file structure. |
[in] | MovePast | TRUE makes function return 1 past the found location. |
[in] | FindOnly | TRUE to not change the ScriptFile. |
[in] | WrapAroundScript | TRUE to wrap end-to-beginning or vise versa in searching. |
Definition at line 250 of file UefiShellLevel1CommandsLib.c.