2 # S3 Resume Module installs EFI_PEI_S3_RESUME2_PPI.
4 # This module works with StandAloneBootScriptExecutor to S3 resume to OS.
5 # This module will excute the boot script saved during last boot and after that,
6 # control is passed to OS waking up handler.
8 # Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
9 # Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
11 # This program and the accompanying materials are
12 # licensed and made available under the terms and conditions of the BSD License
13 # which accompanies this distribution. The full text of the license may be found at
14 # http://opensource.org/licenses/bsd-license.php
16 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22 INF_VERSION = 0x00010005
23 BASE_NAME = S3Resume2Pei
24 MODULE_UNI_FILE = S3Resume2Pei.uni
25 FILE_GUID = 89E549B0-7CFE-449d-9BA3-10D8B2312D71
28 ENTRY_POINT = PeimS3ResumeEntryPoint
31 # The following information is for reference only and not required by the build tools.
33 # VALID_ARCHITECTURES = IA32 X64
37 # This module is not always workable in IA32 and X64 mode. It has below result:
38 # when it works with SMM mode:
39 # ===============================
41 # PEI:IA32 works works
43 # ===============================
57 MdeModulePkg/MdeModulePkg.dec
58 UefiCpuPkg/UefiCpuPkg.dec
61 PeiServicesTablePointerLib
78 gEfiBootScriptExecutorVariableGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
79 gEfiBootScriptExecutorContextGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
80 ## SOMETIMES_CONSUMES ## HOB
81 ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
83 gEfiAcpiS3ContextGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
84 gEdkiiEndOfS3ResumeGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Used to do smm communication
85 ## SOMETIMES_PRODUCES ## UNDEFINED # Install PPI
86 ## SOMETIMES_CONSUMES ## UNDEFINED # Used to do smm communication
87 gEdkiiS3SmmInitDoneGuid
90 gEfiPeiS3Resume2PpiGuid ## PRODUCES
91 gPeiSmmAccessPpiGuid ## SOMETIMES_CONSUMES
92 gPeiPostScriptTablePpiGuid ## SOMETIMES_PRODUCES
93 gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_PRODUCES
94 gEfiPeiSmmCommunicationPpiGuid ## SOMETIMES_CONSUMES
97 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES
98 gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES
101 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES
102 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask ## CONSUMES
107 [UserExtensions.TianoCore."ExtraFiles"]
108 S3Resume2PeiExtra.uni