50 gEfiShellParametersProtocol = ShellParameters;
51 gEfiShellProtocol = Shell;
78 mVarPolicyShellCommandHiiHandle,
85 VAR_POLICY_COMMAND_NAME,
113 if (mVarPolicyShellCommandHiiHandle ==
NULL) {
117 Status =
gBS->InstallProtocolInterface (
119 &gEfiShellDynamicCommandProtocolGuid,
121 &mVarPolicyDynamicCommand
145 Status =
gBS->UninstallProtocolInterface (
147 &gEfiShellDynamicCommandProtocolGuid,
148 &mVarPolicyDynamicCommand
150 if (EFI_ERROR (Status)) {
EFI_STRING EFIAPI HiiGetString(IN EFI_HII_HANDLE HiiHandle, IN EFI_STRING_ID StringId, IN CONST CHAR8 *Language OPTIONAL)
VOID EFIAPI HiiRemovePackages(IN EFI_HII_HANDLE HiiHandle)
STATIC EFI_HII_HANDLE InitializeHiiPackage(EFI_HANDLE ImageHandle)
#define ASSERT_EFI_ERROR(StatusParameter)
SHELL_STATUS EFIAPI RunVarPolicy(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
SHELL_STATUS EFIAPI VarPolicyCommandHandler(IN EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL *This, IN EFI_SYSTEM_TABLE *SystemTable, IN EFI_SHELL_PARAMETERS_PROTOCOL *ShellParameters, IN EFI_SHELL_PROTOCOL *Shell)
EFI_STATUS EFIAPI VariablePolicyDynamicCommandEntryPoint(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
STATIC CHAR16 *EFIAPI VarPolicyCommandGetHelp(IN EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL *This, IN CONST CHAR8 *Language)
EFI_STATUS EFIAPI VariablePolicyDynamicCommandUnload(IN EFI_HANDLE ImageHandle)
EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL protocol structure.