TianoCore EDK2 master
Loading...
Searching...
No Matches
UefiShellDriver1CommandsLib.c File Reference

Go to the source code of this file.

Functions

CONST CHAR16 *EFIAPI ShellCommandGetManFileNameDriver1 (VOID)
 
EFI_STATUS EFIAPI UefiShellDriver1CommandsLibConstructor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 
EFI_STATUS EFIAPI UefiShellDriver1CommandsLibDestructor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Variables

STATIC CONST CHAR16 mFileName [] = L"Driver1Commands"
 
EFI_HII_HANDLE gShellDriver1HiiHandle = NULL
 
BOOLEAN gInReconnect = FALSE
 

Detailed Description

Main file for NULL named library for level 1 shell command functions.

Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file UefiShellDriver1CommandsLib.c.

Function Documentation

◆ ShellCommandGetManFileNameDriver1()

CONST CHAR16 *EFIAPI ShellCommandGetManFileNameDriver1 ( VOID  )

Function to return the name of the file containing help if HII will not be used.

Returns
The filename.

Definition at line 22 of file UefiShellDriver1CommandsLib.c.

◆ UefiShellDriver1CommandsLibConstructor()

EFI_STATUS EFIAPI UefiShellDriver1CommandsLibConstructor ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Constructor for the Shell Driver1 Commands library.

Parameters
ImageHandlethe image handle of the process
SystemTablethe EFI System Table pointer
Return values
EFI_SUCCESSthe shell command handlers were installed successfully
EFI_UNSUPPORTEDthe shell level required was not found.

Definition at line 40 of file UefiShellDriver1CommandsLib.c.

◆ UefiShellDriver1CommandsLibDestructor()

EFI_STATUS EFIAPI UefiShellDriver1CommandsLibDestructor ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Destructor for the library. free any resources.

Parameters
ImageHandleThe image handle of the process.
SystemTableThe EFI System Table pointer.

Definition at line 86 of file UefiShellDriver1CommandsLib.c.

Variable Documentation

◆ gInReconnect

BOOLEAN gInReconnect = FALSE

Definition at line 13 of file UefiShellDriver1CommandsLib.c.

◆ gShellDriver1HiiHandle

EFI_HII_HANDLE gShellDriver1HiiHandle = NULL

Definition at line 12 of file UefiShellDriver1CommandsLib.c.

◆ mFileName

STATIC CONST CHAR16 mFileName[] = L"Driver1Commands"

Definition at line 11 of file UefiShellDriver1CommandsLib.c.