2 # Open Virtual Machine Firmware: FDF
\r
4 # Copyright (c) 2006 - 2009, Intel Corporation
\r
6 # All rights reserved. This program and the accompanying materials
\r
7 # are licensed and made available under the terms and conditions of the BSD License
\r
8 # which accompanies this distribution. The full text of the license may be found at
\r
9 # http://opensource.org/licenses/bsd-license.php
\r
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
\r
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
\r
16 ################################################################################
\r
19 # The [FD] Section is made up of the definition statements and a
\r
20 # description of what goes into the Flash Device Image. Each FD section
\r
21 # defines one flash "device" image. A flash device image may be one of
\r
22 # the following: Removable media bootable image (like a boot floppy
\r
23 # image,) an Option ROM image (that would be "flashed" into an add-in
\r
24 # card,) a System "Flash" image (that would be burned into a system's
\r
25 # flash) or an Update ("Capsule") image that will be used to update and
\r
26 # existing system flash.
\r
28 ################################################################################
\r
30 BaseAddress = 0xFFE00000 # The base address of the FLASH Device.
\r
31 Size = 0x00200000 # The size in bytes of the FLASH Device
\r
36 ################################################################################
\r
38 # Following are lists of FD Region layout which correspond to the locations of different
\r
39 # images within the flash device.
\r
41 # Regions must be defined in ascending order and may not overlap.
\r
43 # A Layout Region start with a eight digit hex offset (leading "0x" required) followed by
\r
44 # the pipe "|" character, followed by the size of the region, also in hex with the leading
\r
45 # "0x" characters. Like:
\r
47 # PcdOffsetCName|PcdSizeCName
\r
48 # RegionType <FV, DATA, or FILE>
\r
50 ################################################################################
\r
52 gEfiUnixPkgTokenSpaceGuid.PcdUnixFlashFvRecoveryBase|gEfiUnixPkgTokenSpaceGuid.PcdUnixFlashFvRecoverySize
\r
55 ################################################################################
\r
59 # [FV] section is used to define what components or modules are placed within a flash
\r
60 # device file. This section also defines order the components and modules are positioned
\r
61 # within the image. The [FV] section consists of define statements, set statements and
\r
62 # module statements.
\r
64 ################################################################################
\r
67 FvAlignment = 16 #FV alignment and FV attributes setting.
\r
69 MEMORY_MAPPED = TRUE
\r
73 WRITE_DISABLED_CAP = TRUE
\r
74 WRITE_ENABLED_CAP = TRUE
\r
76 WRITE_LOCK_CAP = TRUE
\r
77 WRITE_LOCK_STATUS = TRUE
\r
78 READ_DISABLED_CAP = TRUE
\r
79 READ_ENABLED_CAP = TRUE
\r
81 READ_LOCK_CAP = TRUE
\r
82 READ_LOCK_STATUS = TRUE
\r
85 # Files to be placed in DXEFV
\r
87 # This firmware volume will have files placed in it uncompressed,
\r
88 # and then then entire firmware volume will be compressed in a
\r
89 # single compression operation in order to achieve better
\r
90 # overall compression.
\r
94 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
\r
95 INF IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
\r
101 INF MdeModulePkg/Core/Dxe/DxeMain.inf
\r
103 INF IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
\r
104 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
\r
106 INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
\r
107 INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
\r
108 INF IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
\r
109 INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
\r
110 INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
\r
111 INF UefiCpuPkg/CpuIoDxe/CpuIo.inf
\r
112 INF UefiCpuPkg/CpuDxe/CpuDxe.inf
\r
113 INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
\r
114 INF PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
\r
115 INF IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
\r
116 INF PcAtChipsetPkg/KbcResetDxe/Reset.inf
\r
117 INF MdeModulePkg/Universal/Metronome/Metronome.inf
\r
118 INF PcAtChipsetPkg/PcRtc/RealTimeClock.inf
\r
120 INF MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
\r
121 INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
\r
122 INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
\r
123 INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
\r
124 INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
\r
125 INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
\r
126 INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
\r
127 INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
\r
128 INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
\r
129 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
\r
130 INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
\r
131 INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
\r
132 INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
\r
133 INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
\r
134 INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
\r
135 INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
\r
136 INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
\r
137 INF PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
\r
138 INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
\r
139 INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
\r
141 INF OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430Dxe.inf
\r
143 INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
\r
144 INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
\r
145 INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
\r
146 INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
\r
147 INF IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
\r
149 INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
\r
150 INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
\r
151 INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
\r
153 INF FatBinPkg/EnhancedFatDxe/Fat.inf
\r
155 INF EdkShellBinPkg/FullShell/FullShell.inf
\r
157 FILE FREEFORM = 7BB28B99-61BB-11D5-9A5D-0090273FC14D {
\r
158 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE { # LzmaCompress
\r
159 SECTION RAW = MdeModulePkg/Logo/Logo.bmp
\r
163 ################################################################################
\r
168 MEMORY_MAPPED = TRUE
\r
169 STICKY_WRITE = TRUE
\r
172 WRITE_DISABLED_CAP = TRUE
\r
173 WRITE_ENABLED_CAP = TRUE
\r
174 WRITE_STATUS = TRUE
\r
175 WRITE_LOCK_CAP = TRUE
\r
176 WRITE_LOCK_STATUS = TRUE
\r
177 READ_DISABLED_CAP = TRUE
\r
178 READ_ENABLED_CAP = TRUE
\r
180 READ_LOCK_CAP = TRUE
\r
181 READ_LOCK_STATUS = TRUE
\r
184 # Files to be placed in MAINFV
\r
186 # This firmware volume will have all the files placed in it which
\r
187 # must not be compressed at the initial boot phase. The only
\r
188 # exception to this is the compressed 'DXEFV'.
\r
192 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
\r
196 # SEC Phase modules
\r
198 INF OvmfPkg/Sec/SecMain.inf
\r
201 # PEI Phase modules
\r
203 INF MdeModulePkg/Core/Pei/PeiMain.inf
\r
204 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
\r
205 INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
\r
206 INF OvmfPkg/PlatformPei/PlatformPei.inf
\r
207 INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
\r
210 # This file contains the compressed 'DXEFV', which is compressed
\r
211 # in a single compression operation in order to achieve better
\r
212 # overall compression.
\r
214 FILE FV_IMAGE = 20bc8ac9-94d1-4208-ab28-5d673fd73486 {
\r
215 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE { # LzmaCompress
\r
216 SECTION FV_IMAGE = DXEFV
\r
220 INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/Bin/ResetVector.inf
\r
222 ################################################################################
\r
224 # Rules are use with the [FV] section's module INF type to define
\r
225 # how an FFS file is created for a given INF file. The following Rule are the default
\r
226 # rules for the different module type. User can add the customized rules to define the
\r
227 # content of the FFS file.
\r
229 ################################################################################
\r
231 [Rule.Common.PEI_CORE]
\r
232 FILE PEI_CORE = $(NAMED_GUID) {
\r
234 UI STRING ="$(MODULE_NAME)" Optional
\r
235 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
\r
239 FILE SEC = $(NAMED_GUID) {
\r
241 UI STRING ="$(MODULE_NAME)" Optional
\r
242 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
\r
246 FILE PEIM = $(NAMED_GUID) {
\r
247 PEI_DEPEX PEI_DEPEX Optional |.depex
\r
249 UI STRING="$(MODULE_NAME)" Optional
\r
250 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
\r
253 [Rule.Common.PEIM.TIANOCOMPRESSED]
\r
254 FILE PEIM = $(NAMED_GUID) {
\r
255 PEI_DEPEX PEI_DEPEX Optional |.depex
\r
256 GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE {
\r
258 UI STRING="$(MODULE_NAME)" Optional
\r
259 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
\r
263 [Rule.Common.DXE_CORE]
\r
264 FILE DXE_CORE = $(NAMED_GUID) {
\r
266 UI STRING="$(MODULE_NAME)" Optional
\r
267 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
\r
270 [Rule.Common.UEFI_DRIVER]
\r
271 FILE DRIVER = $(NAMED_GUID) {
\r
272 DXE_DEPEX DXE_DEPEX Optional |.depex
\r
274 UI STRING="$(MODULE_NAME)" Optional
\r
275 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
\r
278 [Rule.Common.DXE_DRIVER]
\r
279 FILE DRIVER = $(NAMED_GUID) {
\r
280 DXE_DEPEX DXE_DEPEX Optional |.depex
\r
282 UI STRING="$(MODULE_NAME)" Optional
\r
283 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
\r
286 [Rule.Common.DXE_RUNTIME_DRIVER]
\r
287 FILE DRIVER = $(NAMED_GUID) {
\r
288 DXE_DEPEX DXE_DEPEX Optional |.depex
\r
290 UI STRING="$(MODULE_NAME)" Optional
\r
291 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
\r
294 [Rule.Common.UEFI_APPLICATION]
\r
295 FILE APPLICATION = $(NAMED_GUID) {
\r
297 UI STRING="$(MODULE_NAME)" Optional
\r
298 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
\r
301 [Rule.Common.DXE_DRIVER.ACPITABLE]
\r
302 FILE FREEFORM = $(NAMED_GUID) {
\r
307 [Rule.Common.SEC.RESET_VECTOR]
\r
308 FILE RAW = $(NAMED_GUID) {
\r