]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/OvmfPkgX64.dsc
ArmVirtualizationPkg: PlatformIntelBdsLib: add basic policy
[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|ShellPkg/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\r
268[LibraryClasses.common.UEFI_APPLICATION]\r
269 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
270 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
271 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
272 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
273!ifdef $(DEBUG_ON_SERIAL_PORT)\r
274 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
275!else\r
276 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
277!endif\r
278\r
279[LibraryClasses.common.DXE_SMM_DRIVER]\r
280 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
281 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
282\r
283[LibraryClasses.common.SMM_CORE]\r
284 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
285 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
286\r
287################################################################################\r
288#\r
289# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
290#\r
291################################################################################\r
292[PcdsFeatureFlag]\r
293 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
294 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
295 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
296 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
297 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
298 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
299!if $(SECURE_BOOT_ENABLE) == TRUE\r
300 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE\r
301!endif\r
302\r
303[PcdsFixedAtBuild]\r
304 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
305 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
306 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
307 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6\r
308 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32\r
309 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
310 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000\r
311 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
312\r
313 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
314\r
315 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
316 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
317!ifdef $(SOURCE_DEBUG_ENABLE)\r
318 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
319!else\r
320 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
321!endif\r
322\r
323!ifdef $(SOURCE_DEBUG_ENABLE)\r
324 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
325!endif\r
326\r
327!ifndef $(USE_OLD_SHELL)\r
328 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
329!endif\r
330\r
331!if $(SECURE_BOOT_ENABLE) == TRUE\r
332 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot\r
333 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04\r
334 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04\r
335 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04\r
336!endif\r
337\r
338 # IRQs 5, 9, 10, 11 are level-triggered\r
339 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
340\r
341################################################################################\r
342#\r
343# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
344#\r
345################################################################################\r
346\r
347[PcdsDynamicDefault]\r
348 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
349 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
350 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
351 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
352 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE\r
353 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
354 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
355 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
356\r
357 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
358\r
359 # Set video resolution for text setup.\r
360 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
361 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
362\r
363################################################################################\r
364#\r
365# Components Section - list of all EDK II Modules needed by this Platform.\r
366#\r
367################################################################################\r
368[Components]\r
369 OvmfPkg/ResetVector/ResetVector.inf\r
370\r
371 #\r
372 # SEC Phase modules\r
373 #\r
374 OvmfPkg/Sec/SecMain.inf {\r
375 <LibraryClasses>\r
376 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
377 }\r
378\r
379 #\r
380 # PEI Phase modules\r
381 #\r
382 MdeModulePkg/Core/Pei/PeiMain.inf\r
383 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
384 <LibraryClasses>\r
385 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
386 }\r
387 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
388 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
389\r
390 OvmfPkg/PlatformPei/PlatformPei.inf {\r
391 <LibraryClasses>\r
392 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
393 }\r
394 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
395 <LibraryClasses>\r
396 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
397 }\r
398\r
399 #\r
400 # DXE Phase modules\r
401 #\r
402 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
403 <LibraryClasses>\r
404 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
405 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
406 }\r
407\r
408 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf\r
409 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
410 <LibraryClasses>\r
411 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
412 }\r
413\r
414 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
415\r
416!if $(SECURE_BOOT_ENABLE) == TRUE\r
417 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
418 <LibraryClasses>\r
419 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
420 }\r
421!else\r
422 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
423!endif\r
424\r
425 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
426 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
427 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
428 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
429 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
430 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf\r
431 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
432 <LibraryClasses>\r
433 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
434 }\r
435 PcAtChipsetPkg/KbcResetDxe/Reset.inf\r
436 MdeModulePkg/Universal/Metronome/Metronome.inf\r
437 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
438 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
439 <LibraryClasses>\r
440!ifdef $(CSM_ENABLE)\r
441 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
442!endif\r
443 }\r
444\r
445 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf\r
446 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
447 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
448 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
449 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
450 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
451 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
452 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
453 <LibraryClasses>\r
454 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
455 }\r
456 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
457 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r
458 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
459 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
460 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
461 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
462 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
463 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
464 <LibraryClasses>\r
465 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
466 }\r
467 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
468 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
469 <LibraryClasses>\r
470 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
471 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
472 }\r
473 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
474 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
475 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
476 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
477 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
478 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
479 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
480 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf\r
481 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
482 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
483 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
484 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
485\r
486 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {\r
487 <LibraryClasses>\r
488 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
489 }\r
490\r
491 #\r
492 # ISA Support\r
493 #\r
494 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
495 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
496 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
497 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
498 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
499\r
500 #\r
501 # SMBIOS Support\r
502 #\r
503 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
504 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
505\r
506 #\r
507 # ACPI Support\r
508 #\r
509 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
510 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
511 OvmfPkg/AcpiTables/AcpiTables.inf\r
512 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf\r
513 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
514 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
515\r
516 #\r
517 # Network Support\r
518 #\r
519 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf\r
520 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
521 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
522 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
523 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
524 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
525 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf\r
526 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
527 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
528 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
529!if $(NETWORK_IP6_ENABLE) == TRUE\r
530 NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
531 NetworkPkg/TcpDxe/TcpDxe.inf\r
532 NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
533 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
534 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
535 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
536!if $(SECURE_BOOT_ENABLE) == TRUE\r
537 NetworkPkg/IScsiDxe/IScsiDxe.inf\r
538!else\r
539 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
540!endif\r
541!else\r
542 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
543 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
544 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
545!endif\r
546 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
547\r
548 #\r
549 # Usb Support\r
550 #\r
551 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
552 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
553 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
554 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
555 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
556\r
557!ifdef $(CSM_ENABLE)\r
558 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
559 <LibraryClasses>\r
560 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
561 }\r
562 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
563 OvmfPkg/Csm/Csm16/Csm16.inf\r
564!endif\r
565\r
566!ifndef $(USE_OLD_SHELL)\r
567 ShellPkg/Application/Shell/Shell.inf {\r
568 <LibraryClasses>\r
569 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
570 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
571 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
572 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
573 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
574 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
575 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
576 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
577 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
578 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
579 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
580 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf\r
581 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
582 PathLib|ShellPkg/Library/BasePathLib/BasePathLib.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