]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.c
Update the copyright notice format
[mirror_edk2.git] / MdeModulePkg / Library / PiSmmCoreSmmServicesTableLib / PiSmmCoreSmmServicesTableLib.c
CommitLineData
008eeb50
JY
1/** @file\r
2 SMM Core SMM Services Table Library.\r
3\r
cd5ebaa0
HT
4 Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
5 This program and the accompanying materials\r
008eeb50
JY
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#include <PiSmm.h>\r
16#include <Library/SmmServicesTableLib.h>\r
17#include <Library/DebugLib.h>\r
18\r
19EFI_SMM_SYSTEM_TABLE2 *gSmst = NULL;\r
20extern EFI_SMM_SYSTEM_TABLE2 gSmmCoreSmst;\r
21\r
22/**\r
23 The constructor function caches the pointer of SMM Services Table.\r
24\r
25 @param ImageHandle The firmware allocated handle for the EFI image.\r
26 @param SystemTable A pointer to the EFI System Table.\r
27\r
28 @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.\r
29\r
30**/\r
31EFI_STATUS\r
32EFIAPI\r
33SmmCoreSmmServicesTableLibConstructor (\r
34 IN EFI_HANDLE ImageHandle,\r
35 IN EFI_SYSTEM_TABLE *SystemTable\r
36 )\r
37{\r
38 gSmst = &gSmmCoreSmst;\r
39 return EFI_SUCCESS;\r
40}\r