]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/OvmfPkgIa32X64.dsc
ShellPkg: Fixed EBC build error.
[mirror_edk2.git] / OvmfPkg / OvmfPkgIa32X64.dsc
... / ...
CommitLineData
1## @file\r
2# EFI/Framework Open Virtual Machine Firmware (OVMF) platform\r
3#\r
4# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
5#\r
6# This program and the accompanying materials\r
7# are licensed and made available under the terms and conditions of the BSD License\r
8# which accompanies this distribution. The full text of the license may be found at\r
9# http://opensource.org/licenses/bsd-license.php\r
10#\r
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13#\r
14##\r
15\r
16################################################################################\r
17#\r
18# Defines Section - statements that will be processed to create a Makefile.\r
19#\r
20################################################################################\r
21[Defines]\r
22 PLATFORM_NAME = Ovmf\r
23 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b\r
24 PLATFORM_VERSION = 0.1\r
25 DSC_SPECIFICATION = 0x00010005\r
26 OUTPUT_DIRECTORY = Build/Ovmf3264\r
27 SUPPORTED_ARCHITECTURES = IA32|X64\r
28 BUILD_TARGETS = DEBUG|RELEASE\r
29 SKUID_IDENTIFIER = DEFAULT\r
30 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32X64.fdf\r
31\r
32 #\r
33 # Defines for default states. These can be changed on the command line.\r
34 # -D FLAG=VALUE\r
35 #\r
36 DEFINE SECURE_BOOT_ENABLE = FALSE\r
37 DEFINE NETWORK_IP6_ENABLE = FALSE\r
38\r
39[BuildOptions]\r
40 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
41 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
42 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
43 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
44 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse\r
45!ifdef $(SOURCE_DEBUG_ENABLE)\r
46 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
47 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
48 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
49!endif\r
50 \r
51################################################################################\r
52#\r
53# SKU Identification section - list of all SKU IDs supported by this Platform.\r
54#\r
55################################################################################\r
56[SkuIds]\r
57 0|DEFAULT\r
58\r
59################################################################################\r
60#\r
61# Library Class section - list of all Library Classes needed by this Platform.\r
62#\r
63################################################################################\r
64[LibraryClasses]\r
65 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
66 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r
67 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
68 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
69 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
70 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
71 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
72 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
73 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
74 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
75 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
76 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
77 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
78 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
79 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
80 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
81 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
82 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
83 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
84 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
85 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
86 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
87 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r
88 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
89 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
90 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
91 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
92 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
93 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
94 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
95 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf\r
96 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
97 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
98 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
99 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
100 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
101 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
102 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
103 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
104 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf\r
105 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf\r
106 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
107 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf\r
108 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf\r
109 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
110\r
111!ifdef $(SOURCE_DEBUG_ENABLE)\r
112 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
113 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
114!else\r
115 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
116 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
117!endif\r
118\r
119 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
120 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf\r
121 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
122\r
123!if $(SECURE_BOOT_ENABLE) == TRUE\r
124 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r
125 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
126 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
127 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
128!if $(NETWORK_IP6_ENABLE) == TRUE\r
129 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf\r
130!endif\r
131!endif\r
132\r
133 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
134 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
135 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
136 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLibIntel.inf\r
137\r
138[LibraryClasses.common]\r
139!if $(SECURE_BOOT_ENABLE) == TRUE\r
140 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
141!endif\r
142\r
143[LibraryClasses.common.SEC]\r
144 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf\r
145 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf\r
146!ifdef $(DEBUG_ON_SERIAL_PORT)\r
147 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
148!else\r
149 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
150!endif\r
151 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
152 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
153!ifdef $(SOURCE_DEBUG_ENABLE)\r
154 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
155!endif\r
156 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
157 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
158 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
159 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
160 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
161\r
162[LibraryClasses.common.PEI_CORE]\r
163 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
164 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
165 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
166 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
167 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
168 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
169 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
170 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
171!ifdef $(DEBUG_ON_SERIAL_PORT)\r
172 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
173!else\r
174 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
175!endif\r
176 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
177\r
178[LibraryClasses.common.PEIM]\r
179 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
180 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
181 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
182 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
183 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
184 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
185 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
186 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
187!ifdef $(DEBUG_ON_SERIAL_PORT)\r
188 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
189!else\r
190 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
191!endif\r
192 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
193 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
194 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
195!ifdef $(SOURCE_DEBUG_ENABLE)\r
196 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
197!endif\r
198\r
199[LibraryClasses.common.DXE_CORE]\r
200 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
201 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
202 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
203 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
204!ifdef $(DEBUG_ON_SERIAL_PORT)\r
205 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
206!else\r
207 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
208!endif\r
209 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
210!ifdef $(SOURCE_DEBUG_ENABLE)\r
211 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
212!endif\r
213 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
214\r
215[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
216 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
217 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
218 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
219 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
220 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
221 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
222!ifdef $(DEBUG_ON_SERIAL_PORT)\r
223 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
224!else\r
225 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
226!endif\r
227 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
228!if $(SECURE_BOOT_ENABLE) == TRUE\r
229 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
230!endif\r
231\r
232[LibraryClasses.common.UEFI_DRIVER]\r
233 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
234 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
235 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
236 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
237 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
238 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
239!ifdef $(DEBUG_ON_SERIAL_PORT)\r
240 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
241!else\r
242 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
243!endif\r
244 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
245\r
246[LibraryClasses.common.DXE_DRIVER]\r
247 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
248 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
249 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
250 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
251 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
252 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
253!ifdef $(DEBUG_ON_SERIAL_PORT)\r
254 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
255!else\r
256 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
257!endif\r
258 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
259 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
260 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
261 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
262 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf\r
263 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
264 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r
265!ifdef $(SOURCE_DEBUG_ENABLE)\r
266 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
267!endif\r
268 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
269\r
270[LibraryClasses.common.UEFI_APPLICATION]\r
271 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
272 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
273 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
274 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
275!ifdef $(DEBUG_ON_SERIAL_PORT)\r
276 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
277!else\r
278 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
279!endif\r
280\r
281[LibraryClasses.common.DXE_SMM_DRIVER]\r
282 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
283 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
284\r
285[LibraryClasses.common.SMM_CORE]\r
286 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
287 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
288\r
289################################################################################\r
290#\r
291# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
292#\r
293################################################################################\r
294[PcdsFeatureFlag]\r
295 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
296 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
297 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
298 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE\r
299 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
300 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
301!if $(SECURE_BOOT_ENABLE) == TRUE\r
302 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE\r
303!endif\r
304\r
305[PcdsFixedAtBuild]\r
306 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
307 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
308 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
309 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6\r
310 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32\r
311 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
312 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000\r
313 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
314\r
315 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
316\r
317 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
318 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
319!ifdef $(SOURCE_DEBUG_ENABLE)\r
320 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
321!else\r
322 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
323!endif\r
324\r
325!ifdef $(SOURCE_DEBUG_ENABLE)\r
326 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
327!endif\r
328\r
329!ifndef $(USE_OLD_SHELL)\r
330 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
331!endif\r
332\r
333[PcdsFixedAtBuild.X64]\r
334!if $(SECURE_BOOT_ENABLE) == TRUE\r
335 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot\r
336 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04\r
337 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04\r
338 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04\r
339!endif\r
340\r
341 # IRQs 5, 9, 10, 11 are level-triggered\r
342 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
343\r
344################################################################################\r
345#\r
346# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
347#\r
348################################################################################\r
349\r
350[PcdsDynamicDefault]\r
351 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
352 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
353 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
354 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
355 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE\r
356 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
357 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
358 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
359\r
360 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
361\r
362 # Set video resolution for text setup.\r
363 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
364 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
365\r
366################################################################################\r
367#\r
368# Components Section - list of all EDK II Modules needed by this Platform.\r
369#\r
370################################################################################\r
371[Components.IA32]\r
372 OvmfPkg/ResetVector/ResetVector.inf\r
373\r
374 #\r
375 # SEC Phase modules\r
376 #\r
377 OvmfPkg/Sec/SecMain.inf {\r
378 <LibraryClasses>\r
379 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
380 }\r
381\r
382 #\r
383 # PEI Phase modules\r
384 #\r
385 MdeModulePkg/Core/Pei/PeiMain.inf\r
386 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
387 <LibraryClasses>\r
388 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
389 }\r
390 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
391 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
392\r
393 OvmfPkg/PlatformPei/PlatformPei.inf {\r
394 <LibraryClasses>\r
395 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
396 }\r
397 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
398 <LibraryClasses>\r
399 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
400 }\r
401\r
402[Components.X64]\r
403 #\r
404 # DXE Phase modules\r
405 #\r
406 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
407 <LibraryClasses>\r
408 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
409 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
410 }\r
411\r
412 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf\r
413 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
414 <LibraryClasses>\r
415 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
416 }\r
417\r
418 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
419\r
420!if $(SECURE_BOOT_ENABLE) == TRUE\r
421 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
422 <LibraryClasses>\r
423 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
424 }\r
425!else\r
426 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
427!endif\r
428\r
429 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
430 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
431 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
432 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
433 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
434 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf\r
435 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
436 <LibraryClasses>\r
437 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
438 }\r
439 PcAtChipsetPkg/KbcResetDxe/Reset.inf\r
440 MdeModulePkg/Universal/Metronome/Metronome.inf\r
441 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
442 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
443 <LibraryClasses>\r
444!ifdef $(CSM_ENABLE)\r
445 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
446!endif\r
447 }\r
448\r
449 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf\r
450 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
451 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
452 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
453 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
454 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
455 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
456 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
457 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
458 <LibraryClasses>\r
459 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
460 }\r
461 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
462 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r
463 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
464 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
465 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
466 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
467 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
468 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
469 <LibraryClasses>\r
470 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
471 }\r
472 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
473 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
474 <LibraryClasses>\r
475 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
476 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
477 }\r
478 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
479 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
480 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
481 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
482 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
483 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
484 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
485 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf\r
486 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
487 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
488 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
489 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
490\r
491 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {\r
492 <LibraryClasses>\r
493 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
494 }\r
495\r
496 #\r
497 # ISA Support\r
498 #\r
499 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
500 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
501 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
502 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
503 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
504\r
505 #\r
506 # SMBIOS Support\r
507 #\r
508 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
509 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
510\r
511 #\r
512 # ACPI Support\r
513 #\r
514 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
515 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
516 OvmfPkg/AcpiTables/AcpiTables.inf\r
517 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf\r
518 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
519 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
520\r
521 #\r
522 # Network Support\r
523 #\r
524 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf\r
525 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
526 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
527 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
528 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
529 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
530 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf\r
531 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
532 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
533 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
534!if $(NETWORK_IP6_ENABLE) == TRUE\r
535 NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
536 NetworkPkg/TcpDxe/TcpDxe.inf\r
537 NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
538 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
539 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
540 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
541!if $(SECURE_BOOT_ENABLE) == TRUE\r
542 NetworkPkg/IScsiDxe/IScsiDxe.inf\r
543!else\r
544 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
545!endif\r
546!else\r
547 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
548 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
549 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
550!endif\r
551 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
552\r
553 #\r
554 # Usb Support\r
555 #\r
556 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
557 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
558 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
559 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
560 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
561\r
562!ifdef $(CSM_ENABLE)\r
563 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
564 <LibraryClasses>\r
565 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
566 }\r
567 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
568 OvmfPkg/Csm/Csm16/Csm16.inf\r
569!endif\r
570\r
571!ifndef $(USE_OLD_SHELL)\r
572 ShellPkg/Application/Shell/Shell.inf {\r
573 <LibraryClasses>\r
574 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
575 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
576 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
577 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
578 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
579 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
580 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
581 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
582 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
583 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
584 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
585 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
586 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
587# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r
588# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r
589 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
590\r
591 <PcdsFixedAtBuild>\r
592 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
593 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
594 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
595 }\r
596!endif\r
597\r
598!if $(SECURE_BOOT_ENABLE) == TRUE\r
599 SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf {\r
600 <LibraryClasses>\r
601 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
602 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
603 }\r
604 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
605!endif\r
606\r
607 OvmfPkg/PlatformDxe/Platform.inf\r