blob: 25d36107c0dceff7d1d4b33d4b5e06988d885724 [file] [log] [blame]
lgao47b202cb2010-02-23 23:58:38 +00001## @file
jljusten49ba9442009-05-27 21:10:18 +00002# Open Virtual Machine Firmware: FDF
3#
Ruiyu Ni863986b2013-07-26 03:14:08 +00004# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
jljusten49ba9442009-05-27 21:10:18 +00005#
hhtian56d76402010-04-28 12:43:04 +00006# This program and the accompanying materials
jljusten49ba9442009-05-27 21:10:18 +00007# 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#
lgao47b202cb2010-02-23 23:58:38 +000014##
jljusten49ba9442009-05-27 21:10:18 +000015
16################################################################################
Jordan Justen8184a762013-11-12 18:34:02 +000017
18#
19# Default flash size for DEBUG build is 2MB. For RELEASE it is 1MB.
20#
21# Defining FD_SIZE_1MB or FD_SIZE_2MB on the build command line can
22# override this.
23#
24[Defines]
25!if $(TARGET) == RELEASE
mdkinneyeaeb4502012-10-04 15:41:15 +000026!ifndef $(FD_SIZE_2MB)
Jordan Justen8184a762013-11-12 18:34:02 +000027DEFINE FD_SIZE_1MB=
28!endif
29!endif
30
31!ifdef $(FD_SIZE_1MB)
mdkinney76d428b2010-06-25 22:23:22 +000032[FD.OVMF]
Jordan Justen9a089972013-11-12 18:34:20 +000033BaseAddress = 0xFFF00000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFdBaseAddress
34Size = 0x00100000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize
jljusten49ba9442009-05-27 21:10:18 +000035ErasePolarity = 1
Jordan Justen9a089972013-11-12 18:34:20 +000036BlockSize = 0x1000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize
mdkinney76d428b2010-06-25 22:23:22 +000037NumBlocks = 0x100
Jordan Justen9a089972013-11-12 18:34:20 +000038!else
39[FD.OVMF]
40BaseAddress = 0xFFE00000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFdBaseAddress
41Size = 0x00200000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize
42ErasePolarity = 1
43BlockSize = 0x1000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize
44NumBlocks = 0x200
45!endif
jljustenc1c26692010-01-04 16:17:59 +000046
Jordan Justen9a089972013-11-12 18:34:20 +0000470x00000000|0x0000e000
48gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageVariableBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
49#NV_VARIABLE_STORE
50DATA = {
51 ## This is the EFI_FIRMWARE_VOLUME_HEADER
52 # ZeroVector []
53 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
54 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
55 # FileSystemGuid: gEfiSystemNvDataFvGuid =
56 # { 0xFFF12B8D, 0x7696, 0x4C8B,
57 # { 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50 }}
58 0x8D, 0x2B, 0xF1, 0xFF, 0x96, 0x76, 0x8B, 0x4C,
59 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50,
60 # FvLength: 0x20000
61 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
62 # Signature "_FVH" # Attributes
63 0x5f, 0x46, 0x56, 0x48, 0xff, 0xfe, 0x04, 0x00,
64 # HeaderLength # CheckSum # ExtHeaderOffset #Reserved #Revision
65 0x48, 0x00, 0x19, 0xF9, 0x00, 0x00, 0x00, 0x02,
66 # Blockmap[0]: 0x20 Blocks * 0x1000 Bytes / Block
67 0x20, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00,
68 # Blockmap[1]: End
69 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
70 ## This is the VARIABLE_STORE_HEADER
71!if $(SECURE_BOOT_ENABLE) == TRUE
72 # Signature: gEfiAuthenticatedVariableGuid =
73 # { 0xaaf32c78, 0x947b, 0x439a,
74 # { 0xa1, 0x80, 0x2e, 0x14, 0x4e, 0xc3, 0x77, 0x92 }}
75 0x78, 0x2c, 0xf3, 0xaa, 0x7b, 0x94, 0x9a, 0x43,
76 0xa1, 0x80, 0x2e, 0x14, 0x4e, 0xc3, 0x77, 0x92,
77!else
78 # Signature: gEfiVariableGuid =
79 # { 0xddcf3616, 0x3275, 0x4164,
80 # { 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d }}
81 0x16, 0x36, 0xcf, 0xdd, 0x75, 0x32, 0x64, 0x41,
82 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d,
83!endif
84 # Size: 0xe000 (gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize) -
85 # 0x48 (size of EFI_FIRMWARE_VOLUME_HEADER) = 0xdfb8
86 # This can speed up the Variable Dispatch a bit.
87 0xB8, 0xDF, 0x00, 0x00,
88 # FORMATTED: 0x5A #HEALTHY: 0xFE #Reserved: UINT16 #Reserved1: UINT32
89 0x5A, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
90}
91
920x0000e000|0x00001000
93#NV_EVENT_LOG
94gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogSize
95
960x0000f000|0x00001000
97gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageFtwWorkingBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
98#NV_FTW_WORKING
99DATA = {
100 # EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER->Signature = gEdkiiWorkingBlockSignatureGuid =
101 # { 0x9e58292b, 0x7c68, 0x497d, { 0xa0, 0xce, 0x65, 0x0, 0xfd, 0x9f, 0x1b, 0x95 }}
102 0x2b, 0x29, 0x58, 0x9e, 0x68, 0x7c, 0x7d, 0x49,
103 0xa0, 0xce, 0x65, 0x0, 0xfd, 0x9f, 0x1b, 0x95,
104 # Crc:UINT32 #WorkingBlockValid:1, WorkingBlockInvalid:1, Reserved
105 0x2c, 0xaf, 0x2c, 0x64, 0xFE, 0xFF, 0xFF, 0xFF,
106 # WriteQueueSize: UINT64
107 0xE0, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
108}
109
1100x00010000|0x00010000
111#NV_FTW_SPARE
112gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageFtwSpareBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
113
114!ifdef $(FD_SIZE_1MB)
1150x00020000|0x000CC000
mdkinney76d428b2010-06-25 22:23:22 +0000116FV = FVMAIN_COMPACT
117
jljusten6738e4e2011-04-17 05:47:43 +00001180x000EC000|0x14000
jljustenc1c26692010-01-04 16:17:59 +0000119FV = SECFV
mdkinneyeaeb4502012-10-04 15:41:15 +0000120
Jordan Justen9a089972013-11-12 18:34:20 +0000121!else
1220x00020000|0x001AC000
mdkinneyeaeb4502012-10-04 15:41:15 +0000123FV = FVMAIN_COMPACT
124
1250x001CC000|0x34000
126FV = SECFV
127!endif
jljusten689562c2010-12-31 07:55:38 +0000128
jljusten49ba9442009-05-27 21:10:18 +0000129################################################################################
jljustenc1c26692010-01-04 16:17:59 +0000130
131[FD.MEMFD]
Jordan Justen5300cf02014-01-21 19:38:16 +0000132BaseAddress = 0x800000
133Size = 0x800000
jljustenc1c26692010-01-04 16:17:59 +0000134ErasePolarity = 1
135BlockSize = 0x10000
jljusten862379f2013-02-14 19:21:56 +0000136NumBlocks = 0x80
jljustenc1c26692010-01-04 16:17:59 +0000137
Jordan Justen5300cf02014-01-21 19:38:16 +00001380x020000|0x7E0000
139gUefiOvmfPkgTokenSpaceGuid.PcdOvmfMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfMemFvSize
jljusten49ba9442009-05-27 21:10:18 +0000140FV = MAINFV
141
142################################################################################
jljustenc1c26692010-01-04 16:17:59 +0000143
144[FV.SECFV]
jljusten49ba9442009-05-27 21:10:18 +0000145BlockSize = 0x1000
jljustenc1c26692010-01-04 16:17:59 +0000146FvAlignment = 16
jljusten49ba9442009-05-27 21:10:18 +0000147ERASE_POLARITY = 1
148MEMORY_MAPPED = TRUE
149STICKY_WRITE = TRUE
150LOCK_CAP = TRUE
151LOCK_STATUS = TRUE
152WRITE_DISABLED_CAP = TRUE
153WRITE_ENABLED_CAP = TRUE
154WRITE_STATUS = TRUE
155WRITE_LOCK_CAP = TRUE
156WRITE_LOCK_STATUS = TRUE
157READ_DISABLED_CAP = TRUE
158READ_ENABLED_CAP = TRUE
159READ_STATUS = TRUE
160READ_LOCK_CAP = TRUE
161READ_LOCK_STATUS = TRUE
162
163#
jljustenc1c26692010-01-04 16:17:59 +0000164# SEC Phase modules
165#
166# The code in this FV handles the initial firmware startup, and
167# decompresses the MAINFV which handles the majority of the boot sequence.
168#
169INF OvmfPkg/Sec/SecMain.inf
170
mdkinney7416f4e2010-07-26 18:07:19 +0000171INF RuleOverride=RESET_VECTOR USE = IA32 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf
jljustenc1c26692010-01-04 16:17:59 +0000172
173################################################################################
174[FV.MAINFV]
175BlockSize = 0x10000
176FvAlignment = 16
177ERASE_POLARITY = 1
178MEMORY_MAPPED = TRUE
179STICKY_WRITE = TRUE
180LOCK_CAP = TRUE
181LOCK_STATUS = TRUE
182WRITE_DISABLED_CAP = TRUE
183WRITE_ENABLED_CAP = TRUE
184WRITE_STATUS = TRUE
185WRITE_LOCK_CAP = TRUE
186WRITE_LOCK_STATUS = TRUE
187READ_DISABLED_CAP = TRUE
188READ_ENABLED_CAP = TRUE
189READ_STATUS = TRUE
190READ_LOCK_CAP = TRUE
191READ_LOCK_STATUS = TRUE
192
193#
194# Files to be placed in MAIN FV
jljusten49ba9442009-05-27 21:10:18 +0000195#
196# This firmware volume will have files placed in it uncompressed,
197# and then then entire firmware volume will be compressed in a
198# single compression operation in order to achieve better
199# overall compression.
200#
201
jljustenc1c26692010-01-04 16:17:59 +0000202APRIORI PEI {
203 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
204}
205
jljusten49ba9442009-05-27 21:10:18 +0000206#
jljustenc1c26692010-01-04 16:17:59 +0000207# PEI Phase modules
208#
209INF MdeModulePkg/Core/Pei/PeiMain.inf
210INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
211INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
212INF OvmfPkg/PlatformPei/PlatformPei.inf
213INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
214
lgao42ec2dee2010-03-01 01:59:46 +0000215FILE FV_IMAGE = A4EF5A93-3F1B-4232-A1C4-F0910E6D1D9C {
lgao4f8e1ae82011-12-11 15:18:25 +0000216 SECTION COMPRESS PI_NONE {
217 SECTION FV_IMAGE = DXEFV
218 }
jljustenc29f6c02010-02-25 21:53:06 +0000219}
220
221################################################################################
222
223[FV.DXEFV]
224BlockSize = 0x10000
225FvAlignment = 16
226ERASE_POLARITY = 1
227MEMORY_MAPPED = TRUE
228STICKY_WRITE = TRUE
229LOCK_CAP = TRUE
230LOCK_STATUS = TRUE
231WRITE_DISABLED_CAP = TRUE
232WRITE_ENABLED_CAP = TRUE
233WRITE_STATUS = TRUE
234WRITE_LOCK_CAP = TRUE
235WRITE_LOCK_STATUS = TRUE
236READ_DISABLED_CAP = TRUE
237READ_ENABLED_CAP = TRUE
238READ_STATUS = TRUE
239READ_LOCK_CAP = TRUE
240READ_LOCK_STATUS = TRUE
241
242APRIORI DXE {
Ruiyu Ni863986b2013-07-26 03:14:08 +0000243 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
jljustenc29f6c02010-02-25 21:53:06 +0000244 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
Jordan Justen182eb452013-11-12 18:35:01 +0000245 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
jljustenc29f6c02010-02-25 21:53:06 +0000246}
247
jljustenc1c26692010-01-04 16:17:59 +0000248#
jljusten49ba9442009-05-27 21:10:18 +0000249# DXE Phase modules
250#
251INF MdeModulePkg/Core/Dxe/DxeMain.inf
252
253INF IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
254INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
255
256INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
257INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
jljustenc1c26692010-01-04 16:17:59 +0000258INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000259INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tianafbb91a2009-12-09 02:18:21 +0000260INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000261INF UefiCpuPkg/CpuDxe/CpuDxe.inf
262INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
263INF PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
davidhuang4ad90a82009-10-20 03:44:25 +0000264INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000265INF PcAtChipsetPkg/KbcResetDxe/Reset.inf
266INF MdeModulePkg/Universal/Metronome/Metronome.inf
jljusten712bd832009-07-14 23:32:41 +0000267INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
klu287a1d7a2009-07-07 04:54:01 +0000268
jljustenefd82c52010-03-21 00:34:15 +0000269INF OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
Olivier Martin56f65ed2013-12-11 16:58:22 +0000270INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
jljustenfd51d752012-10-08 07:32:59 +0000271INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
jljusten37078a62012-10-18 17:07:48 +0000272INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
Jordan Justen182eb452013-11-12 18:35:01 +0000273INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
jljusten27f58ea2009-09-26 07:15:51 +0000274INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
275INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000276
277!if $(SECURE_BOOT_ENABLE) == TRUE
278 INF SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
jljusten8c71ec82012-08-15 00:03:59 +0000279 INF OvmfPkg/SecureBootConfigDxe/SecureBootConfigDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000280!else
281 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
282!endif
283
jljusten49ba9442009-05-27 21:10:18 +0000284INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
285INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
286INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
287INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
288INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
289INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
290INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
291INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
292INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
jljusten86fef5b2009-06-30 15:57:29 +0000293INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000294INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
295INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
296INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
297INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
298INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
299INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
300INF PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
301INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
302INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
Eric Dong56af21c2013-08-12 02:24:32 +0000303INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
jljusten999a8152011-01-21 16:50:47 +0000304INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000305
jljusten49ba9442009-05-27 21:10:18 +0000306INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
307INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
vanjeff8f5e3a12011-10-26 07:08:32 +0000308
309!ifndef $(SOURCE_DEBUG_ENABLE)
jljusten49ba9442009-05-27 21:10:18 +0000310INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
vanjeff8f5e3a12011-10-26 07:08:32 +0000311!endif
312
jljusten49ba9442009-05-27 21:10:18 +0000313INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
314INF IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
315
jljustenfb511812011-08-13 22:54:37 +0000316INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
317INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
318
jljusten49ba9442009-05-27 21:10:18 +0000319INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
jljusten7d2bd152012-05-30 23:15:00 +0000320INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
jljustend40d3ba2009-10-07 16:01:09 +0000321INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
jljusten49ba9442009-05-27 21:10:18 +0000322
mdkinney7a743a22010-06-29 04:55:13 +0000323INF RuleOverride = BINARY USE = X64 FatBinPkg/EnhancedFatDxe/Fat.inf
jljusten345a0c82011-06-26 18:58:41 +0000324
Jordan Justen9bef3cd2013-08-23 18:45:47 +0000325!ifndef $(USE_OLD_SHELL)
jljusten345a0c82011-06-26 18:58:41 +0000326INF ShellPkg/Application/Shell/Shell.inf
327!else
mdkinney7a743a22010-06-29 04:55:13 +0000328INF RuleOverride = BINARY USE = X64 EdkShellBinPkg/FullShell/FullShell.inf
jljusten345a0c82011-06-26 18:58:41 +0000329!endif
jljusten49ba9442009-05-27 21:10:18 +0000330
lgao4d46f3632009-07-09 05:48:35 +0000331FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
mdkinney76d428b2010-06-25 22:23:22 +0000332 SECTION RAW = MdeModulePkg/Logo/Logo.bmp
333}
mdkinney7416f4e2010-07-26 18:07:19 +0000334
335#
336# Network modules
337#
jljusten7628b0f2013-05-15 18:20:39 +0000338!if $(E1000_ENABLE)
mdkinney7416f4e2010-07-26 18:07:19 +0000339 FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
340 SECTION PE32 = Intel3.5/EFIX64/E3507X2.EFI
341 }
jljusten7628b0f2013-05-15 18:20:39 +0000342!endif
mdkinney7416f4e2010-07-26 18:07:19 +0000343 INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
344 INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
345 INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
346 INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
347 INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
348 INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
349 INF MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
350 INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
351 INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
352 INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
353 INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
354 INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
355 INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
Laszlo Ersek7a1f5942013-06-14 07:41:13 +0000356 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
jljusten689562c2010-12-31 07:55:38 +0000357
358#
359# Usb Support
360#
361INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
362INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
363INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
364INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
365INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
366
jljusten4b3d6632011-11-10 22:04:49 +0000367!ifdef $(CSM_ENABLE)
368INF IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
369INF IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
370INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
371!endif
372
jljustenaadb1d02012-07-10 22:43:19 +0000373INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
374
jljusten49ba9442009-05-27 21:10:18 +0000375################################################################################
376
mdkinney76d428b2010-06-25 22:23:22 +0000377[FV.FVMAIN_COMPACT]
jljusten49ba9442009-05-27 21:10:18 +0000378FvAlignment = 16
379ERASE_POLARITY = 1
380MEMORY_MAPPED = TRUE
381STICKY_WRITE = TRUE
382LOCK_CAP = TRUE
383LOCK_STATUS = TRUE
384WRITE_DISABLED_CAP = TRUE
385WRITE_ENABLED_CAP = TRUE
386WRITE_STATUS = TRUE
387WRITE_LOCK_CAP = TRUE
388WRITE_LOCK_STATUS = TRUE
389READ_DISABLED_CAP = TRUE
390READ_ENABLED_CAP = TRUE
391READ_STATUS = TRUE
392READ_LOCK_CAP = TRUE
393READ_LOCK_STATUS = TRUE
394
mdkinney76d428b2010-06-25 22:23:22 +0000395FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
jljusteneaf4f332011-04-12 15:08:51 +0000396 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
397 SECTION FV_IMAGE = MAINFV
398 }
399 }
400
jljusten49ba9442009-05-27 21:10:18 +0000401################################################################################
402
jljusten49ba9442009-05-27 21:10:18 +0000403[Rule.Common.SEC]
404 FILE SEC = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000405 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000406 UI STRING ="$(MODULE_NAME)" Optional
407 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
408 }
409
mdkinney76d428b2010-06-25 22:23:22 +0000410[Rule.Common.PEI_CORE]
411 FILE PEI_CORE = $(NAMED_GUID) {
412 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
413 UI STRING ="$(MODULE_NAME)" Optional
414 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
jljustend40d3ba2009-10-07 16:01:09 +0000415 }
416
jljusten49ba9442009-05-27 21:10:18 +0000417[Rule.Common.PEIM]
418 FILE PEIM = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000419 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
420 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000421 UI STRING="$(MODULE_NAME)" Optional
422 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
423 }
424
jljusten49ba9442009-05-27 21:10:18 +0000425[Rule.Common.DXE_CORE]
426 FILE DXE_CORE = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000427 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000428 UI STRING="$(MODULE_NAME)" Optional
429 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
430 }
431
jljusten49ba9442009-05-27 21:10:18 +0000432[Rule.Common.DXE_DRIVER]
433 FILE DRIVER = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000434 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
435 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000436 UI STRING="$(MODULE_NAME)" Optional
437 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
438 }
439
440[Rule.Common.DXE_RUNTIME_DRIVER]
441 FILE DRIVER = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000442 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
443 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000444 UI STRING="$(MODULE_NAME)" Optional
445 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
446 }
447
mdkinney76d428b2010-06-25 22:23:22 +0000448[Rule.Common.UEFI_DRIVER]
449 FILE DRIVER = $(NAMED_GUID) {
450 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
451 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
452 UI STRING="$(MODULE_NAME)" Optional
453 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
454 }
455
mdkinney7a743a22010-06-29 04:55:13 +0000456[Rule.Common.UEFI_DRIVER.BINARY]
mdkinney3b33c6d2010-06-29 18:34:32 +0000457 FILE DRIVER = $(NAMED_GUID) {
mdkinney7a743a22010-06-29 04:55:13 +0000458 DXE_DEPEX DXE_DEPEX Optional |.depex
459 PE32 PE32 |.efi
460 UI STRING="$(MODULE_NAME)" Optional
461 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
462 }
jljusten8c71ec82012-08-15 00:03:59 +0000463
jljusten49ba9442009-05-27 21:10:18 +0000464[Rule.Common.UEFI_APPLICATION]
465 FILE APPLICATION = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000466 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000467 UI STRING="$(MODULE_NAME)" Optional
468 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
469 }
470
mdkinney7a743a22010-06-29 04:55:13 +0000471[Rule.Common.UEFI_APPLICATION.BINARY]
472 FILE APPLICATION = $(NAMED_GUID) {
473 PE32 PE32 |.efi
474 UI STRING="$(MODULE_NAME)" Optional
475 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
476 }
jljusten8c71ec82012-08-15 00:03:59 +0000477
vanjeff48889992009-08-11 05:30:52 +0000478[Rule.Common.USER_DEFINED.ACPITABLE]
jljusten49ba9442009-05-27 21:10:18 +0000479 FILE FREEFORM = $(NAMED_GUID) {
jljustend40d3ba2009-10-07 16:01:09 +0000480 RAW ACPI |.acpi
481 RAW ASL |.aml
jljusten49ba9442009-05-27 21:10:18 +0000482 }
483
jljusten4b3d6632011-11-10 22:04:49 +0000484[Rule.Common.USER_DEFINED.CSM]
485 FILE FREEFORM = $(NAMED_GUID) {
486 RAW BIN |.bin
487 }
488
mdkinney7416f4e2010-07-26 18:07:19 +0000489[Rule.Common.SEC.RESET_VECTOR]
490 FILE RAW = $(NAMED_GUID) {
491 RAW RAW |.raw
492 }