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 - 2019, Intel Corporation. All rights reserved.<BR>
9 # Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
11 # SPDX-License-Identifier: BSD-2-Clause-Patent
16 INF_VERSION = 0x00010005
17 BASE_NAME = S3Resume2Pei
18 MODULE_UNI_FILE = S3Resume2Pei.uni
19 FILE_GUID = 89E549B0-7CFE-449d-9BA3-10D8B2312D71
22 ENTRY_POINT = PeimS3ResumeEntryPoint
25 # The following information is for reference only and not required by the build tools.
27 # VALID_ARCHITECTURES = IA32 X64
31 # This module is not always workable in IA32 and X64 mode. It has below result:
32 # when it works with SMM mode:
33 # ===============================
35 # PEI:IA32 works works
37 # ===============================
51 MdeModulePkg/MdeModulePkg.dec
52 UefiCpuPkg/UefiCpuPkg.dec
55 PeiServicesTablePointerLib
72 gEfiBootScriptExecutorVariableGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
73 gEfiBootScriptExecutorContextGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
74 ## SOMETIMES_CONSUMES ## HOB
75 ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
77 gEfiAcpiS3ContextGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
78 gEdkiiEndOfS3ResumeGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Used to do smm communication
79 ## SOMETIMES_PRODUCES ## UNDEFINED # Install PPI
80 ## SOMETIMES_CONSUMES ## UNDEFINED # Used to do smm communication
81 gEdkiiS3SmmInitDoneGuid
84 gEfiPeiS3Resume2PpiGuid ## PRODUCES
85 gPeiSmmAccessPpiGuid ## SOMETIMES_CONSUMES
86 gPeiPostScriptTablePpiGuid ## SOMETIMES_PRODUCES
87 gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_PRODUCES
88 gEfiPeiSmmCommunicationPpiGuid ## SOMETIMES_CONSUMES
91 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES
94 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES
95 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask ## CONSUMES
100 [UserExtensions.TianoCore."ExtraFiles"]
101 S3Resume2PeiExtra.uni