UefiCpuPkg S3ResumePei: Signal S3SmmInitDone
[mirror_edk2.git] / UefiCpuPkg / Universal / Acpi / S3Resume2Pei / S3Resume2Pei.inf
CommitLineData
1f569620 1## @file\r
e48e0742
LG
2# S3 Resume Module installs EFI_PEI_S3_RESUME2_PPI.\r
3#\r
1f569620 4# This module works with StandAloneBootScriptExecutor to S3 resume to OS.\r
5# This module will excute the boot script saved during last boot and after that,\r
6# control is passed to OS waking up handler.\r
7#\r
93fe14c2 8# Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>\r
787a085b 9# Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>\r
1f569620 10#\r
11# This program and the accompanying materials are\r
12# licensed and made available under the terms and conditions of the BSD License\r
13# which accompanies this distribution. The full text of the license may be found at\r
14# http://opensource.org/licenses/bsd-license.php\r
15#\r
16# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
17# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
18#\r
19##\r
20\r
21[Defines]\r
22 INF_VERSION = 0x00010005\r
23 BASE_NAME = S3Resume2Pei\r
e48e0742 24 MODULE_UNI_FILE = S3Resume2Pei.uni\r
1f569620 25 FILE_GUID = 89E549B0-7CFE-449d-9BA3-10D8B2312D71\r
26 MODULE_TYPE = PEIM\r
27 VERSION_STRING = 1.0\r
28 ENTRY_POINT = PeimS3ResumeEntryPoint\r
29\r
30#\r
31# The following information is for reference only and not required by the build tools.\r
32#\r
33# VALID_ARCHITECTURES = IA32 X64\r
34#\r
35\r
36[Sources]\r
37 S3Resume.c\r
38\r
abef469f 39[Sources.IA32]\r
4db0b65c 40 Ia32/AsmFuncs.asm\r
ac6229a7
LG
41 Ia32/AsmFuncs.nasm\r
42 Ia32/AsmFuncs.S\r
abef469f 43\r
44[Sources.X64]\r
4db0b65c 45 X64/AsmFuncs.asm\r
ac6229a7
LG
46 X64/AsmFuncs.nasm\r
47 X64/AsmFuncs.S\r
abef469f 48\r
1f569620 49[Packages]\r
50 MdePkg/MdePkg.dec\r
51 MdeModulePkg/MdeModulePkg.dec\r
52 UefiCpuPkg/UefiCpuPkg.dec\r
53\r
54[LibraryClasses]\r
55 PeiServicesTablePointerLib\r
56 PerformanceLib\r
57 HobLib\r
58 PeiServicesLib\r
59 PeimEntryPoint\r
60 TimerLib\r
61 BaseLib\r
62 DebugLib\r
63 PcdLib\r
64 IoLib\r
65 BaseMemoryLib\r
66 MemoryAllocationLib\r
67 DebugAgentLib\r
68 LocalApicLib\r
69 ReportStatusCodeLib\r
70 LockBoxLib\r
71 PrintLib\r
72\r
73[Guids]\r
e48e0742
LG
74 gEfiBootScriptExecutorVariableGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox\r
75 gEfiBootScriptExecutorContextGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox\r
e48e0742
LG
76 ## SOMETIMES_CONSUMES ## HOB\r
77 ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox\r
78 gEfiAcpiVariableGuid\r
79 gEfiAcpiS3ContextGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox\r
a85e7127 80 gEdkiiEndOfS3ResumeGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Used to do smm communication\r
5b29e438
SZ
81 ## SOMETIMES_PRODUCES ## UNDEFINED # Install PPI\r
82 ## SOMETIMES_CONSUMES ## UNDEFINED # Used to do smm communication\r
83 gEdkiiS3SmmInitDoneGuid\r
1f569620 84\r
85[Ppis]\r
e48e0742
LG
86 gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES\r
87 gEfiPeiS3Resume2PpiGuid ## PRODUCES\r
88 gPeiSmmAccessPpiGuid ## SOMETIMES_CONSUMES\r
89 gPeiPostScriptTablePpiGuid ## SOMETIMES_PRODUCES\r
90 gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_PRODUCES\r
18b13fab
ED
91 gEfiPeiSmmCommunicationPpiGuid ## SOMETIMES_CONSUMES\r
92\r
1f569620 93[FeaturePcd]\r
e48e0742
LG
94 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES\r
95 gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES\r
1f569620 96\r
378175d2 97[Pcd]\r
e48e0742 98 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES\r
787a085b 99 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask ## CONSUMES\r
378175d2 100\r
1f569620 101[Depex]\r
40ef06fc 102 TRUE\r
e48e0742
LG
103\r
104[UserExtensions.TianoCore."ExtraFiles"]\r
105 S3Resume2PeiExtra.uni\r