]> git.proxmox.com Git - mirror_edk2.git/blob - UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
UefiCpuPkg/S3Resume2Pei: disable paging before creating new page table.
[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 #
37 # This module is not always workable in IA32 and X64 mode. It has below result:
38 # when it works with SMM mode:
39 # ===============================
40 # SMM:used SMM:unused
41 # PEI:IA32 works works
42 # PEI:X64 fails works
43 # ===============================
44 #
45
46 [Sources]
47 S3Resume.c
48
49 [Sources.IA32]
50 Ia32/AsmFuncs.nasm
51
52 [Sources.X64]
53 X64/AsmFuncs.nasm
54
55 [Packages]
56 MdePkg/MdePkg.dec
57 MdeModulePkg/MdeModulePkg.dec
58 UefiCpuPkg/UefiCpuPkg.dec
59
60 [LibraryClasses]
61 PeiServicesTablePointerLib
62 PerformanceLib
63 HobLib
64 PeiServicesLib
65 PeimEntryPoint
66 BaseLib
67 DebugLib
68 PcdLib
69 IoLib
70 BaseMemoryLib
71 MemoryAllocationLib
72 DebugAgentLib
73 LocalApicLib
74 ReportStatusCodeLib
75 LockBoxLib
76
77 [Guids]
78 gEfiBootScriptExecutorVariableGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
79 gEfiBootScriptExecutorContextGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
80 ## SOMETIMES_CONSUMES ## HOB
81 ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
82 gEfiAcpiVariableGuid
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
88
89 [Ppis]
90 gEfiPeiS3Resume2PpiGuid ## PRODUCES
91 gPeiSmmAccessPpiGuid ## SOMETIMES_CONSUMES
92 gPeiPostScriptTablePpiGuid ## SOMETIMES_PRODUCES
93 gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_PRODUCES
94 gEfiPeiSmmCommunicationPpiGuid ## SOMETIMES_CONSUMES
95
96 [FeaturePcd]
97 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES
98 gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES
99
100 [Pcd]
101 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES
102 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask ## CONSUMES
103
104 [Depex]
105 TRUE
106
107 [UserExtensions.TianoCore."ExtraFiles"]
108 S3Resume2PeiExtra.uni