ShellPkg[all]
1.02
|
Data Structures | |
struct | SHELL_FILE_ARG |
struct | HANDLE_ENUMERATOR |
struct | PROTOCOL_INFO |
struct | PROTOCOL_INFO_ENUMERATOR |
struct | EFI_SHELL_ENVIRONMENT2 |
EFI_SHELL_ENVIRONMENT2 protocol structure. More... | |
Macros | |
#define | DEFAULT_INIT_ROW 1 |
#define | DEFAULT_AUTO_LF FALSE |
#define | SHELL_FILE_ARG_SIGNATURE SIGNATURE_32 ('g', 'r', 'a', 'f') |
Signature for SHELL_FILE_ARG. More... | |
#define | SHELL_ENVIRONMENT_PROTOCOL_GUID |
#define | EFI_SE_EXT_SIGNATURE_GUID |
#define | EFI_SHELL_MAJOR_VER 0x00000001 |
Major version of the EFI_SHELL_ENVIRONMENT2. More... | |
#define | EFI_SHELL_MINOR_VER 0x00000000 |
Minor version of the EFI_SHELL_ENVIRONMENT2. More... | |
#define | PROTOCOL_INFO_SIGNATURE SIGNATURE_32 ('s', 'p', 'i', 'n') |
#define | EFI_SHELL_COMPATIBLE_MODE_VER L"1.1.1" |
The string for lowest version this shell supports. More... | |
#define | EFI_SHELL_ENHANCED_MODE_VER L"1.1.2" |
The string for highest version this shell supports. More... | |
Typedefs | |
typedef IN VOID * | Interface |
typedef IN EFI_SYSTEM_TABLE * | SystemTable |
typedef IN CHAR16 * | CommandLine |
typedef IN CHAR16 IN BOOLEAN | DebugOutput |
typedef CHAR16 *EFIAPI * | SHELLENV_GET_ENV (IN CHAR16 *Name) |
typedef CHAR16 *EFIAPI * | SHELLENV_GET_MAP (IN CHAR16 *Name) |
typedef IN CHAR16 * | Cmd |
typedef IN CHAR16 IN SHELLCMD_GET_LINE_HELP | GetLineHelp |
typedef IN SHELLENV_DUMP_PROTOCOL_INFO | DumpToken |
typedef IN SHELLENV_DUMP_PROTOCOL_INFO IN SHELLENV_DUMP_PROTOCOL_INFO | DumpInfo |
typedef IN SHELLENV_DUMP_PROTOCOL_INFO IN SHELLENV_DUMP_PROTOCOL_INFO IN CHAR16 * | IdString |
typedef CHAR16 *EFIAPI * | SHELLENV_GET_PROT (IN EFI_GUID *Protocol, IN BOOLEAN GenId) |
typedef CHAR16 *EFIAPI * | SHELLENV_CUR_DIR (IN CHAR16 *DeviceName) |
typedef IN OUT LIST_ENTRY * | ListHead |
typedef EFI_SHELL_INTERFACE *EFIAPI * | SHELLENV_NEW_SHELL (IN EFI_HANDLE ImageHandle) |
typedef IN BOOLEAN | AutoWrap |
typedef IN OUT EFI_SIMPLE_TEXT_INPUT_PROTOCOL ** | ConIn |
typedef IN OUT EFI_SIMPLE_TEXT_INPUT_PROTOCOL IN EFI_HANDLE | ConOutHandle |
typedef IN OUT EFI_SIMPLE_TEXT_INPUT_PROTOCOL IN EFI_HANDLE IN OUT EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL ** | ConOut |
typedef IN BOOLEAN | UseComponentName |
typedef IN BOOLEAN IN BOOLEAN | UseDevicePath |
typedef IN BOOLEAN IN BOOLEAN IN CHAR8 * | Language |
typedef IN BOOLEAN IN BOOLEAN IN CHAR8 IN OUT CHAR16 ** | BestDeviceName |
typedef IN BOOLEAN IN BOOLEAN IN CHAR8 IN OUT CHAR16 OUT EFI_STATUS * | ConfigurationStatus |
typedef IN BOOLEAN IN BOOLEAN IN CHAR8 IN OUT CHAR16 OUT EFI_STATUS OUT EFI_STATUS * | DiagnosticsStatus |
typedef IN BOOLEAN IN BOOLEAN IN CHAR8 IN OUT CHAR16 OUT EFI_STATUS OUT EFI_STATUS IN BOOLEAN | Display |
typedef IN BOOLEAN IN BOOLEAN IN CHAR8 IN OUT CHAR16 OUT EFI_STATUS OUT EFI_STATUS IN BOOLEAN IN UINTN | Indent |
typedef EFI_DEVICE_PATH_PROTOCOL *EFIAPI * | SHELLENV_NAME_TO_PATH (IN CHAR16 *Path) |
typedef IN BOOLEAN | ConsistMapping |
typedef IN BOOLEAN OUT CHAR16 ** | Name |
typedef OUT EFI_DEVICE_PATH_PROTOCOL ** | DevPath |
Functions | |
typedef | VOID (EFIAPI *SHELLENV_DUMP_PROTOCOL_INFO)(IN EFI_HANDLE Handle |
typedef | EFI_STATUS (EFIAPI *SHELLENV_INTERNAL_COMMAND)(IN EFI_HANDLE ImageHandle |
typedef | BOOLEAN (EFIAPI *SHELLENV_BATCH_IS_ACTIVE)(VOID) |
typedef | UINT32 (EFIAPI *SHELLENV_GET_KEY_FILTER)(VOID) |
typedef | UINTN (EFIAPI *RESET_HANDLE_ENUMERATOR)(IN UINTN EnumIndex) |
Variables | |
EFI_GUID | gEfiShellEnvironment2Guid |
EFI_GUID | gEfiShellEnvironment2ExtGuid |
Defines for EFI shell environment 2 ported to EDK II build environment. (no spec)
Copyright (c) 2005 - 2010, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
#define DEFAULT_AUTO_LF FALSE |
#define DEFAULT_INIT_ROW 1 |
#define EFI_SE_EXT_SIGNATURE_GUID |
GUID for the shell environment2 extension (main GUID above).
#define EFI_SHELL_COMPATIBLE_MODE_VER L"1.1.1" |
The string for lowest version this shell supports.
#define EFI_SHELL_ENHANCED_MODE_VER L"1.1.2" |
The string for highest version this shell supports.
#define EFI_SHELL_MAJOR_VER 0x00000001 |
Major version of the EFI_SHELL_ENVIRONMENT2.
#define EFI_SHELL_MINOR_VER 0x00000000 |
Minor version of the EFI_SHELL_ENVIRONMENT2.
#define PROTOCOL_INFO_SIGNATURE SIGNATURE_32 ('s', 'p', 'i', 'n') |
Signature for the PROTOCOL_INFO structure.
#define SHELL_ENVIRONMENT_PROTOCOL_GUID |
GUID for the shell environment2 and shell environment.
#define SHELL_FILE_ARG_SIGNATURE SIGNATURE_32 ('g', 'r', 'a', 'f') |
Signature for SHELL_FILE_ARG.
typedef IN BOOLEAN IN BOOLEAN IN CHAR8 IN OUT CHAR16** BestDeviceName |
typedef IN CHAR16* Cmd |
typedef IN CHAR16* CommandLine |
typedef IN BOOLEAN IN BOOLEAN IN CHAR8 IN OUT CHAR16 OUT EFI_STATUS* ConfigurationStatus |
typedef IN OUT EFI_SIMPLE_TEXT_INPUT_PROTOCOL** ConIn |
typedef IN OUT EFI_SIMPLE_TEXT_INPUT_PROTOCOL IN EFI_HANDLE IN OUT EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL** ConOut |
typedef IN OUT EFI_SIMPLE_TEXT_INPUT_PROTOCOL IN EFI_HANDLE ConOutHandle |
typedef IN BOOLEAN ConsistMapping |
typedef IN CHAR16 IN BOOLEAN DebugOutput |
typedef OUT EFI_DEVICE_PATH_PROTOCOL** DevPath |
typedef IN BOOLEAN IN BOOLEAN IN CHAR8 IN OUT CHAR16 OUT EFI_STATUS OUT EFI_STATUS* DiagnosticsStatus |
typedef IN BOOLEAN IN BOOLEAN IN CHAR8 IN OUT CHAR16 OUT EFI_STATUS OUT EFI_STATUS IN BOOLEAN Display |
typedef IN SHELLENV_DUMP_PROTOCOL_INFO IN SHELLENV_DUMP_PROTOCOL_INFO DumpInfo |
typedef IN SHELLENV_DUMP_PROTOCOL_INFO DumpToken |
typedef IN CHAR16 IN SHELLCMD_GET_LINE_HELP GetLineHelp |
typedef IN SHELLENV_DUMP_PROTOCOL_INFO IN SHELLENV_DUMP_PROTOCOL_INFO IN CHAR16* IdString |
typedef IN BOOLEAN IN BOOLEAN IN CHAR8 IN OUT CHAR16 OUT EFI_STATUS OUT EFI_STATUS IN BOOLEAN IN UINTN Indent |
typedef IN OUT LIST_ENTRY * ListHead |
typedef CHAR16* EFIAPI* SHELLENV_CUR_DIR(IN CHAR16 *DeviceName) |
This function returns a string array containing the current directory on a given device.
If DeviceName is specified, then return the current shell directory on that device. If DeviceName is NULL, then return the current directory on the current device. The caller us responsible to free the returned string when no longer required.
[in] | DeviceName | The name of the device to get the current directory on, or NULL for current device. |
typedef CHAR16* EFIAPI* SHELLENV_GET_ENV(IN CHAR16 *Name) |
This function returns a shell environment variable value.
[in] | Name | The pointer to the string with the shell environment variable name. |
NULL | The shell environment variable's value could not be found. |
!=NULL | The value of the shell environment variable Name. |
typedef CHAR16* EFIAPI* SHELLENV_GET_MAP(IN CHAR16 *Name) |
This function returns a shell environment map value.
[in] | Name | The pointer to the string with the shell environment map name. |
NULL | The shell environment map's value could not be found. |
!=NULL | The value of the shell environment map Name. |
typedef CHAR16* EFIAPI* SHELLENV_GET_PROT(IN EFI_GUID *Protocol, IN BOOLEAN GenId) |
This function finds a protocol handle by a GUID.
This function will check for already known protocols by GUID and if one is found it will return the name of that protocol. If no name is found and GenId is TRUE it will generate ths string.
[in] | Protocol | The GUID of the protocol to look for. |
[in] | GenId | Whether to generate a name string if it is not found. |
NULL | The Name was not found, and GenId was not TRUE. |
typedef EFI_DEVICE_PATH_PROTOCOL* EFIAPI* SHELLENV_NAME_TO_PATH(IN CHAR16 *Path) |
Convert a file system style name to a device path.
This function will convert a shell path name to a Device Path Protocol path. This function will allocate any required memory for this operation and it is the responsibility of the caller to free that memory when no longer required.
If anything prevents the complete conversion free any allocated memory and return NULL.
[in] | Path | The path to convert. |
!NULL | A pointer to the callee allocated Device Path. |
NULL | The operation could not be completed. |
typedef EFI_SHELL_INTERFACE* EFIAPI* SHELLENV_NEW_SHELL(IN EFI_HANDLE ImageHandle) |
This function creates a new instance of the ShellInterface protocol for use on the ImageHandle.
This function is for internal shell usage. This will allocate and then populate EFI_SHELL_INTERFACE protocol. It is the caller's responsibility to free the memory.
[in] | ImageHandle | The handle which will use the new ShellInterface protocol. |
typedef IN EFI_SYSTEM_TABLE* SystemTable |
typedef IN BOOLEAN UseComponentName |
typedef IN BOOLEAN IN BOOLEAN UseDevicePath |
typedef BOOLEAN | ( | EFIAPI * | SHELLENV_BATCH_IS_ACTIVE | ) |
This function determines whether a script file is currently being processed.
A script file (.nsh file) can contain a series of commands and this is useful to know for some shell commands whether they are being run manually or as part of a script.
TRUE | A script file is being processed. |
FALSE | A script file is not being processed. |
Get the status of the page break output mode.
FALSE | Page break output mode is not enabled. |
TRUE | Page break output mode is enabled. |
This function determines if the shell application should break.
This is used to inform a shell application that a break condition has been initiated. Long loops should check this to prevent delays to the break.
TRUE | A break has been signaled. The application should exit with EFI_ABORTED as soon as possible. |
FALSE | Continue as normal. |
This function determines if the caller is running under the root shell.
TRUE | The caller is running under the root shell. |
FALSE | The caller is not running under the root shell. |
typedef EFI_STATUS | ( | EFIAPI * | SHELLENV_GET_FS_DEVICE_PATH | ) |
This function is a prototype for each command internal to the EFI shell implementation. The specific command depends on the implementation. This is used when programatically adding shell commands.
[in] | ImageHandle | The handle to the binary shell. |
[in] | SystemTable | The pointer to the system table. |
EFI_SUCCESS | The command completed. |
other | An error occurred. Any error is possible depending on the implementation of the shell command. |
This function is a prototype for one that gets a help string for a given command. This is used when programatically adding shell commands. Upon successful return the memory allocated is up to the caller to free.
[in,out] | Str | Pointer to pointer to string to display for help. |
EFI_SUCCESS | The help string is in the parameter Str. |
Execute a command line.
This function will run the CommandLine. This includes loading any required images, parsing any requires scripts, and if DebugOutput is TRUE printing errors encountered directly to the screen.
[in] | ParentImageHandle | Handle of the image executing this operation. |
[in] | CommandLine | The string command line to execute. |
[in] | DebugOutput | TRUE indicates that errors should be printed directly. FALSE suppresses error messages. |
EFI_SUCCESS | The command line executed and completed. |
EFI_ABORTED | The operation aborted. |
EFI_INVALID_PARAMETER | A parameter did not have a valid value. |
EFI_OUT_OF_RESOURCES | A required memory allocation failed. |
This function will add an internal command to the shell interface.
This will allocate all required memory, put the new command on the command list in the correct location.
[in] | Handler | The handler function to call when the command gets called. |
[in] | Cmd | The command name. |
[in] | GetLineHelp | The function to call of type "get help" for this command. |
EFI_SUCCESS | The command is now part of the command list. |
EFI_OUT_OF_RESOURCES | A memory allocation failed. |
This function will open a group of files that match the Arg path, including support for wildcard characters ('?' and '*') in the Arg path. If there are any wildcard characters in the path this function will find any and all files that match the wildcards. It returns a double linked list based on the LIST_ENTRY linked list structure. Use this in conjunction with the SHELL_FILE_ARG_SIGNATURE to get the SHELL_FILE_ARG structures that are returned. The memory allocated by the callee for this list is freed by making a call to SHELLENV_FREE_FILE_LIST.
[in] | Arg | The pointer Path to files to open. |
[in,out] | ListHead | The pointer to the allocated and initialized list head upon which to append all opened file structures. |
EFI_SUCCESS | One or more files was opened and a struct of each file's information was appended to ListHead. |
EFI_OUT_OF_RESOURCES | A memory allocation failed. |
EFI_NOT_FOUND | No matching files could be found. |
This frees all of the nodes under the ListHead, but not ListHead itself.
[in,out] | ListHead | Pointer to list to free all nodes of. |
EFI_SUCCESS | This function always returns EFI_SUCCESS. |
This is an internal shell function to enumerate the handle database.
This function gets the next handle in the handle database. If no handles are found, EFI_NOT_FOUND is returned. If the previous Handle was the last handle, it is set to NULL before returning.
This must be called after INIT_HANDLE_ENUMERATOR and before CLOSE_HANDLE_ENUMERATOR.
[in,out] | Handle | The pointer to pointer to Handle. It is set on a sucessful return. |
EFI_SUCCESS | The next handle in the handle database is *Handle. |
EFI_NOT_FOUND | There is not another handle. |
This is an internal shell function to enumerate the handle database.
This function skips the next SkipNum handles in the handle database. If there are not enough handles left to skip that many EFI_ACCESS_DENIED is returned and no skip is performed.
This must be called after INIT_HANDLE_ENUMERATOR and before CLOSE_HANDLE_ENUMERATOR.
[in] | SkipNum | How many handles to skip |
EFI_SUCCESS | The next handle in the handle database is *Handle |
EFI_ACCESS_DENIED | There are not SkipNum handles left in the database |
This function is an internal shell function for enumeration of protocols.
This function returns the next protocol on the list. If this is called immediately after initialization, it will return the first protocol on the list. If this is called immediately after reset, it will return the first protocol again.
This cannot be called after CLOSE_PROTOCOL_INFO_ENUMERATOR, but it must be called after INIT_PROTOCOL_INFO_ENUMERATOR.
[in,out] | ProtocolInfo | The pointer to pointer to protocol information structure. |
EFI_SUCCESS | The next protocol's information was sucessfully returned. |
NULL | There are no more protocols. |
This function is an internal shell function for enumeration of protocols.
This cannot be called after CLOSE_PROTOCOL_INFO_ENUMERATOR, but it must be called after INIT_PROTOCOL_INFO_ENUMERATOR.
This function does nothing and always returns EFI_SUCCESS.
EFI_SUCCESS | Always returned (see above). |
This function is used to retrieve a user-friendly display name for a handle.
If UseComponentName is TRUE then the component name protocol for this device or it's parent device (if required) will be used to obtain the name of the device. If UseDevicePath is TRUE it will get the human readable device path and return that. If both are TRUE it will try to use component name first and device path if that fails.
It will use either ComponentName or ComponentName2 protocol, depending on what is present.
This function will furthur verify whether the handle in question produced either EFI_DRIVER_CONFIGRATION_PROTOCOL or EFI_DRIVER_CONFIGURATION2_PROTOCOL and also whether the handle in question produced either EFI_DRIVER_DIAGNOSTICS_PROTOCOL or EFI_DRIVER_DIAGNOSTICS2_PROTOCOL.
Upon successful return, the memory for *BestDeviceName is up to the caller to free.
[in] | DeviceHandle | The device handle whose name is desired. |
[in] | UseComponentName | Whether to use the ComponentName protocol at all. |
[in] | UseDevicePath | Whether to use the DevicePath protocol at all. |
[in] | Language | The pointer to the language string to use. |
[in,out] | BestDeviceName | The pointer to pointer to string allocated with the name. |
[out] | ConfigurationStatus | The pointer to status for opening a Configuration protocol. |
[out] | DiagnosticsStatus | The pointer to status for opening a Diagnostics protocol. |
[in] | Display | Whether to Print this out to default Print location. |
[in] | Indent | How many characters to indent the printing. |
EFI_SUCCESS | This function always returns EFI_SUCCESS. |
This function gets the shell mode as stored in the shell environment "efishellmode". It will not fail.
[out] | Mode | Returns a string representing one of the 2 supported modes of the shell. |
EFI_SUCCESS | This function always returns success. |
Converts a device path into a file system map name.
If DevPath is NULL, then ASSERT.
This function looks through the shell environment map for a map whose device path matches the DevPath parameter. If one is found the Name is returned via Name parameter. If sucessful the caller must free the memory allocated for Name.
This function will use the internal lock to prevent changes to the map during the lookup operation.
[in] | DevPath | The device path to search for a name for. |
[in] | ConsistMapping | What state to verify map flag VAR_ID_CONSIST. |
[out] | Name | On sucessful return the name of that device path. |
EFI_SUCCESS | The DevPath was found and the name returned in Name. |
EFI_OUT_OF_RESOURCES | A required memory allocation failed. |
EFI_UNSUPPORTED | The DevPath was not found in the map. |
This function will open a group of files that match the Arg path, but will not support the wildcard characters ('?' and '*') in the Arg path. If there are any wildcard characters in the path this function will return EFI_INVALID_PARAMETER. The return is a double linked list based on the LIST_ENTRY linked list structure. Use this in conjunction with the SHELL_FILE_ARG_SIGNATURE to get the SHELL_FILE_ARG structures that are returned. The memory allocated by the callee for this list is freed by making a call to SHELLENV_FREE_FILE_LIST.
[in] | Arg | The pointer to the path of the files to be opened. |
[in,out] | ListHead | The pointer to allocated and initialized list head upon which to append all the opened file structures. |
EFI_SUCCESS | One or more files was opened and a struct of each file's information was appended to ListHead. |
EFI_OUT_OF_RESOURCES | A memory allocation failed. |
EFI_NOT_FOUND | No matching files could be found. |
This function removes duplicate file listings from lists.
This is a function for use with SHELLENV_FILE_META_ARG_NO_WILDCARD and SHELLENV_FILE_META_ARG. This function will verify that there are no duplicate files in the list of returned files. Any file listed twice will have one of its instances removed.
[in] | ListHead | The pointer to linked list head that was returned from SHELLENV_FILE_META_ARG_NO_WILDCARD or SHELLENV_FILE_META_ARG. |
EFI_SUCCESS | This function always returns success. |
Converts a File System map name to a device path.
If DevPath is NULL, then ASSERT().
This function looks through the shell environment map for a map whose Name matches the Name parameter. If one is found, the device path pointer is updated to point to that file systems device path. The caller should not free the memory from that device path.
This function will use the internal lock to prevent changes to the map during the lookup operation.
[in] | Name | The pointer to the NULL terminated UNICODE string of the file system name. |
[out] | DevPath | The pointer to pointer to DevicePath. Only valid on successful return. |
EFI_SUCCESS | The conversion was successful, and the device path was returned. |
EFI_NOT_FOUND | The file system could not be found in the map. |
typedef UINT32 | ( | EFIAPI * | SHELLENV_GET_KEY_FILTER | ) |
This function gets the keys to filter for for the console in.
The valid values to get are: #define EFI_OUTPUT_SCROLL 0x00000001 #define EFI_OUTPUT_PAUSE 0x00000002 #define EFI_EXECUTION_BREAK 0x00000004
The | current filter mask. |
typedef UINTN | ( | EFIAPI * | RESET_HANDLE_ENUMERATOR | ) |
This is an internal shell function to enumerate the handle database.
This function resets the the handle database so that NEXT_HANDLE and SKIP_HANDLE will start from EnumIndex on the next call.
This must be called after INIT_HANDLE_ENUMERATOR and before CLOSE_HANDLE_ENUMERATOR.
[in] | EnumIndex | Where to start. |
This is an internal shell function to enumerate the handle database.
This function returns the number of handles in the handle database.
This must be called after INIT_HANDLE_ENUMERATOR and before CLOSE_HANDLE_ENUMERATOR.
typedef VOID | ( | EFIAPI * | SHELLENV_DUMP_PROTOCOL_INFO | ) |
This function is a prototype for a function that dumps information on a protocol to a given location. The location is dependant on the implementation. This is used when programatically adding shell commands.
[in] | Handle | The handle the protocol is on. |
[in] | Interface | The interface to the protocol. |
Internal interface to add protocol handlers.
This function is for internal shell use only. This is how protocol handlers are added. This will get the current protocol info and add the new info or update existing info and then resave the info.
[in] | Protocol | The pointer to the protocol's GUID. |
[in] | DumpToken | The function pointer to dump token function or NULL. |
[in] | DumpInfo | The function pointer to dump infomation function or NULL. |
[in] | IdString | The English name of the protocol. |
This is an internal shell function to free any and all allocated resources. This should be called immediately prior to closing the shell.
This function enables the page break mode.
This mode causes the output to pause after each complete screen to enable a user to more easily read it. If AutoWrap is TRUE, then rows with too many characters will be chopped and divided into 2 rows. If FALSE, then rows with too many characters may not be fully visible to the user on the screen.
[in] | StartRow | The row number to start this on. |
[in] | AutoWrap | Whether to auto wrap rows that are too long. |
This function disables the page break mode.
Disabling this causes the output to print out exactly as coded, with no breaks for readability.
This function sets the keys to filter for for the console in. The valid values to set are:
#define EFI_OUTPUT_SCROLL 0x00000001 #define EFI_OUTPUT_PAUSE 0x00000002 #define EFI_EXECUTION_BREAK 0x00000004
[in] | KeyFilter | The new key filter to use. |
This is an internal shell function used to increment the shell nesting level.
This is an internal shell function used to decrement the shell nesting level.
Close the console proxy to restore the original console.
This is an internal shell function to handle shell cascading. It restores the original set of console protocols.
[in] | ConInHandle | The handle of ConIn. |
[in,out] | ConIn | The pointer to the location to return the pointer to the original console input. |
[in] | ConOutHandle | The handle of ConOut |
[in,out] | ConOut | The pointer to the location to return the pointer to the original console output. |
For ease of use the shell maps handle #'s to short numbers. This is only done on request for various internal commands and the references are immediately freed when the internal command completes.
This is an internal shell function to enumerate the handle database.
This must be called after INIT_HANDLE_ENUMERATOR.
This function releases all memory and resources associated with the handle database. After this no other handle enumerator functions except INIT_HANDLE_ENUMERATOR will function properly.
This is an internal shell function to initialize the protocol enumerator.
This must be called before NEXT_PROTOCOL_INFO, SKIP_PROTOCOL_INFO, RESET_PROTOCOL_INFO_ENUMERATOR, and CLOSE_PROTOCOL_INFO_ENUMERATOR are called.
This function is an internal shell function for enumeration of protocols.
This cannot be called after CLOSE_PROTOCOL_INFO_ENUMERATOR, but it must be called after INIT_PROTOCOL_INFO_ENUMERATOR.
This function resets the list of protocols such that the next one in the list is the begining of the list.
This function is an internal shell function for enumeration of protocols.
This must be called after INIT_PROTOCOL_INFO_ENUMERATOR. After this call no protocol enumerator calls except INIT_PROTOCOL_INFO_ENUMERATOR may be made.
This function frees any memory or resources associated with the protocol enumerator.
EFI_GUID gEfiShellEnvironment2ExtGuid |
EFI_GUID gEfiShellEnvironment2Guid |