3 Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>
4 Copyright (c) Microsoft Corporation.
6 SPDX-License-Identifier: BSD-2-Clause-Patent
12 #include "SmmLockBoxLibPrivate.h"
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.
18 @param[in] ImageHandle Image handle of this driver.
19 @param[in] SystemTable A Pointer to the EFI System Table.
22 @return Others Some error occurs.
26 SmmLockBoxStandaloneMmConstructor (
27 IN EFI_HANDLE ImageHandle
,
28 IN EFI_MM_SYSTEM_TABLE
*SystemTable
31 return SmmLockBoxMmConstructor ();
35 Destructor for SmmLockBox library.
36 This is used to uninstall SmmLockBoxCommunication configuration table
37 if it has been installed in Constructor.
39 @param[in] ImageHandle Image handle of this driver.
40 @param[in] SystemTable A Pointer to the EFI System Table.
42 @retval EFI_SUCEESS The destructor always returns EFI_SUCCESS.
47 SmmLockBoxStandaloneMmDestructor (
48 IN EFI_HANDLE ImageHandle
,
49 IN EFI_MM_SYSTEM_TABLE
*SystemTable
52 return SmmLockBoxMmDestructor ();