TianoCore EDK2
master
Loading...
Searching...
No Matches
SmmLockBoxMmDependency.c
Go to the documentation of this file.
1
13
#include <
Uefi.h
>
14
#include <
Library/UefiBootServicesTableLib.h
>
15
#include <
Library/DebugLib.h
>
16
#include <
Protocol/LockBox.h
>
17
30
EFI_STATUS
31
EFIAPI
32
SmmLockBoxMmDependencyConstructor
(
33
IN
EFI_HANDLE
ImageHandle,
34
IN
EFI_SYSTEM_TABLE
*SystemTable
35
)
36
{
37
EFI_STATUS
Status;
38
39
//
40
// Install NULL to DXE data base as notify
41
//
42
Status =
gBS
->InstallProtocolInterface (
43
&ImageHandle,
44
&gEfiLockBoxProtocolGuid,
45
EFI_NATIVE_INTERFACE
,
46
NULL
47
);
48
ASSERT_EFI_ERROR
(Status);
49
return
Status;
50
}
LockBox.h
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
SmmLockBoxMmDependencyConstructor
EFI_STATUS EFIAPI SmmLockBoxMmDependencyConstructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition:
SmmLockBoxMmDependency.c:32
Uefi.h
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_HANDLE
VOID * EFI_HANDLE
Definition:
UefiBaseType.h:33
UefiBootServicesTableLib.h
gBS
EFI_BOOT_SERVICES * gBS
Definition:
UefiBootServicesTableLib.c:17
EFI_NATIVE_INTERFACE
@ EFI_NATIVE_INTERFACE
Definition:
UefiSpec.h:1193
EFI_SYSTEM_TABLE
Definition:
UefiSpec.h:2028
StandaloneMmPkg
Library
SmmLockBoxMmDependency
SmmLockBoxMmDependency.c
Generated on Fri Nov 15 2024 18:01:25 for TianoCore EDK2 by
1.9.6