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