Last change
on this file since 85718 was 85718, checked in by vboxsync, 4 years ago |
Devices/EFI: Merge edk-stable202005 and make it build, bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
989 bytes
|
Line | |
---|
1 | /** @file
|
---|
2 | Installs the EDK II Crypto Protocol
|
---|
3 |
|
---|
4 | Copyright (C) Microsoft Corporation. All rights reserved.
|
---|
5 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 |
|
---|
7 | **/
|
---|
8 |
|
---|
9 | #include <PiDxe.h>
|
---|
10 | #include <Library/UefiBootServicesTableLib.h>
|
---|
11 | #include <Protocol/Crypto.h>
|
---|
12 |
|
---|
13 | extern CONST EDKII_CRYPTO_PROTOCOL mEdkiiCrypto;
|
---|
14 |
|
---|
15 | /**
|
---|
16 | The module Entry Point of the Crypto Dxe Driver.
|
---|
17 |
|
---|
18 | @param[in] ImageHandle The firmware allocated handle for the EFI image.
|
---|
19 | @param[in] SystemTable A pointer to the EFI System Table.
|
---|
20 |
|
---|
21 | @retval EFI_SUCCESS The entry point is executed successfully.
|
---|
22 | @retval Other Some error occurs when executing this entry point.
|
---|
23 |
|
---|
24 | **/
|
---|
25 | EFI_STATUS
|
---|
26 | EFIAPI
|
---|
27 | CryptoDxeEntry (
|
---|
28 | IN EFI_HANDLE ImageHandle,
|
---|
29 | IN EFI_SYSTEM_TABLE *SystemTable
|
---|
30 | )
|
---|
31 | {
|
---|
32 | return gBS->InstallMultipleProtocolInterfaces(
|
---|
33 | &ImageHandle,
|
---|
34 | &gEdkiiCryptoProtocolGuid,
|
---|
35 | (EDKII_CRYPTO_PROTOCOL *) &mEdkiiCrypto,
|
---|
36 | NULL
|
---|
37 | );
|
---|
38 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.