TianoCore EDK2
master
Loading...
Searching...
No Matches
CryptoSmm.c
Go to the documentation of this file.
1
9
#include <
PiSmm.h
>
10
#include <
Library/SmmServicesTableLib.h
>
11
#include <
Protocol/SmmCrypto.h
>
12
13
extern
CONST
EDKII_CRYPTO_PROTOCOL
mEdkiiCrypto;
14
25
EFI_STATUS
26
EFIAPI
27
CryptoSmmEntry
(
28
IN
EFI_HANDLE
ImageHandle,
29
IN
EFI_SYSTEM_TABLE
*SystemTable
30
)
31
{
32
EFI_HANDLE
Handle;
33
34
Handle =
NULL
;
35
return
gSmst
->
SmmInstallProtocolInterface
(
36
&Handle,
37
&gEdkiiSmmCryptoProtocolGuid,
38
EFI_NATIVE_INTERFACE
,
39
(
EDKII_CRYPTO_PROTOCOL
*)&mEdkiiCrypto
40
);
41
}
CryptoSmmEntry
EFI_STATUS EFIAPI CryptoSmmEntry(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition:
CryptoSmm.c:27
NULL
#define NULL
Definition:
Base.h:319
CONST
#define CONST
Definition:
Base.h:259
IN
#define IN
Definition:
Base.h:279
PiSmm.h
gSmst
EFI_SMM_SYSTEM_TABLE2 * gSmst
Definition:
PiSmmCoreSmmServicesTableLib.c:13
SmmCrypto.h
SmmServicesTableLib.h
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_HANDLE
VOID * EFI_HANDLE
Definition:
UefiBaseType.h:33
EFI_NATIVE_INTERFACE
@ EFI_NATIVE_INTERFACE
Definition:
UefiSpec.h:1193
_EDKII_CRYPTO_PROTOCOL
Definition:
Crypto.h:5430
_EFI_SMM_SYSTEM_TABLE2::SmmInstallProtocolInterface
EFI_INSTALL_PROTOCOL_INTERFACE SmmInstallProtocolInterface
Definition:
PiSmmCis.h:185
EFI_SYSTEM_TABLE
Definition:
UefiSpec.h:2028
CryptoPkg
Driver
CryptoSmm.c
Generated on Fri Nov 15 2024 18:01:05 for TianoCore EDK2 by
1.9.6