36 Status =
gBS->OpenProtocol (
42 EFI_OPEN_PROTOCOL_TEST_PROTOCOL
44 if (!EFI_ERROR (Status)) {
45 return EFI_ALREADY_STARTED;
52 if (PrivateData ==
NULL) {
53 return EFI_OUT_OF_RESOURCES;
60 if (EFI_ERROR (Status)) {
67 Status =
gBS->InstallMultipleProtocolInterfaces (
74 if (EFI_ERROR (Status)) {
81 if (PrivateData !=
NULL) {
106 Status =
gBS->HandleProtocol (
109 (VOID **)&PrivateData
111 if (EFI_ERROR (Status)) {
115 ASSERT (PrivateData->Signature == SECUREBOOT_CONFIG_PRIVATE_DATA_SIGNATURE);
117 gBS->UninstallMultipleProtocolInterfaces (
VOID *EFIAPI AllocateCopyPool(IN UINTN AllocationSize, IN CONST VOID *Buffer)
EFI_STATUS EFIAPI SecureBootConfigDriverEntryPoint(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
EFI_STATUS EFIAPI SecureBootConfigDriverUnload(IN EFI_HANDLE ImageHandle)
EFI_STATUS InstallSecureBootConfigForm(IN OUT SECUREBOOT_CONFIG_PRIVATE_DATA *PrivateData)
VOID UninstallSecureBootConfigForm(IN OUT SECUREBOOT_CONFIG_PRIVATE_DATA *PrivateData)