2 MM Services Table Library.
4 Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
5 Copyright (c) 2018, Linaro, Ltd. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
11 #include <Library/MmServicesTableLib.h>
12 #include <Library/DebugLib.h>
14 EFI_MM_SYSTEM_TABLE
*gMmst
= NULL
;
17 The constructor function caches the pointer of the MM Services Table.
19 @param ImageHandle The firmware allocated handle for the EFI image.
20 @param MmSystemTable A pointer to the MM System Table.
22 @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
27 StandaloneMmServicesTableLibConstructor (
28 IN EFI_HANDLE ImageHandle
,
29 IN EFI_MM_SYSTEM_TABLE
*MmSystemTable
32 gMmst
= MmSystemTable
;
33 ASSERT (gMmst
!= NULL
);