TianoCore EDK2 master
Loading...
Searching...
No Matches
BcfgCommandLib.h File Reference

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI BcfgLibraryRegisterBcfgCommand (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable, IN CONST CHAR16 *Name)
 
EFI_STATUS EFIAPI BcfgLibraryUnregisterBcfgCommand (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Detailed Description

Header file for BCFG command library.

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

Definition in file BcfgCommandLib.h.

Function Documentation

◆ BcfgLibraryRegisterBcfgCommand()

EFI_STATUS EFIAPI BcfgLibraryRegisterBcfgCommand ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable,
IN CONST CHAR16 *  Name 
)

"Constructor" for the library.

This will register the handler for the bcfg command.

Parameters
[in]ImageHandlethe image handle of the process
[in]SystemTablethe EFI System Table pointer
[in]Namethe profile name to use
Return values
EFI_SUCCESSthe shell command handlers were installed successfully
EFI_UNSUPPORTEDthe shell level required was not found.

Definition at line 1981 of file UefiShellBcfgCommandLib.c.

◆ BcfgLibraryUnregisterBcfgCommand()

EFI_STATUS EFIAPI BcfgLibraryUnregisterBcfgCommand ( 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.

Destructor for the library. free any resources.

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

Definition at line 2012 of file UefiShellBcfgCommandLib.c.