TianoCore EDK2 master
Loading...
Searching...
No Matches
CryptoStandaloneMm.c
Go to the documentation of this file.
1
9#include <PiMm.h>
11#include <Protocol/SmmCrypto.h>
12
13extern CONST EDKII_CRYPTO_PROTOCOL mEdkiiCrypto;
14
26EFIAPI
28 IN EFI_HANDLE ImageHandle,
29 IN EFI_MM_SYSTEM_TABLE *MmSystemTable
30 )
31{
32 EFI_HANDLE Handle;
33
34 Handle = NULL;
35 return gMmst->MmInstallProtocolInterface (
36 &Handle,
37 &gEdkiiSmmCryptoProtocolGuid,
39 (EDKII_CRYPTO_PROTOCOL *)&mEdkiiCrypto
40 );
41}
EFI_STATUS EFIAPI CryptoStandaloneMmEntry(IN EFI_HANDLE ImageHandle, IN EFI_MM_SYSTEM_TABLE *MmSystemTable)
#define NULL
Definition: Base.h:319
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
@ EFI_NATIVE_INTERFACE
Definition: UefiSpec.h:1193
EFI_INSTALL_PROTOCOL_INTERFACE MmInstallProtocolInterface
Definition: PiMmCis.h:327