VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/OvmfPkgIa32.dsc@ 58458

最後變更 在這個檔案從58458是 58189,由 vboxsync 提交於 9 年 前

EFI: Remove VBoxPkg VBoxVariable and merge changes into MdeModulePkg EmuVariableRuntimeDxe it was derived from

  • 屬性 svn:eol-style 設為 native
檔案大小: 23.6 KB
 
1## @file
2# EFI/Framework Open Virtual Machine Firmware (OVMF) platform
3#
4# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
5#
6# This program and the accompanying materials
7# are licensed and made available under the terms and conditions of the BSD License
8# which accompanies this distribution. The full text of the license may be found at
9# http://opensource.org/licenses/bsd-license.php
10#
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13#
14##
15
16################################################################################
17#
18# Defines Section - statements that will be processed to create a Makefile.
19#
20################################################################################
21[Defines]
22 PLATFORM_NAME = Ovmf
23 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
24 PLATFORM_VERSION = 0.1
25 DSC_SPECIFICATION = 0x00010005
26!ifndef $(VBOX_OUTPUT_BASE_DIR)
27 OUTPUT_DIRECTORY = Build/OvmfIa32
28!else
29 OUTPUT_DIRECTORY = $(VBOX_OUTPUT_BASE_DIR)/x86
30!endif
31 SUPPORTED_ARCHITECTURES = IA32
32 BUILD_TARGETS = DEBUG|RELEASE
33 SKUID_IDENTIFIER = DEFAULT
34 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32.fdf
35
36[BuildOptions]
37 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
38 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
39 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
40 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
41
42!ifdef $(VBOX)
43[BuildOptions.Ia32]
44 GCC:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV)
45 MSFT:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV)
46 INTEL:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV)
47[BuildOptions.X64]
48 GCC:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV)
49 MSFT:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV)
50 INTEL:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV)
51!endif
52
53
54################################################################################
55#
56# SKU Identification section - list of all SKU IDs supported by this Platform.
57#
58################################################################################
59[SkuIds]
60 0|DEFAULT
61
62################################################################################
63#
64# Library Class section - list of all Library Classes needed by this Platform.
65#
66################################################################################
67[LibraryClasses]
68 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
69 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
70 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
71 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
72 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
73 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
74 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
75 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
76!ifndef $(VBOX)
77 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
78!else
79 PeCoffLib|VBoxPkg/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf
80!endif
81 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
82 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
83 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
84 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
85 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
86 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
87 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
88 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
89 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
90 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
91 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
92 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
93 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
94 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
95 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
96 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
97 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
98 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
99 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
100 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
101 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
102 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
103 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
104 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
105 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
106 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
107 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
108 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
109 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
110 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
111
112!ifdef $(VBOX)
113 PeCoffExtraActionLib|VBoxPkg/Library/VBoxPeCoffExtraActionLib/VBoxPeCoffExtraActionLib.inf
114 DebugAgentLib|VBoxPkg/Library/VBoxDebugAgentLib/VBoxDebugAgentLib.inf
115!else
116!ifdef $(SOURCE_DEBUG_ENABLE)
117 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
118 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
119!else
120 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
121 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
122!endif
123!endif
124
125 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
126 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
127 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
128
129[LibraryClasses.common.SEC]
130!ifndef $(VBOX)
131 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
132!else
133 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
134!endif
135 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
136 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
137!ifdef $(VBOX)
138!ifdef $(SOURCE_DEBUG_ENABLE)
139 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
140!endif
141!endif
142 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
143 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
144 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
145 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
146
147[LibraryClasses.common.PEI_CORE]
148 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
149 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
150 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
151 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
152 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
153 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
154 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
155 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
156!ifndef $(VBOX)
157 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
158 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
159!else
160 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
161 PeCoffLib|VBoxPkg/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf
162!endif
163
164[LibraryClasses.common.PEIM]
165 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
166 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
167 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
168 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
169 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
170 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
171 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
172 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
173!ifndef $(VBOX)
174 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
175 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
176!else
177 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
178 PeCoffLib|VBoxPkg/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf
179!endif
180 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
181 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
182!ifdef $(VBOX)
183!ifdef $(SOURCE_DEBUG_ENABLE)
184 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
185!endif
186!endif
187
188[LibraryClasses.common.DXE_CORE]
189 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
190 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
191 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
192 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
193!ifndef $(VBOX)
194 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
195!else
196 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
197!endif
198 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
199 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
200!ifdef $(VBOX)
201!ifdef $(SOURCE_DEBUG_ENABLE)
202 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
203!endif
204!endif
205
206[LibraryClasses.common.DXE_RUNTIME_DRIVER]
207 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
208 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
209 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
210 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
211!ifndef $(VBOX)
212 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
213!else
214 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
215!endif
216 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
217 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
218 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
219
220[LibraryClasses.common.UEFI_DRIVER]
221 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
222 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
223 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
224 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
225!ifndef $(VBOX)
226 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
227!else
228 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
229!endif
230 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
231 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
232
233[LibraryClasses.common.DXE_DRIVER]
234 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
235 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
236 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
237 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
238 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
239 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
240!ifndef $(VBOX)
241 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
242!else
243 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
244!endif
245 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
246 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
247 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
248 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
249 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
250
251[LibraryClasses.common.UEFI_APPLICATION]
252 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
253 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
254!ifndef $(VBOX)
255 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
256!else
257 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
258!endif
259
260################################################################################
261#
262# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
263#
264################################################################################
265[PcdsFeatureFlag]
266 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
267 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
268 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
269 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
270 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
271 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
272!ifdef $(VBOX)
273 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeReplayIn|FALSE
274 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
275!endif
276
277[PcdsFixedAtBuild]
278 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
279 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
280 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
281 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
282 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
283 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400
284 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
285 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xc000
286 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0xc000
287 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x2000
288 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x10000
289
290 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
291
292 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0xff
293 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
294!ifdef $(SOURCE_DEBUG_ENABLE)
295 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
296!else
297 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
298!endif
299
300!ifdef $(SOURCE_DEBUG_ENABLE)
301 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
302!endif
303
304!if $(BUILD_NEW_SHELL)
305 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
306!else
307!if $(USE_NEW_SHELL)
308 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
309!endif
310!endif
311
312################################################################################
313#
314# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
315#
316################################################################################
317
318[PcdsDynamicDefault]
319 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
320 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
321 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
322 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
323
324################################################################################
325#
326# Components Section - list of all EDK II Modules needed by this Platform.
327#
328################################################################################
329[Components]
330 #
331 # SEC Phase modules
332 #
333 OvmfPkg/Sec/SecMain.inf {
334 <LibraryClasses>
335 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
336 }
337
338 #
339 # PEI Phase modules
340 #
341 MdeModulePkg/Core/Pei/PeiMain.inf
342 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
343 <LibraryClasses>
344 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
345 }
346 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
347 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
348
349 OvmfPkg/PlatformPei/PlatformPei.inf {
350 <LibraryClasses>
351 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
352 }
353
354 #
355 # DXE Phase modules
356 #
357 MdeModulePkg/Core/Dxe/DxeMain.inf {
358 <LibraryClasses>
359 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
360 }
361
362 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
363 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
364 <LibraryClasses>
365 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
366 }
367
368 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
369 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
370 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
371 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
372 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
373 UefiCpuPkg/CpuDxe/CpuDxe.inf
374 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
375 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
376 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
377 PcAtChipsetPkg/KbcResetDxe/Reset.inf
378 MdeModulePkg/Universal/Metronome/Metronome.inf {
379 <LibraryClasses>
380 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
381 }
382
383 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf {
384 <LibraryClasses>
385 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
386 }
387
388 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
389 <LibraryClasses>
390 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
391!ifdef $(CSM_ENABLE)
392 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
393!endif
394 }
395
396 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
397 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
398 <LibraryClasses>
399 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
400 }
401 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
402!ifndef $(VBOX)
403 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
404!else
405 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
406!endif
407 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
408 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
409 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
410 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
411 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
412 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
413 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
414 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
415 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
416 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
417 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
418 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
419 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
420 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
421 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
422 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
423 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
424 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
425 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
426
427!ifndef $(VBOX)
428 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
429 <LibraryClasses>
430 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
431 }
432!else
433 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
434 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
435 VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe.inf
436 VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf
437 VBoxPkg/VBoxFsDxe/VBoxIso9660.inf
438 VBoxPkg/VBoxFsDxe/VBoxHfs.inf
439 VBoxPkg/VBoxSysTables/VBoxSysTables.inf
440 VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
441 # we need it for VBoxAppleSim
442 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
443 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
444 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
445!endif
446
447 #
448 # ISA Support
449 #
450 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
451 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
452 IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
453 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
454 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
455 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
456
457 #
458 # SMBIOS Support
459 #
460 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
461 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
462
463 #
464 # ACPI Support
465 #
466 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
467 MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
468!ifndef $(VBOX)
469 OvmfPkg/AcpiTables/AcpiTables.inf
470!endif
471
472 #
473 # Network Support
474 #
475!if $(NETWORK_ENABLE)
476 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
477 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
478 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
479 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
480 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
481 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
482 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
483 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
484 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
485 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
486 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
487 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
488 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
489!endif
490
491 #
492 # Usb Support
493 #
494!ifndef $(VBOX)
495 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
496!endif
497 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
498 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
499 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
500 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
501
502!ifdef $(CSM_ENABLE)
503 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
504 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
505 OvmfPkg/Csm/Csm16/Csm16.inf
506!endif
507
508!if $(BUILD_NEW_SHELL)
509 ShellPkg/Application/Shell/Shell.inf {
510 <LibraryClasses>
511 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
512 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
513 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
514 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
515 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
516 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
517 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
518 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
519 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
520 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
521 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
522 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
523 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
524 PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
525# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
526# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
527
528 <PcdsFixedAtBuild>
529 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
530 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
531 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
532 }
533!endif
534
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette