VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandaloneMmLib.c

Last change on this file was 99404, checked in by vboxsync, 2 years ago

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

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1/** @file
2
3Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>
4Copyright (c) Microsoft Corporation.
5
6SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#include <PiMm.h>
11
12#include "SmmLockBoxLibPrivate.h"
13
14/**
15 Constructor for SmmLockBox library.
16 This is used to set SmmLockBox context, which will be used in PEI phase in S3 boot path later.
17
18 @param[in] ImageHandle Image handle of this driver.
19 @param[in] SystemTable A Pointer to the EFI System Table.
20
21 @retval EFI_SUCEESS
22 @return Others Some error occurs.
23**/
24EFI_STATUS
25EFIAPI
26SmmLockBoxStandaloneMmConstructor (
27 IN EFI_HANDLE ImageHandle,
28 IN EFI_MM_SYSTEM_TABLE *SystemTable
29 )
30{
31 return SmmLockBoxMmConstructor ();
32}
33
34/**
35 Destructor for SmmLockBox library.
36 This is used to uninstall SmmLockBoxCommunication configuration table
37 if it has been installed in Constructor.
38
39 @param[in] ImageHandle Image handle of this driver.
40 @param[in] SystemTable A Pointer to the EFI System Table.
41
42 @retval EFI_SUCEESS The destructor always returns EFI_SUCCESS.
43
44**/
45EFI_STATUS
46EFIAPI
47SmmLockBoxStandaloneMmDestructor (
48 IN EFI_HANDLE ImageHandle,
49 IN EFI_MM_SYSTEM_TABLE *SystemTable
50 )
51{
52 return SmmLockBoxMmDestructor ();
53}
Note: See TracBrowser for help on using the repository browser.

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