Correct INF file to make module pass ICC compiler.
[mirror_edk2.git] / UefiCpuPkg / Universal / Acpi / S3Resume2Pei / S3Resume2Pei.inf
1 ## @file
2 # S3 Resume Module:
3 # This module works with StandAloneBootScriptExecutor to S3 resume to OS.
4 # This module will excute the boot script saved during last boot and after that,
5 # control is passed to OS waking up handler.
6 #
7 # Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
8 #
9 # This program and the accompanying materials are
10 # licensed and made available under the terms and conditions of the BSD License
11 # which accompanies this distribution. The full text of the license may be found at
12 # http://opensource.org/licenses/bsd-license.php
13 #
14 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #
17 ##
18
19 [Defines]
20 INF_VERSION = 0x00010005
21 BASE_NAME = S3Resume2Pei
22 FILE_GUID = 89E549B0-7CFE-449d-9BA3-10D8B2312D71
23 MODULE_TYPE = PEIM
24 VERSION_STRING = 1.0
25 ENTRY_POINT = PeimS3ResumeEntryPoint
26
27 #
28 # The following information is for reference only and not required by the build tools.
29 #
30 # VALID_ARCHITECTURES = IA32 X64
31 #
32
33 [Sources]
34 S3Resume.c
35
36 [Sources.IA32]
37 Ia32/AsmFuncs.asm
38 Ia32/AsmFuncs.S | GCC
39
40 [Sources.X64]
41 X64/AsmFuncs.asm
42 X64/AsmFuncs.S | GCC
43
44 [Packages]
45 MdePkg/MdePkg.dec
46 MdeModulePkg/MdeModulePkg.dec
47 UefiCpuPkg/UefiCpuPkg.dec
48
49 [LibraryClasses]
50 PeiServicesTablePointerLib
51 PerformanceLib
52 HobLib
53 PeiServicesLib
54 PeimEntryPoint
55 TimerLib
56 BaseLib
57 DebugLib
58 PcdLib
59 IoLib
60 BaseMemoryLib
61 MemoryAllocationLib
62 DebugAgentLib
63 LocalApicLib
64 ReportStatusCodeLib
65 LockBoxLib
66 PrintLib
67
68 [Guids]
69 gEfiBootScriptExecutorVariableGuid # SOMETIMES_CONSUMED
70 gEfiBootScriptExecutorContextGuid # SOMETIMES_CONSUMED
71 gPerformanceProtocolGuid # ALWAYS_CONSUMED L"PerfDataMemAddr"
72 gEfiAcpiVariableGuid # ALWAYS_CONSUMED Hob: GUID_EXTENSION
73 gEfiAcpiS3ContextGuid # ALWAYS_CONSUMED
74
75 [Ppis]
76 gEfiPeiReadOnlyVariable2PpiGuid # PPI ALWAYS_CONSUMED
77 gEfiPeiS3Resume2PpiGuid # PPI ALWAYS_PRODUCED
78 gPeiSmmAccessPpiGuid # PPI ALWAYS_CONSUMED
79 gPeiPostScriptTablePpiGuid # PPI ALWAYS_PRODUCED
80 gEfiEndOfPeiSignalPpiGuid # PPI ALWAYS_PRODUCED
81
82 [FeaturePcd]
83 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
84 gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport
85
86 [Pcd]
87 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable
88
89 [Depex]
90 TRUE