]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
MdeModulePkg DxeS3BootScriptLib: Add DESTRUCTOR S3BootScriptLibDeinitialize
[mirror_edk2.git] / MdeModulePkg / Library / PiDxeS3BootScriptLib / DxeS3BootScriptLib.inf
1 ## @file
2 # DXE S3 boot script Library.
3 #
4 # Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
5 #
6 # This program and the accompanying materials are
7 # licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 ##
15
16 [Defines]
17 INF_VERSION = 0x00010005
18 BASE_NAME = DxeS3BootScriptLib
19 MODULE_UNI_FILE = DxeS3BootScriptLib.uni
20 FILE_GUID = 57F9967B-26CD-4262-837A-55B8AA158254
21 MODULE_TYPE = DXE_DRIVER
22 VERSION_STRING = 1.0
23 LIBRARY_CLASS = S3BootScriptLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER DXE_SAL_DRIVER UEFI_DRIVER UEFI_APPLICATION
24
25
26 CONSTRUCTOR = S3BootScriptLibInitialize
27 DESTRUCTOR = S3BootScriptLibDeinitialize
28
29 #
30 # The following information is for reference only and not required by the build tools.
31 #
32 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
33 #
34
35 [Sources]
36 BootScriptSave.c
37 BootScriptExecute.c
38 InternalBootScriptLib.h
39 BootScriptInternalFormat.h
40
41
42 [Packages]
43 MdePkg/MdePkg.dec
44 MdeModulePkg/MdeModulePkg.dec
45
46 [LibraryClasses]
47 UefiBootServicesTableLib
48 BaseLib
49 BaseMemoryLib
50 TimerLib
51 DebugLib
52 PcdLib
53 UefiLib
54 SmbusLib
55 PciLib
56 IoLib
57 LockBoxLib
58
59 [Protocols]
60 gEfiSmmBase2ProtocolGuid ## SOMETIMES_CONSUMES
61 gEfiDxeSmmReadyToLockProtocolGuid ## NOTIFY
62 gEfiSmmReadyToLockProtocolGuid ## NOTIFY
63 gEdkiiSmmExitBootServicesProtocolGuid ## NOTIFY
64 gEdkiiSmmLegacyBootProtocolGuid ## NOTIFY
65
66 [Pcd]
67 ## CONSUMES
68 ## SOMETIMES_PRODUCES
69 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr
70 ## CONSUMES
71 ## SOMETIMES_PRODUCES
72 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateSmmDataPtr
73 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptRuntimeTableReservePageNumber ## CONSUMES
74 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable ## CONSUMES
75