]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
MdeModulePkg DxeS3BootScriptLib: Add DESTRUCTOR S3BootScriptLibDeinitialize
[mirror_edk2.git] / MdeModulePkg / Library / PiDxeS3BootScriptLib / DxeS3BootScriptLib.inf
index d9428461660971a90d9354a051ff973f2093991d..0f4151180f6a9b070a98726af1ad305db5a419b8 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
-# S3 boot script Library which could be used for multi phases. \r
+# DXE S3 boot script Library.\r
 #\r
-# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
 #\r
 # This program and the accompanying materials are\r
 # licensed and made available under the terms and conditions of the BSD License\r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = DxeS3BootScriptLib\r
+  MODULE_UNI_FILE                = DxeS3BootScriptLib.uni\r
   FILE_GUID                      = 57F9967B-26CD-4262-837A-55B8AA158254\r
   MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = S3BootScriptLib|SEC PEIM PEI_CORE DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER DXE_SAL_DRIVER UEFI_DRIVER UEFI_APPLICATION\r
+  LIBRARY_CLASS                  = S3BootScriptLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER DXE_SAL_DRIVER UEFI_DRIVER UEFI_APPLICATION\r
 \r
 \r
   CONSTRUCTOR                    = S3BootScriptLibInitialize\r
+  DESTRUCTOR                     = S3BootScriptLibDeinitialize\r
 \r
 #\r
 # The following information is for reference only and not required by the build tools.\r
   PciLib\r
   IoLib \r
   LockBoxLib\r
-  \r
-[Guids]\r
-  gEfiEventExitBootServicesGuid                  # ALWAYS_CONSUMED\r
 \r
 [Protocols]\r
-  gEfiSmmBase2ProtocolGuid                       # ALWAYS_CONSUMED\r
-  gEfiDxeSmmReadyToLockProtocolGuid              # ALWAYS_CONSUMED\r
-  gEfiSmmReadyToLockProtocolGuid                 # ALWAYS_CONSUMED\r
-  \r
+  gEfiSmmBase2ProtocolGuid                      ## SOMETIMES_CONSUMES\r
+  gEfiDxeSmmReadyToLockProtocolGuid             ## NOTIFY\r
+  gEfiSmmReadyToLockProtocolGuid                ## NOTIFY\r
+  gEdkiiSmmExitBootServicesProtocolGuid         ## NOTIFY\r
+  gEdkiiSmmLegacyBootProtocolGuid               ## NOTIFY\r
+\r
 [Pcd]\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr                   ## CONSUMES\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptRuntimeTableReservePageNumber         ## CONSUMES\r
+  ## CONSUMES\r
+  ## SOMETIMES_PRODUCES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr\r
+  ## CONSUMES\r
+  ## SOMETIMES_PRODUCES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateSmmDataPtr\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptRuntimeTableReservePageNumber   ## CONSUMES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable                                ## CONSUMES\r
 \r
-[Depex]\r
-  gPcdProtocolGuid 
\ No newline at end of file