TianoCore EDK2
master
Loading...
Searching...
No Matches
VariableMmDependency.c
Go to the documentation of this file.
1
13
#include <
Library/DebugLib.h
>
14
#include <
Library/UefiBootServicesTableLib.h
>
15
26
EFI_STATUS
27
EFIAPI
28
VariableMmDependencyLibConstructor
(
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
}
NULL
#define NULL
Definition:
Base.h:319
IN
#define IN
Definition:
Base.h:279
DebugLib.h
ASSERT_EFI_ERROR
#define ASSERT_EFI_ERROR(StatusParameter)
Definition:
DebugLib.h:462
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_HANDLE
VOID * EFI_HANDLE
Definition:
UefiBaseType.h:33
EFI_SUCCESS
#define EFI_SUCCESS
Definition:
UefiBaseType.h:112
UefiBootServicesTableLib.h
gBS
EFI_BOOT_SERVICES * gBS
Definition:
UefiBootServicesTableLib.c:17
VariableMmDependencyLibConstructor
EFI_STATUS EFIAPI VariableMmDependencyLibConstructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition:
VariableMmDependency.c:28
EFI_SYSTEM_TABLE
Definition:
UefiSpec.h:2028
StandaloneMmPkg
Library
VariableMmDependency
VariableMmDependency.c
Generated on Fri Nov 15 2024 18:01:26 for TianoCore EDK2 by
1.9.6