UefiCpuPkg S3ResumePei: Signal S3SmmInitDone
[mirror_edk2.git] / UefiCpuPkg / Universal / Acpi / S3Resume2Pei / S3Resume2Pei.inf
1 ## @file
2 # S3 Resume Module installs EFI_PEI_S3_RESUME2_PPI.
3 #
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.
7 #
8 # Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
9 # Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
10 #
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
15 #
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.
18 #
19 ##
20
21 [Defines]
22 INF_VERSION = 0x00010005
23 BASE_NAME = S3Resume2Pei
24 MODULE_UNI_FILE = S3Resume2Pei.uni
25 FILE_GUID = 89E549B0-7CFE-449d-9BA3-10D8B2312D71
26 MODULE_TYPE = PEIM
27 VERSION_STRING = 1.0
28 ENTRY_POINT = PeimS3ResumeEntryPoint
29
30 #
31 # The following information is for reference only and not required by the build tools.
32 #
33 # VALID_ARCHITECTURES = IA32 X64
34 #
35
36 [Sources]
37 S3Resume.c
38
39 [Sources.IA32]
40 Ia32/AsmFuncs.asm
41 Ia32/AsmFuncs.nasm
42 Ia32/AsmFuncs.S
43
44 [Sources.X64]
45 X64/AsmFuncs.asm
46 X64/AsmFuncs.nasm
47 X64/AsmFuncs.S
48
49 [Packages]
50 MdePkg/MdePkg.dec
51 MdeModulePkg/MdeModulePkg.dec
52 UefiCpuPkg/UefiCpuPkg.dec
53
54 [LibraryClasses]
55 PeiServicesTablePointerLib
56 PerformanceLib
57 HobLib
58 PeiServicesLib
59 PeimEntryPoint
60 TimerLib
61 BaseLib
62 DebugLib
63 PcdLib
64 IoLib
65 BaseMemoryLib
66 MemoryAllocationLib
67 DebugAgentLib
68 LocalApicLib
69 ReportStatusCodeLib
70 LockBoxLib
71 PrintLib
72
73 [Guids]
74 gEfiBootScriptExecutorVariableGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
75 gEfiBootScriptExecutorContextGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
76 ## SOMETIMES_CONSUMES ## HOB
77 ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
78 gEfiAcpiVariableGuid
79 gEfiAcpiS3ContextGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
80 gEdkiiEndOfS3ResumeGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Used to do smm communication
81 ## SOMETIMES_PRODUCES ## UNDEFINED # Install PPI
82 ## SOMETIMES_CONSUMES ## UNDEFINED # Used to do smm communication
83 gEdkiiS3SmmInitDoneGuid
84
85 [Ppis]
86 gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES
87 gEfiPeiS3Resume2PpiGuid ## PRODUCES
88 gPeiSmmAccessPpiGuid ## SOMETIMES_CONSUMES
89 gPeiPostScriptTablePpiGuid ## SOMETIMES_PRODUCES
90 gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_PRODUCES
91 gEfiPeiSmmCommunicationPpiGuid ## SOMETIMES_CONSUMES
92
93 [FeaturePcd]
94 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES
95 gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES
96
97 [Pcd]
98 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES
99 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask ## CONSUMES
100
101 [Depex]
102 TRUE
103
104 [UserExtensions.TianoCore."ExtraFiles"]
105 S3Resume2PeiExtra.uni