VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/OvmfPkgIa32X64.fdf@ 48674

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

EFI: Export newly imported tinaocore UEFI sources to OSE.

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

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