blob: 432975d2e11eb5836690b0ed2427afe78eb733ad [file] [log] [blame]
jljusten49ba9442009-05-27 21:10:18 +00001#/** @file
2# Open Virtual Machine Firmware: FDF
3#
jljustenc1c26692010-01-04 16:17:59 +00004# Copyright (c) 2006 - 2010, Intel Corporation
jljusten49ba9442009-05-27 21:10:18 +00005#
6# All rights reserved. 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################################################################################
jljustenc1c26692010-01-04 16:17:59 +000017[FD.SEC]
18BaseAddress = 0xFFFEE000
19Size = 0x00012000
jljusten49ba9442009-05-27 21:10:18 +000020ErasePolarity = 1
jljustenc1c26692010-01-04 16:17:59 +000021BlockSize = 0x1000
22NumBlocks = 0x12
23
240x0|0x12000
25FV = SECFV
jljusten49ba9442009-05-27 21:10:18 +000026
27################################################################################
jljustenc1c26692010-01-04 16:17:59 +000028
29[FD.MEMFD]
30BaseAddress = 0x800000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfMemFvBase
31Size = 0x400000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfMemFvSize
32ErasePolarity = 1
33BlockSize = 0x10000
34NumBlocks = 0x40
35
360x0|0x400000
jljusten49ba9442009-05-27 21:10:18 +000037FV = MAINFV
38
39################################################################################
jljustenc1c26692010-01-04 16:17:59 +000040
41[FV.SECFV]
jljusten49ba9442009-05-27 21:10:18 +000042BlockSize = 0x1000
jljustenc1c26692010-01-04 16:17:59 +000043FvAlignment = 16
jljusten49ba9442009-05-27 21:10:18 +000044ERASE_POLARITY = 1
45MEMORY_MAPPED = TRUE
46STICKY_WRITE = TRUE
47LOCK_CAP = TRUE
48LOCK_STATUS = TRUE
49WRITE_DISABLED_CAP = TRUE
50WRITE_ENABLED_CAP = TRUE
51WRITE_STATUS = TRUE
52WRITE_LOCK_CAP = TRUE
53WRITE_LOCK_STATUS = TRUE
54READ_DISABLED_CAP = TRUE
55READ_ENABLED_CAP = TRUE
56READ_STATUS = TRUE
57READ_LOCK_CAP = TRUE
58READ_LOCK_STATUS = TRUE
59
60#
jljustenc1c26692010-01-04 16:17:59 +000061# SEC Phase modules
62#
63# The code in this FV handles the initial firmware startup, and
64# decompresses the MAINFV which handles the majority of the boot sequence.
65#
66INF OvmfPkg/Sec/SecMain.inf
67
geekboy15ad79d2cd2010-02-02 18:05:03 +000068INF RuleOverride=RESET_VECTOR UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf
jljustenc1c26692010-01-04 16:17:59 +000069
70################################################################################
71[FV.MAINFV]
72BlockSize = 0x10000
73FvAlignment = 16
74ERASE_POLARITY = 1
75MEMORY_MAPPED = TRUE
76STICKY_WRITE = TRUE
77LOCK_CAP = TRUE
78LOCK_STATUS = TRUE
79WRITE_DISABLED_CAP = TRUE
80WRITE_ENABLED_CAP = TRUE
81WRITE_STATUS = TRUE
82WRITE_LOCK_CAP = TRUE
83WRITE_LOCK_STATUS = TRUE
84READ_DISABLED_CAP = TRUE
85READ_ENABLED_CAP = TRUE
86READ_STATUS = TRUE
87READ_LOCK_CAP = TRUE
88READ_LOCK_STATUS = TRUE
89
90#
91# Files to be placed in MAIN FV
jljusten49ba9442009-05-27 21:10:18 +000092#
93# This firmware volume will have files placed in it uncompressed,
94# and then then entire firmware volume will be compressed in a
95# single compression operation in order to achieve better
96# overall compression.
97#
98
jljustenc1c26692010-01-04 16:17:59 +000099APRIORI PEI {
100 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
101}
102
jljusten49ba9442009-05-27 21:10:18 +0000103APRIORI DXE {
104 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
105 INF IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
106}
107
108#
jljustenc1c26692010-01-04 16:17:59 +0000109# 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
117#
jljusten49ba9442009-05-27 21:10:18 +0000118# DXE Phase modules
119#
120INF MdeModulePkg/Core/Dxe/DxeMain.inf
121
122INF IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
123INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
124
125INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
126INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
127INF IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
jljustenc1c26692010-01-04 16:17:59 +0000128INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
klu2e471bf12009-12-20 05:35:58 +0000129INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000130INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tianafbb91a2009-12-09 02:18:21 +0000131INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000132INF UefiCpuPkg/CpuDxe/CpuDxe.inf
133INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
134INF PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
davidhuang4ad90a82009-10-20 03:44:25 +0000135INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000136INF PcAtChipsetPkg/KbcResetDxe/Reset.inf
137INF MdeModulePkg/Universal/Metronome/Metronome.inf
klu271095b22009-07-07 04:52:44 +0000138INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000139
jljusten27f58ea2009-09-26 07:15:51 +0000140INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
141INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
142INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000143INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
144INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
145INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
146INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
147INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
148INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
149INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
150INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
151INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
jljusten86fef5b2009-06-30 15:57:29 +0000152INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000153INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
154INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
155INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
156INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
157INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
158INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
159INF PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
160INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
161INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
162
jljusten49ba9442009-05-27 21:10:18 +0000163INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
164INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
165INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
166INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
167INF IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
168
169INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
170INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
171INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
172
173INF FatBinPkg/EnhancedFatDxe/Fat.inf
174
175INF EdkShellBinPkg/FullShell/FullShell.inf
176
lgao4d46f3632009-07-09 05:48:35 +0000177FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
jljusten49ba9442009-05-27 21:10:18 +0000178 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE { # LzmaCompress
179 SECTION RAW = MdeModulePkg/Logo/Logo.bmp
180 }
181 }
182
183################################################################################
184
jljustenc1c26692010-01-04 16:17:59 +0000185[FV.OVMF]
186BlockSize = 0x10000
jljusten49ba9442009-05-27 21:10:18 +0000187FvAlignment = 16
188ERASE_POLARITY = 1
189MEMORY_MAPPED = TRUE
190STICKY_WRITE = TRUE
191LOCK_CAP = TRUE
192LOCK_STATUS = TRUE
193WRITE_DISABLED_CAP = TRUE
194WRITE_ENABLED_CAP = TRUE
195WRITE_STATUS = TRUE
196WRITE_LOCK_CAP = TRUE
197WRITE_LOCK_STATUS = TRUE
198READ_DISABLED_CAP = TRUE
199READ_ENABLED_CAP = TRUE
200READ_STATUS = TRUE
201READ_LOCK_CAP = TRUE
202READ_LOCK_STATUS = TRUE
203
204#
jljustenc1c26692010-01-04 16:17:59 +0000205# This file contains the compressed MAINFV, which is compressed
jljusten49ba9442009-05-27 21:10:18 +0000206# in a single compression operation in order to achieve better
207# overall compression.
208#
209FILE FV_IMAGE = 20bc8ac9-94d1-4208-ab28-5d673fd73486 {
210 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE { # LzmaCompress
jljustenc1c26692010-01-04 16:17:59 +0000211 SECTION FV_IMAGE = MAINFV
jljusten49ba9442009-05-27 21:10:18 +0000212 }
213 }
214
jljustenc1c26692010-01-04 16:17:59 +0000215#
216# This file contains the uncompressed SECFV, which contains the initial
217# boot code. The code in this FV decompresses the MAINFV.
218#
219# It uses the Volume Top File (VTF) GUID so it will be placed at the
220# end of the FV.
221#
222FILE FREEFORM = 1BA0062E-C779-4582-8566-336AE8F78F09 {
223 SECTION Align=16 FV_IMAGE = SECFV
224}
jljusten49ba9442009-05-27 21:10:18 +0000225
226################################################################################
jljusten49ba9442009-05-27 21:10:18 +0000227
228[Rule.Common.PEI_CORE]
229 FILE PEI_CORE = $(NAMED_GUID) {
jljustend40d3ba2009-10-07 16:01:09 +0000230 PE32 PE32 Align=32 |.efi
jljusten49ba9442009-05-27 21:10:18 +0000231 UI STRING ="$(MODULE_NAME)" Optional
232 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
233 }
234
235[Rule.Common.SEC]
236 FILE SEC = $(NAMED_GUID) {
237 PE32 PE32 |.efi
238 UI STRING ="$(MODULE_NAME)" Optional
239 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
240 }
241
jljustend40d3ba2009-10-07 16:01:09 +0000242[Rule.Common.PEIM.NORELOC]
243 FILE PEIM = $(NAMED_GUID) RELOCS_STRIPPED {
244 PEI_DEPEX PEI_DEPEX Optional |.depex
245 TE TE |.efi
246 UI STRING="$(MODULE_NAME)" Optional
247 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
248 }
249
jljusten49ba9442009-05-27 21:10:18 +0000250[Rule.Common.PEIM]
251 FILE PEIM = $(NAMED_GUID) {
252 PEI_DEPEX PEI_DEPEX Optional |.depex
jljustend40d3ba2009-10-07 16:01:09 +0000253 PE32 PE32 Align=32 |.efi
jljusten49ba9442009-05-27 21:10:18 +0000254 UI STRING="$(MODULE_NAME)" Optional
255 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
256 }
257
258[Rule.Common.PEIM.TIANOCOMPRESSED]
259 FILE PEIM = $(NAMED_GUID) {
260 PEI_DEPEX PEI_DEPEX Optional |.depex
261 GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE {
262 PE32 PE32 |.efi
263 UI STRING="$(MODULE_NAME)" Optional
264 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
265 }
266 }
267
268[Rule.Common.DXE_CORE]
269 FILE DXE_CORE = $(NAMED_GUID) {
270 PE32 PE32 |.efi
271 UI STRING="$(MODULE_NAME)" Optional
272 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
273 }
274
275[Rule.Common.UEFI_DRIVER]
276 FILE DRIVER = $(NAMED_GUID) {
277 DXE_DEPEX DXE_DEPEX Optional |.depex
278 PE32 PE32 |.efi
279 UI STRING="$(MODULE_NAME)" Optional
280 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
281 }
282
283[Rule.Common.DXE_DRIVER]
284 FILE DRIVER = $(NAMED_GUID) {
285 DXE_DEPEX DXE_DEPEX Optional |.depex
286 PE32 PE32 |.efi
287 UI STRING="$(MODULE_NAME)" Optional
288 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
289 }
290
291[Rule.Common.DXE_RUNTIME_DRIVER]
292 FILE DRIVER = $(NAMED_GUID) {
293 DXE_DEPEX DXE_DEPEX Optional |.depex
294 PE32 PE32 |.efi
295 UI STRING="$(MODULE_NAME)" Optional
296 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
297 }
298
299[Rule.Common.UEFI_APPLICATION]
300 FILE APPLICATION = $(NAMED_GUID) {
301 PE32 PE32 |.efi
302 UI STRING="$(MODULE_NAME)" Optional
303 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
304 }
305
vanjeff48889992009-08-11 05:30:52 +0000306[Rule.Common.USER_DEFINED.ACPITABLE]
jljusten49ba9442009-05-27 21:10:18 +0000307 FILE FREEFORM = $(NAMED_GUID) {
308 RAW ACPI |.acpi
309 RAW ASL |.aml
310 }
311
312[Rule.Common.SEC.RESET_VECTOR]
313 FILE RAW = $(NAMED_GUID) {
314 RAW RAW |.raw
315 }
316
jljusten712bd832009-07-14 23:32:41 +0000317[OptionRom.CirrusLogic5446]
318INF OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430Dxe.inf {
319 PCI_DEVICE_ID = 0x00B8
320 }
321