2 SMM Core SMM Services Table Library.
4 Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #include <Library/SmmServicesTableLib.h>
17 #include <Library/DebugLib.h>
19 EFI_SMM_SYSTEM_TABLE2
*gSmst
= NULL
;
20 extern EFI_SMM_SYSTEM_TABLE2 gSmmCoreSmst
;
23 The constructor function caches the pointer of SMM Services Table.
25 @param ImageHandle The firmware allocated handle for the EFI image.
26 @param SystemTable A pointer to the EFI System Table.
28 @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
33 SmmCoreSmmServicesTableLibConstructor (
34 IN EFI_HANDLE ImageHandle
,
35 IN EFI_SYSTEM_TABLE
*SystemTable
38 gSmst
= &gSmmCoreSmst
;