]> git.proxmox.com Git - mirror_edk2.git/blob - UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
UefiCpuPkg S3Resume2Pei: Add nasm source file into INF file.
[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 - 2014, Intel Corporation. All rights reserved.<BR>
9 #
10 # This program and the accompanying materials are
11 # licensed and made available under the terms and conditions of the BSD License
12 # which accompanies this distribution. The full text of the license may be found at
13 # http://opensource.org/licenses/bsd-license.php
14 #
15 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 #
18 ##
19
20 [Defines]
21 INF_VERSION = 0x00010005
22 BASE_NAME = S3Resume2Pei
23 MODULE_UNI_FILE = S3Resume2Pei.uni
24 FILE_GUID = 89E549B0-7CFE-449d-9BA3-10D8B2312D71
25 MODULE_TYPE = PEIM
26 VERSION_STRING = 1.0
27 ENTRY_POINT = PeimS3ResumeEntryPoint
28
29 #
30 # The following information is for reference only and not required by the build tools.
31 #
32 # VALID_ARCHITECTURES = IA32 X64
33 #
34
35 [Sources]
36 S3Resume.c
37
38 [Sources.IA32]
39 Ia32/AsmFuncs.asm
40 Ia32/AsmFuncs.nasm
41 Ia32/AsmFuncs.S
42
43 [Sources.X64]
44 X64/AsmFuncs.asm
45 X64/AsmFuncs.nasm
46 X64/AsmFuncs.S
47
48 [Packages]
49 MdePkg/MdePkg.dec
50 MdeModulePkg/MdeModulePkg.dec
51 UefiCpuPkg/UefiCpuPkg.dec
52
53 [LibraryClasses]
54 PeiServicesTablePointerLib
55 PerformanceLib
56 HobLib
57 PeiServicesLib
58 PeimEntryPoint
59 TimerLib
60 BaseLib
61 DebugLib
62 PcdLib
63 IoLib
64 BaseMemoryLib
65 MemoryAllocationLib
66 DebugAgentLib
67 LocalApicLib
68 ReportStatusCodeLib
69 LockBoxLib
70 PrintLib
71
72 [Guids]
73 gEfiBootScriptExecutorVariableGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
74 gEfiBootScriptExecutorContextGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
75 gPerformanceProtocolGuid ## SOMETIMES_CONSUMES ## Variable:L"PerfDataMemAddr"
76 ## SOMETIMES_CONSUMES ## HOB
77 ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
78 gEfiAcpiVariableGuid
79 gEfiAcpiS3ContextGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox
80
81 [Ppis]
82 gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES
83 gEfiPeiS3Resume2PpiGuid ## PRODUCES
84 gPeiSmmAccessPpiGuid ## SOMETIMES_CONSUMES
85 gPeiPostScriptTablePpiGuid ## SOMETIMES_PRODUCES
86 gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_PRODUCES
87
88 [FeaturePcd]
89 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES
90 gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES
91
92 [Pcd]
93 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES
94
95 [Depex]
96 TRUE
97
98 [UserExtensions.TianoCore."ExtraFiles"]
99 S3Resume2PeiExtra.uni