VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/OvmfPkgX64.dsc@ 48674

最後變更 在這個檔案從48674是 48674,由 vboxsync 提交於 11 年 前

EFI: Export newly imported tinaocore UEFI sources to OSE.

  • 屬性 svn:eol-style 設為 native
檔案大小: 24.1 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/OvmfX64
28!else
29 OUTPUT_DIRECTORY = $(VBOX_OUTPUT_BASE_DIR)/amd64
30!endif
31 SUPPORTED_ARCHITECTURES = X64
32 BUILD_TARGETS = DEBUG|RELEASE
33 SKUID_IDENTIFIER = DEFAULT
34 FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.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# SKU Identification section - list of all SKU IDs supported by this Platform.
56#
57################################################################################
58[SkuIds]
59 0|DEFAULT
60
61################################################################################
62#
63# Library Class section - list of all Library Classes needed by this Platform.
64#
65################################################################################
66[LibraryClasses]
67 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
68!ifndef $(VBOX)
69 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
70!else
71 TimerLib|VBoxPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
72!endif
73 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
74 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
75 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
76 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
77 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
78 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
79!ifndef $(VBOX)
80 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
81!else
82 PeCoffLib|VBoxPkg/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf
83!endif
84 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
85 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
86 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
87 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
88 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
89 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
90 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
91 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
92 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
93 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
94 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
95 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
96 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
97 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
98 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
99 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
100 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
101 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
102 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
103 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
104 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
105 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
106 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
107 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
108 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
109 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
110 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
111 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
112 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
113 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
114 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
115
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
124 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
125 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
126 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
127
128[LibraryClasses.common.SEC]
129!ifndef $(VBOX)
130 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
131!else
132 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
133!endif
134 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
135 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
136!ifdef $(SOURCE_DEBUG_ENABLE)
137 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
138!endif
139 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
140 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
141 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
142 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
143
144[LibraryClasses.common.PEI_CORE]
145 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
146 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
147 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
148 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
149 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
150 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
151 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
152 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
153!ifndef $(VBOX)
154 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
155 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
156!else
157 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
158 PeCoffLib|VBoxPkg/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf
159!endif
160
161[LibraryClasses.common.PEIM]
162 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
163 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
164 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
165 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
166 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
167 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
168 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
169 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
170!ifndef $(VBOX)
171 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
172 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
173!else
174 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
175 PeCoffLib|VBoxPkg/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf
176!endif
177 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
178 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
179!ifdef $(SOURCE_DEBUG_ENABLE)
180 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
181!endif
182
183[LibraryClasses.common.DXE_CORE]
184 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
185 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
186 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
187 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
188!ifndef $(VBOX)
189 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
190!else
191 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
192!endif
193 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
194 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
195!ifdef $(SOURCE_DEBUG_ENABLE)
196 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
197!endif
198
199[LibraryClasses.common.DXE_RUNTIME_DRIVER]
200 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
201 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
202 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
203 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
204!ifndef $(VBOX)
205 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
206!else
207 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
208!endif
209 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
210 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
211 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
212
213[LibraryClasses.common.UEFI_DRIVER]
214 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
215 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
216 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
217 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
218!ifndef $(VBOX)
219 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
220!else
221 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
222!endif
223 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
224 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
225
226[LibraryClasses.common.DXE_DRIVER]
227 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
228 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
229 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
230 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
231 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
232 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
233!ifndef $(VBOX)
234 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
235!else
236 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
237!endif
238 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
239 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
240 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
241 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
242 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
243
244[LibraryClasses.common.UEFI_APPLICATION]
245 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
246 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
247!ifndef $(VBOX)
248 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
249!else
250 DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
251!endif
252
253################################################################################
254#
255# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
256#
257################################################################################
258[PcdsFeatureFlag]
259 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
260 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
261 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
262 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
263 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
264 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
265!ifdef $(VBOX)
266 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeReplayIn|FALSE
267 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
268!endif
269
270[PcdsFixedAtBuild]
271 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
272 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
273 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
274 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
275 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
276 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400
277 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
278 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xc000
279 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0xc000
280 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x2000
281 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x10000
282
283 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
284
285 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0xff
286 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
287!ifdef $(SOURCE_DEBUG_ENABLE)
288 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
289!else
290 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
291!endif
292
293!ifdef $(SOURCE_DEBUG_ENABLE)
294 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
295!endif
296
297!if $(BUILD_NEW_SHELL)
298 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
299!else
300!if $(USE_NEW_SHELL)
301 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
302!endif
303!endif
304
305################################################################################
306#
307# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
308#
309################################################################################
310
311[PcdsDynamicDefault]
312 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
313 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
314 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
315 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
316
317################################################################################
318#
319# Components Section - list of all EDK II Modules needed by this Platform.
320#
321################################################################################
322[Components]
323 #
324 # SEC Phase modules
325 #
326 OvmfPkg/Sec/SecMain.inf {
327 <LibraryClasses>
328 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
329 }
330
331 #
332 # PEI Phase modules
333 #
334 MdeModulePkg/Core/Pei/PeiMain.inf
335 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
336 <LibraryClasses>
337 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
338 }
339 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
340 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
341
342!ifndef $(VBOX)
343 OvmfPkg/PlatformPei/PlatformPei.inf {
344 <LibraryClasses>
345 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
346 }
347!else
348 VBoxPkg/PlatformPei/PlatformPei.inf {
349 <LibraryClasses>
350 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
351 }
352!endif
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!ifndef $(VBOX)
381 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
382!else
383 TimerLib|VBoxPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
384!endif
385 }
386
387 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf {
388 <LibraryClasses>
389!ifndef $(VBOX)
390 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
391!else
392 TimerLib|VBoxPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
393!endif
394 }
395
396 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
397 <LibraryClasses>
398!ifndef $(VBOX)
399 TimerLib|OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
400!else
401 TimerLib|VBoxPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
402!endif
403!ifdef $(CSM_ENABLE)
404 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
405!endif
406 }
407
408 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
409 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
410 <LibraryClasses>
411 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
412 }
413 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
414!ifndef $(VBOX)
415 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
416!else
417 VBoxPkg/VBoxVariable/VBoxVariableRuntimeDxe.inf
418!endif
419 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
420 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
421 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
422 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
423 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
424 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
425 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
426 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
427 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
428 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
429!ifndef $(VBOX)
430 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
431!else
432 VBoxPkg/PartitionDxe/PartitionDxe.inf
433!endif
434 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
435 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
436 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
437 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
438 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
439 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
440 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
441 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
442
443!ifndef $(VBOX)
444 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
445 <LibraryClasses>
446 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
447 }
448!else
449 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
450 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
451 VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe.inf
452 # see fdf file
453 #VBoxPkg/VBoxConsoleDxe/VBoxConsoleDxe.inf
454 VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf
455 VBoxPkg/VBoxFsDxe/VBoxIso9660.inf
456 VBoxPkg/VBoxFsDxe/VBoxHfs.inf
457 VBoxPkg/VBoxSysTables/VBoxSysTables.inf
458 VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
459 # we need it for VBoxAppleSim
460 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
461 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
462 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
463!endif
464
465 #
466 # ISA Support
467 #
468 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
469 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
470 IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
471 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
472 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
473 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
474
475 #
476 # SMBIOS Support
477 #
478 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
479 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
480
481 #
482 # ACPI Support
483 #
484 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
485!ifndef $(VBOX)
486 MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
487 OvmfPkg/AcpiTables/AcpiTables.inf
488!else
489 VBoxPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
490!endif
491
492 #
493 # Network Support
494 #
495!if $(NETWORK_ENABLE)
496 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
497 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
498 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
499 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
500 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
501 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
502 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
503 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
504 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
505 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
506 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
507 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
508 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
509!endif
510
511 #
512 # Usb Support
513 #
514!ifndef $(VBOX)
515 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
516!endif
517 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
518 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
519 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
520 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
521
522!ifdef $(CSM_ENABLE)
523 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
524 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
525 OvmfPkg/Csm/Csm16/Csm16.inf
526!endif
527
528!if $(BUILD_NEW_SHELL)
529 ShellPkg/Application/Shell/Shell.inf {
530 <LibraryClasses>
531 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
532 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
533 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
534 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
535 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
536 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
537 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
538 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
539 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
540 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
541 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
542 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
543 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
544 PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
545# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
546# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
547
548 <PcdsFixedAtBuild>
549 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
550 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
551 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
552 }
553!endif
554
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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