TianoCore EDK2 master
Loading...
Searching...
No Matches
UefiShellInstall1CommandsLib.c
Go to the documentation of this file.
1
10
23EFIAPI
25 IN EFI_HANDLE ImageHandle,
26 IN EFI_SYSTEM_TABLE *SystemTable
27 )
28{
29 //
30 // check our bit of the profiles mask
31 //
32 if ((PcdGet8 (PcdShellProfileMask) & BIT2) == 0) {
33 return (EFI_SUCCESS);
34 }
35
36 return (BcfgLibraryRegisterBcfgCommand (ImageHandle, SystemTable, L"Install1"));
37}
38
46EFIAPI
48 IN EFI_HANDLE ImageHandle,
49 IN EFI_SYSTEM_TABLE *SystemTable
50 )
51{
52 return (BcfgLibraryUnregisterBcfgCommand (ImageHandle, SystemTable));
53}
EFI_STATUS EFIAPI BcfgLibraryUnregisterBcfgCommand(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
EFI_STATUS EFIAPI BcfgLibraryRegisterBcfgCommand(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable, IN CONST CHAR16 *Name)
#define IN
Definition: Base.h:279
#define PcdGet8(TokenName)
Definition: PcdLib.h:336
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
#define EFI_SUCCESS
Definition: UefiBaseType.h:112
EFI_STATUS EFIAPI ShellInstall1CommandsLibDestructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
EFI_STATUS EFIAPI ShellInstall1CommandsLibConstructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)