VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/CryptoPkg/Driver/CryptoSmm.c@ 99476

最後變更 在這個檔案從99476是 99404,由 vboxsync 提交於 2 年 前

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.0 KB
 
1/** @file
2 Installs the EDK II Crypto SMM Protocol
3
4 Copyright (C) Microsoft Corporation. All rights reserved.
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#include <PiSmm.h>
10#include <Library/SmmServicesTableLib.h>
11#include <Protocol/SmmCrypto.h>
12
13extern CONST EDKII_CRYPTO_PROTOCOL mEdkiiCrypto;
14
15/**
16 The module Entry Point of the Crypto SMM 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**/
25EFI_STATUS
26EFIAPI
27CryptoSmmEntry (
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}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette