VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/OvmfPkgIa32.fdf@ 58179

Last change on this file since 58179 was 58179, checked in by vboxsync, 9 years ago

EFI: Remove VBoxPkg PartitionDxe and merge changes into MdeModulePkg PartitionDxe

  • Property svn:eol-style set to native
File size: 13.7 KB
Line 
1## @file
2# Open Virtual Machine Firmware: FDF
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[FD.OVMF]
18BaseAddress = 0xFFF00000
19Size = 0x00100000
20ErasePolarity = 1
21BlockSize = 0x1000
22NumBlocks = 0x100
23
24#VBox: Debug needs more space, original: 0x00000000|0x000EC000
250x00000000|0x000F4000
26FV = FVMAIN_COMPACT
27
28#VBox: Debug needs more space, original: 0x000EC000|0x14000
290x000F4000|0x0000C000
30FV = SECFV
31
32################################################################################
33
34[FD.MEMFD]
35BaseAddress = 0x2000000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfMemFvBase
36Size = 0x600000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfMemFvSize
37ErasePolarity = 1
38BlockSize = 0x10000
39NumBlocks = 0x60
40
410x0|0x600000
42FV = MAINFV
43
44################################################################################
45
46[FV.SECFV]
47BlockSize = 0x1000
48FvAlignment = 16
49ERASE_POLARITY = 1
50MEMORY_MAPPED = TRUE
51STICKY_WRITE = TRUE
52LOCK_CAP = TRUE
53LOCK_STATUS = TRUE
54WRITE_DISABLED_CAP = TRUE
55WRITE_ENABLED_CAP = TRUE
56WRITE_STATUS = TRUE
57WRITE_LOCK_CAP = TRUE
58WRITE_LOCK_STATUS = TRUE
59READ_DISABLED_CAP = TRUE
60READ_ENABLED_CAP = TRUE
61READ_STATUS = TRUE
62READ_LOCK_CAP = TRUE
63READ_LOCK_STATUS = TRUE
64
65#
66# SEC Phase modules
67#
68# The code in this FV handles the initial firmware startup, and
69# decompresses the MAINFV which handles the majority of the boot sequence.
70#
71INF OvmfPkg/Sec/SecMain.inf
72
73INF RuleOverride=RESET_VECTOR UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf
74
75################################################################################
76[FV.MAINFV]
77BlockSize = 0x10000
78FvAlignment = 16
79ERASE_POLARITY = 1
80MEMORY_MAPPED = TRUE
81STICKY_WRITE = TRUE
82LOCK_CAP = TRUE
83LOCK_STATUS = TRUE
84WRITE_DISABLED_CAP = TRUE
85WRITE_ENABLED_CAP = TRUE
86WRITE_STATUS = TRUE
87WRITE_LOCK_CAP = TRUE
88WRITE_LOCK_STATUS = TRUE
89READ_DISABLED_CAP = TRUE
90READ_ENABLED_CAP = TRUE
91READ_STATUS = TRUE
92READ_LOCK_CAP = TRUE
93READ_LOCK_STATUS = TRUE
94
95#
96# Files to be placed in MAIN FV
97#
98# This firmware volume will have files placed in it uncompressed,
99# and then then entire firmware volume will be compressed in a
100# single compression operation in order to achieve better
101# overall compression.
102#
103
104APRIORI PEI {
105 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
106}
107
108#
109# PEI Phase modules
110#
111INF MdeModulePkg/Core/Pei/PeiMain.inf
112INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
113INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
114INF OvmfPkg/PlatformPei/PlatformPei.inf
115INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
116
117FILE FV_IMAGE = A4EF5A93-3F1B-4232-A1C4-F0910E6D1D9C {
118 SECTION COMPRESS PI_NONE {
119 SECTION FV_IMAGE = DXEFV
120 }
121}
122
123################################################################################
124
125[FV.DXEFV]
126BlockSize = 0x10000
127FvAlignment = 16
128ERASE_POLARITY = 1
129MEMORY_MAPPED = TRUE
130STICKY_WRITE = TRUE
131LOCK_CAP = TRUE
132LOCK_STATUS = TRUE
133WRITE_DISABLED_CAP = TRUE
134WRITE_ENABLED_CAP = TRUE
135WRITE_STATUS = TRUE
136WRITE_LOCK_CAP = TRUE
137WRITE_LOCK_STATUS = TRUE
138READ_DISABLED_CAP = TRUE
139READ_ENABLED_CAP = TRUE
140READ_STATUS = TRUE
141READ_LOCK_CAP = TRUE
142READ_LOCK_STATUS = TRUE
143
144APRIORI DXE {
145 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
146}
147
148#
149# DXE Phase modules
150#
151INF MdeModulePkg/Core/Dxe/DxeMain.inf
152
153INF IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
154INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
155
156INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
157INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
158INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
159INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
160INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
161INF UefiCpuPkg/CpuDxe/CpuDxe.inf
162INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
163INF PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
164INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
165INF PcAtChipsetPkg/KbcResetDxe/Reset.inf
166INF MdeModulePkg/Universal/Metronome/Metronome.inf
167INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
168
169INF OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
170INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
171INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
172!ifndef $(VBOX)
173INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
174!else
175INF VBoxPkg/VBoxVariable/VBoxVariableRuntimeDxe.inf
176!endif
177INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
178INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
179INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
180INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
181INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
182INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
183INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
184INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
185INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
186INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
187INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
188INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
189INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
190INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
191INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
192!ifndef $(VBOX)
193INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
194!endif
195INF PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
196INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
197INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
198INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
199
200!ifdef $(VBOX)
201INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
202INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
203# Replaced by BDS platform specific functionality.
204#INF VBoxPkg/VBoxConsoleDxe/VBoxConsoleDxe.inf
205INF VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe.inf
206INF VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf
207INF VBoxPkg/VBoxFsDxe/VBoxIso9660.inf
208INF VBoxPkg/VBoxFsDxe/VBoxHfs.inf
209INF VBoxPkg/VBoxSysTables/VBoxSysTables.inf
210INF VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
211 # we need it for VBoxAppleSim
212INF IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
213INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
214INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
215!endif
216
217INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
218INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
219INF IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
220
221!ifndef $(SOURCE_DEBUG_ENABLE)
222INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
223!endif
224
225INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
226INF IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
227
228INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
229INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
230
231INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
232INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
233!ifndef $(VBOX)
234INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
235!endif
236
237INF RuleOverride = BINARY FatBinPkg/EnhancedFatDxe/Fat.inf
238
239!if $(BUILD_NEW_SHELL)
240INF ShellPkg/Application/Shell/Shell.inf
241!else
242!if $(USE_NEW_SHELL)
243INF RuleOverride = BINARY ShellBinPkg/UefiShell/UefiShell.inf
244!else
245INF RuleOverride = BINARY EdkShellBinPkg/FullShell/FullShell.inf
246!endif
247!endif
248
249FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
250!ifndef $(VBOX)
251 SECTION RAW = MdeModulePkg/Logo/Logo.bmp
252!else
253 !ifndef $(VBOX_OSE)
254 SECTION RAW = $(VBOX_PATH_ROOT)/src/VBox/Devices/Graphics/BIOS/puel_logo.bmp
255 !else
256 SECTION RAW = $(VBOX_PATH_ROOT)/src/VBox/Devices/Graphics/BIOS/ose_logo2.bmp
257 !endif
258!endif
259}
260
261#
262# Network modules
263#
264!if $(NETWORK_ENABLE)
265 FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
266 SECTION PE32 = Intel3.5/EFI32/E3507E2.EFI
267 }
268 INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
269 INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
270 INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
271 INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
272 INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
273 INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
274 INF MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
275 INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
276 INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
277 INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
278 INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
279 INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
280 INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
281!endif
282
283#
284# Usb Support
285#
286!ifndef $(VBOX)
287INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
288INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
289INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
290INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
291INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
292!endif
293
294!ifdef $(CSM_ENABLE)
295INF IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
296INF IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
297INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
298!endif
299
300################################################################################
301
302[FV.FVMAIN_COMPACT]
303FvAlignment = 16
304ERASE_POLARITY = 1
305MEMORY_MAPPED = TRUE
306STICKY_WRITE = TRUE
307LOCK_CAP = TRUE
308LOCK_STATUS = TRUE
309WRITE_DISABLED_CAP = TRUE
310WRITE_ENABLED_CAP = TRUE
311WRITE_STATUS = TRUE
312WRITE_LOCK_CAP = TRUE
313WRITE_LOCK_STATUS = TRUE
314READ_DISABLED_CAP = TRUE
315READ_ENABLED_CAP = TRUE
316READ_STATUS = TRUE
317READ_LOCK_CAP = TRUE
318READ_LOCK_STATUS = TRUE
319
320FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
321 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
322 SECTION FV_IMAGE = MAINFV
323 }
324 }
325
326################################################################################
327
328[Rule.Common.SEC]
329 FILE SEC = $(NAMED_GUID) {
330 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
331 UI STRING ="$(MODULE_NAME)" Optional
332 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
333 }
334
335[Rule.Common.PEI_CORE]
336 FILE PEI_CORE = $(NAMED_GUID) {
337 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
338 UI STRING ="$(MODULE_NAME)" Optional
339 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
340 }
341
342[Rule.Common.PEIM]
343 FILE PEIM = $(NAMED_GUID) {
344 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
345 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
346 UI STRING="$(MODULE_NAME)" Optional
347 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
348 }
349
350[Rule.Common.DXE_CORE]
351 FILE DXE_CORE = $(NAMED_GUID) {
352 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
353 UI STRING="$(MODULE_NAME)" Optional
354 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
355 }
356
357[Rule.Common.DXE_DRIVER]
358 FILE DRIVER = $(NAMED_GUID) {
359 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
360 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
361 UI STRING="$(MODULE_NAME)" Optional
362 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
363 }
364
365[Rule.Common.DXE_RUNTIME_DRIVER]
366 FILE DRIVER = $(NAMED_GUID) {
367 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
368 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
369 UI STRING="$(MODULE_NAME)" Optional
370 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
371 }
372
373[Rule.Common.UEFI_DRIVER]
374 FILE DRIVER = $(NAMED_GUID) {
375 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
376 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
377 UI STRING="$(MODULE_NAME)" Optional
378 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
379 }
380
381[Rule.Common.UEFI_DRIVER.BINARY]
382 FILE DRIVER = $(NAMED_GUID) {
383 DXE_DEPEX DXE_DEPEX Optional |.depex
384 PE32 PE32 |.efi
385 UI STRING="$(MODULE_NAME)" Optional
386 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
387 }
388
389[Rule.Common.UEFI_APPLICATION]
390 FILE APPLICATION = $(NAMED_GUID) {
391 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
392 UI STRING="$(MODULE_NAME)" Optional
393 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
394 }
395
396[Rule.Common.UEFI_APPLICATION.BINARY]
397 FILE APPLICATION = $(NAMED_GUID) {
398 PE32 PE32 |.efi
399 UI STRING="$(MODULE_NAME)" Optional
400 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
401 }
402
403[Rule.Common.USER_DEFINED.ACPITABLE]
404 FILE FREEFORM = $(NAMED_GUID) {
405 RAW ACPI |.acpi
406 RAW ASL |.aml
407 }
408
409[Rule.Common.USER_DEFINED.CSM]
410 FILE FREEFORM = $(NAMED_GUID) {
411 RAW BIN |.bin
412 }
413
414[Rule.Common.SEC.RESET_VECTOR]
415 FILE RAW = $(NAMED_GUID) {
416 RAW RAW |.raw
417 }
418
419!ifndef $(VBOX)
420[OptionRom.OvmfVideo]
421INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
422 PCI_DEVICE_ID = 0x00B8
423 }
424!endif
Note: See TracBrowser for help on using the repository browser.

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