]> git.proxmox.com Git - mirror_edk2.git/blame - UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
UefiCpuPkg: Supporting S3 in 64bit PEI
[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
3e2ec189 8# Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>\r
787a085b 9# Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>\r
1f569620 10#\r
0acd8697 11# SPDX-License-Identifier: BSD-2-Clause-Patent\r
1f569620 12#\r
13##\r
14\r
15[Defines]\r
16 INF_VERSION = 0x00010005\r
17 BASE_NAME = S3Resume2Pei\r
e48e0742 18 MODULE_UNI_FILE = S3Resume2Pei.uni\r
1f569620 19 FILE_GUID = 89E549B0-7CFE-449d-9BA3-10D8B2312D71\r
20 MODULE_TYPE = PEIM\r
21 VERSION_STRING = 1.0\r
22 ENTRY_POINT = PeimS3ResumeEntryPoint\r
23\r
24#\r
25# The following information is for reference only and not required by the build tools.\r
26#\r
27# VALID_ARCHITECTURES = IA32 X64\r
28#\r
29\r
55e8ff01
ED
30#\r
31# This module is not always workable in IA32 and X64 mode. It has below result:\r
32# when it works with SMM mode:\r
33# ===============================\r
34# SMM:used SMM:unused\r
35# PEI:IA32 works works\r
36# PEI:X64 fails works\r
37# ===============================\r
38#\r
39\r
1f569620 40[Sources]\r
41 S3Resume.c\r
42\r
abef469f 43[Sources.IA32]\r
ac6229a7 44 Ia32/AsmFuncs.nasm\r
abef469f 45\r
46[Sources.X64]\r
ac6229a7 47 X64/AsmFuncs.nasm\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
1f569620 60 BaseLib\r
61 DebugLib\r
62 PcdLib\r
63 IoLib\r
64 BaseMemoryLib\r
65 MemoryAllocationLib\r
66 DebugAgentLib\r
67 LocalApicLib\r
68 ReportStatusCodeLib\r
69 LockBoxLib\r
1f569620 70\r
71[Guids]\r
e48e0742
LG
72 gEfiBootScriptExecutorVariableGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox\r
73 gEfiBootScriptExecutorContextGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox\r
e48e0742
LG
74 ## SOMETIMES_CONSUMES ## HOB\r
75 ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox\r
76 gEfiAcpiVariableGuid\r
77 gEfiAcpiS3ContextGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox\r
a85e7127 78 gEdkiiEndOfS3ResumeGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Used to do smm communication\r
5b29e438
SZ
79 ## SOMETIMES_PRODUCES ## UNDEFINED # Install PPI\r
80 ## SOMETIMES_CONSUMES ## UNDEFINED # Used to do smm communication\r
81 gEdkiiS3SmmInitDoneGuid\r
1f569620 82\r
83[Ppis]\r
e48e0742
LG
84 gEfiPeiS3Resume2PpiGuid ## PRODUCES\r
85 gPeiSmmAccessPpiGuid ## SOMETIMES_CONSUMES\r
86 gPeiPostScriptTablePpiGuid ## SOMETIMES_PRODUCES\r
87 gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_PRODUCES\r
18b13fab
ED
88 gEfiPeiSmmCommunicationPpiGuid ## SOMETIMES_CONSUMES\r
89\r
1f569620 90[FeaturePcd]\r
e48e0742 91 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES\r
1f569620 92\r
378175d2 93[Pcd]\r
e48e0742 94 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES\r
787a085b 95 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask ## CONSUMES\r
378175d2 96\r
1f569620 97[Depex]\r
40ef06fc 98 TRUE\r
e48e0742
LG
99\r
100[UserExtensions.TianoCore."ExtraFiles"]\r
101 S3Resume2PeiExtra.uni\r