]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.c
MdeModulePkg: SmmSmiHandlerProfileLib: Support StandaloneMm Instance
[mirror_edk2.git] / MdeModulePkg / Library / SmmSmiHandlerProfileLib / SmmSmiHandlerProfileLib.c
1 /** @file
2 SMM driver instance of SmiHandlerProfile Library.
3
4 Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
5 Copyright (c) Microsoft Corporation.
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10 #include <PiMm.h>
11
12 #include "MmSmiHandlerProfileLib.h"
13
14 /**
15 The constructor function for traditional MM SMI handler profile.
16
17 @param ImageHandle The firmware allocated handle for the EFI image.
18 @param SystemTable A pointer to the EFI System Table.
19
20 @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
21 **/
22 EFI_STATUS
23 EFIAPI
24 SmmSmiHandlerProfileLibConstructor (
25 IN EFI_HANDLE ImageHandle,
26 IN EFI_SYSTEM_TABLE *SystemTable
27 )
28 {
29 return MmSmiHandlerProfileLibInitialization ();
30 }