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