VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxPkgOSE.fdf@ 33211

Last change on this file since 33211 was 32394, checked in by vboxsync, 14 years ago

more branding and header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 13.2 KB
Line 
1# $Id: VBoxPkgOSE.fdf 32394 2010-09-10 12:13:11Z vboxsync $
2## @file
3# VBoxPkg.fdf - VirtualBox Flash Device.
4#
5
6
7#
8# Copyright (C) 2009-2010 Oracle Corporation
9#
10# This file is part of VirtualBox Open Source Edition (OSE), as
11# available from http://www.virtualbox.org. This file is free software;
12# you can redistribute it and/or modify it under the terms of the GNU
13# General Public License (GPL) as published by the Free Software
14# Foundation, in version 2 as it comes in the "COPYING" file of the
15# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
16# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
17#
18# The contents of this file may alternatively be used under the terms
19# of the Common Development and Distribution License Version 1.0
20# (CDDL) only, as it comes in the "COPYING.CDDL" file of the
21# VirtualBox OSE distribution, in which case the provisions of the
22# CDDL are applicable instead of those of the GPL.
23#
24
25
26# --------------------------------------------------------------------
27# This file is based on: Ovmf/Ovmf.fdf
28#
29# Open Virtual Machine Firmware: FDF
30#
31# Copyright (c) 2006 - 2009, Intel Corporation
32#
33# All rights reserved. This program and the accompanying materials
34# are licensed and made available under the terms and conditions of the BSD License
35# which accompanies this distribution. The full text of the license may be found at
36# http://opensource.org/licenses/bsd-license.php
37#
38# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
39# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
40#
41#
42
43################################################################################
44#
45# FD Section
46# The [FD] Section is made up of the definition statements and a
47# description of what goes into the Flash Device Image. Each FD section
48# defines one flash "device" image. A flash device image may be one of
49# the following: Removable media bootable image (like a boot floppy
50# image,) an Option ROM image (that would be "flashed" into an add-in
51# card,) a System "Flash" image (that would be burned into a system's
52# flash) or an Update ("Capsule") image that will be used to update and
53# existing system flash.
54#
55################################################################################
56[FD.VBOX]
57BaseAddress = 0xFFE00000 # The base address of the FLASH Device.
58Size = 0x001f0000 # The size in bytes of the FLASH Device
59ErasePolarity = 1
60BlockSize = 0x10000
61NumBlocks = 0x1f
62
63################################################################################
64#
65# Following are lists of FD Region layout which correspond to the locations of different
66# images within the flash device.
67#
68# Regions must be defined in ascending order and may not overlap.
69#
70# A Layout Region start with a eight digit hex offset (leading "0x" required) followed by
71# the pipe "|" character, followed by the size of the region, also in hex with the leading
72# "0x" characters. Like:
73# Offset|Size
74# PcdOffsetCName|PcdSizeCName
75# RegionType <FV, DATA, or FILE>
76#
77################################################################################
780x0|0x1F0000
79gEfiUnixPkgTokenSpaceGuid.PcdUnixFlashFvRecoveryBase|gEfiUnixPkgTokenSpaceGuid.PcdUnixFlashFvRecoverySize
80FV = MAINFV
81
82################################################################################
83#
84# FV Section
85#
86# [FV] section is used to define what components or modules are placed within a flash
87# device file. This section also defines order the components and modules are positioned
88# within the image. The [FV] section consists of define statements, set statements and
89# module statements.
90#
91################################################################################
92[FV.DXEFV]
93BlockSize = 0x1000
94FvAlignment = 16 #FV alignment and FV attributes setting.
95ERASE_POLARITY = 1
96MEMORY_MAPPED = TRUE
97STICKY_WRITE = TRUE
98LOCK_CAP = TRUE
99LOCK_STATUS = TRUE
100WRITE_DISABLED_CAP = TRUE
101WRITE_ENABLED_CAP = TRUE
102WRITE_STATUS = TRUE
103WRITE_LOCK_CAP = TRUE
104WRITE_LOCK_STATUS = TRUE
105READ_DISABLED_CAP = TRUE
106READ_ENABLED_CAP = TRUE
107READ_STATUS = TRUE
108READ_LOCK_CAP = TRUE
109READ_LOCK_STATUS = TRUE
110
111#
112# Files to be placed in DXEFV
113#
114# This firmware volume will have files placed in it uncompressed,
115# and then then entire firmware volume will be compressed in a
116# single compression operation in order to achieve better
117# overall compression.
118#
119
120APRIORI DXE {
121 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
122 INF IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
123}
124
125#
126# DXE Phase modules
127#
128INF MdeModulePkg/Core/Dxe/DxeMain.inf
129
130INF IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
131INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
132
133INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
134INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
135INF IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
136INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
137INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
138INF UefiCpuPkg/CpuIoDxe/CpuIo.inf
139INF UefiCpuPkg/CpuDxe/CpuDxe.inf
140INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
141INF PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
142INF IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
143INF PcAtChipsetPkg/KbcResetDxe/Reset.inf
144INF MdeModulePkg/Universal/Metronome/Metronome.inf
145INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
146#INF PcAtChipsetPkg/PcRtc/RealTimeClock.inf
147
148INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
149INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
150INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
151INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
152INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
153INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
154INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
155INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
156INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
157INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
158INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
159INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
160INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
161INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
162INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
163INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
164#INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
165#INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
166INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
167INF PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
168INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
169INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
170
171# VBOX
172INF VBoxPkg/VBoxFsDxe/VBoxIso9660.inf
173INF VBoxPkg/VBoxFsDxe/VBoxHfs.inf
174INF VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe.inf
175INF VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf
176INF VBoxPkg/VBoxSysTables/VBoxSysTables.inf
177INF VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
178INF VBoxPkg/VBoxConsoleDxe/VBoxConsoleDxe.inf
179#INF RuleOverride=ACPITABLE VBoxPkg/AcpiTables/AcpiTables.inf
180#INF VBoxPkg/VBoxInterceptorDxe/VBoxInterceptorDxe.inf
181# VBOX end
182#INF IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
183
184INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
185INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
186INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
187INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
188INF IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
189
190INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
191INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
192
193INF FatBinPkg/EnhancedFatDxe/Fat.inf
194INF EdkShellBinPkg/FullShell/FullShell.inf
195#FILE DRIVER = 961578FE-B6B7-44c3-AF35-6BC705CD2B1F {
196# SECTION PE32 = FatBinPkg/EnhancedFatDxe/Ia32/Fat.efi
197# }
198#
199#FILE APPLICATION = c57ad6b7-0515-40a8-9d21-551652854e37 {
200# SECTION COMPRESS PI_STD {
201# SECTION GUIDED {
202# SECTION PE32 = EdkShellBinPkg/FullShell/Ia32/Shell_Full.efi
203# }
204# }
205# }
206
207#FILE FREEFORM = 7BB28B99-61BB-11D5-9A5D-0090273FC14D {
208# SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE { # LzmaCompress
209# # OSE build should use VBoxOSELogo/ose_logo.bmp
210# #SECTION RAW = VBoxPkg/VBoxPUELLogo/puel_logo.bmp
211# }
212# }
213
214################################################################################
215
216[FV.MAINFV]
217FvAlignment = 16
218ERASE_POLARITY = 1
219MEMORY_MAPPED = TRUE
220STICKY_WRITE = TRUE
221LOCK_CAP = TRUE
222LOCK_STATUS = TRUE
223WRITE_DISABLED_CAP = TRUE
224WRITE_ENABLED_CAP = TRUE
225WRITE_STATUS = TRUE
226WRITE_LOCK_CAP = TRUE
227WRITE_LOCK_STATUS = TRUE
228READ_DISABLED_CAP = TRUE
229READ_ENABLED_CAP = TRUE
230READ_STATUS = TRUE
231READ_LOCK_CAP = TRUE
232READ_LOCK_STATUS = TRUE
233
234#
235# Files to be placed in MAINFV
236#
237# This firmware volume will have all the files placed in it which
238# must not be compressed at the initial boot phase. The only
239# exception to this is the compressed 'DXEFV'.
240#
241
242APRIORI PEI {
243 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
244}
245
246#
247# SEC Phase modules
248#
249INF OvmfPkg/Sec/SecMain.inf
250#INF VBoxPkg/VBoxSec/VBoxSec.inf
251
252#
253# PEI Phase modules
254#
255INF MdeModulePkg/Core/Pei/PeiMain.inf
256INF RuleOverride=NORELOC MdeModulePkg/Universal/PCD/Pei/Pcd.inf
257INF RuleOverride=NORELOC IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
258INF RuleOverride=NORELOC OvmfPkg/PlatformPei/PlatformPei.inf
259INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
260
261#
262# This file contains the compressed 'DXEFV', which is compressed
263# in a single compression operation in order to achieve better
264# overall compression.
265#
266FILE FV_IMAGE = 20bc8ac9-94d1-4208-ab28-5d673fd73486 {
267 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE { # LzmaCompress
268 SECTION FV_IMAGE = DXEFV
269 }
270 }
271
272#INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/Bin/ResetVector.inf
273
274################################################################################
275#
276# Rules are use with the [FV] section's module INF type to define
277# how an FFS file is created for a given INF file. The following Rule are the default
278# rules for the different module type. User can add the customized rules to define the
279# content of the FFS file.
280#
281################################################################################
282
283[Rule.Common.PEI_CORE]
284 FILE PEI_CORE = $(NAMED_GUID) {
285 PE32 PE32 |.efi
286 UI STRING ="$(MODULE_NAME)" Optional
287 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
288 }
289
290[Rule.Common.SEC]
291 FILE SEC = $(NAMED_GUID) {
292 PE32 PE32 |.efi
293 UI STRING ="$(MODULE_NAME)" Optional
294 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
295 }
296
297[Rule.Common.PEIM]
298 FILE PEIM = $(NAMED_GUID) {
299 PEI_DEPEX PEI_DEPEX Optional |.depex
300 PE32 PE32 Align=32 |.efi
301 UI STRING="$(MODULE_NAME)" Optional
302 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
303 }
304
305[Rule.Common.PEIM.NORELOC]
306 FILE PEIM = $(NAMED_GUID) RELOCS_STRIPPED {
307 PEI_DEPEX PEI_DEPEX Optional |.depex
308 TE TE |.efi
309 UI STRING="$(MODULE_NAME)" Optional
310 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
311 }
312[Rule.Common.PEIM.TIANOCOMPRESSED]
313 FILE PEIM = $(NAMED_GUID) {
314 PEI_DEPEX PEI_DEPEX Optional |.depex
315 GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE {
316 PE32 PE32 |.efi
317 UI STRING="$(MODULE_NAME)" Optional
318 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
319 }
320 }
321
322[Rule.Common.DXE_CORE]
323 FILE DXE_CORE = $(NAMED_GUID) {
324 PE32 PE32 |.efi
325 UI STRING="$(MODULE_NAME)" Optional
326 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
327 }
328
329[Rule.Common.UEFI_DRIVER]
330 FILE DRIVER = $(NAMED_GUID) {
331 DXE_DEPEX DXE_DEPEX Optional |.depex
332 PE32 PE32 |.efi
333 UI STRING="$(MODULE_NAME)" Optional
334 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
335 }
336
337[Rule.Common.DXE_DRIVER]
338 FILE DRIVER = $(NAMED_GUID) {
339 DXE_DEPEX DXE_DEPEX Optional |.depex
340 PE32 PE32 |.efi
341 UI STRING="$(MODULE_NAME)" Optional
342 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
343 }
344
345[Rule.Common.DXE_RUNTIME_DRIVER]
346 FILE DRIVER = $(NAMED_GUID) {
347 DXE_DEPEX DXE_DEPEX Optional |.depex
348 PE32 PE32 |.efi
349 UI STRING="$(MODULE_NAME)" Optional
350 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
351 }
352
353[Rule.Common.UEFI_APPLICATION]
354 FILE APPLICATION = $(NAMED_GUID) {
355 PE32 PE32 |.efi
356 UI STRING="$(MODULE_NAME)" Optional
357 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
358 }
359
360[Rule.Common.USER_DEFINED.ACPITABLE]
361 FILE FREEFORM = $(NAMED_GUID) {
362 RAW ACPI |.acpi
363 RAW ASL |.aml
364 }
365
366[Rule.Common.SEC.RESET_VECTOR]
367 FILE RAW = $(NAMED_GUID) {
368 RAW RAW |.raw
369 }
370
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