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