TianoCore EDK2 master
Loading...
Searching...
No Matches
VariableMmDependency.c
Go to the documentation of this file.
1
13#include <Library/DebugLib.h>
15
27EFIAPI
29 IN EFI_HANDLE ImageHandle,
30 IN EFI_SYSTEM_TABLE *SystemTable
31 )
32{
33 EFI_STATUS Status;
34 EFI_HANDLE Handle;
35
36 Handle = NULL;
37 Status = gBS->InstallMultipleProtocolInterfaces (
38 &Handle,
39 &gEfiSmmVariableProtocolGuid,
40 NULL,
41 &gSmmVariableWriteGuid,
42 NULL,
43 NULL
44 );
45 ASSERT_EFI_ERROR (Status);
46 return EFI_SUCCESS;
47}
#define NULL
Definition: Base.h:319
#define IN
Definition: Base.h:279
#define ASSERT_EFI_ERROR(StatusParameter)
Definition: DebugLib.h:462
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
#define EFI_SUCCESS
Definition: UefiBaseType.h:112
EFI_BOOT_SERVICES * gBS
EFI_STATUS EFIAPI VariableMmDependencyLibConstructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)