blob: a762dc9f21d2d8dc6ac604f4afb453584d675b8f [file] [log] [blame]
lgao47b202cb2010-02-23 23:58:38 +00001## @file
jljusten49ba9442009-05-27 21:10:18 +00002# Open Virtual Machine Firmware: FDF
3#
leegrosenbaum7a616e52012-04-04 17:35:06 +00004# Copyright (c) 2006 - 2012, 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################################################################################
mdkinneyeaeb4502012-10-04 15:41:15 +000017!ifndef $(FD_SIZE_2MB)
mdkinney76d428b2010-06-25 22:23:22 +000018[FD.OVMF]
19BaseAddress = 0xFFF00000
20Size = 0x00100000
jljusten49ba9442009-05-27 21:10:18 +000021ErasePolarity = 1
jljustenc1c26692010-01-04 16:17:59 +000022BlockSize = 0x1000
mdkinney76d428b2010-06-25 22:23:22 +000023NumBlocks = 0x100
jljustenc1c26692010-01-04 16:17:59 +000024
jljusten6738e4e2011-04-17 05:47:43 +0000250x00000000|0x000EC000
mdkinney76d428b2010-06-25 22:23:22 +000026FV = FVMAIN_COMPACT
27
jljusten6738e4e2011-04-17 05:47:43 +0000280x000EC000|0x14000
jljustenc1c26692010-01-04 16:17:59 +000029FV = SECFV
mdkinneyeaeb4502012-10-04 15:41:15 +000030!else
31[FD.OVMF]
32BaseAddress = 0xFFE00000
33Size = 0x00200000
34ErasePolarity = 1
35BlockSize = 0x1000
36NumBlocks = 0x200
37
380x00000000|0x001CC000
39FV = FVMAIN_COMPACT
40
410x001CC000|0x34000
42FV = SECFV
43!endif
jljusten689562c2010-12-31 07:55:38 +000044
jljusten49ba9442009-05-27 21:10:18 +000045################################################################################
jljustenc1c26692010-01-04 16:17:59 +000046
47[FD.MEMFD]
48BaseAddress = 0x800000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfMemFvBase
jljustenbab41b52012-07-10 22:43:05 +000049Size = 0x600000|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfMemFvSize
jljustenc1c26692010-01-04 16:17:59 +000050ErasePolarity = 1
51BlockSize = 0x10000
jljustenbab41b52012-07-10 22:43:05 +000052NumBlocks = 0x60
jljustenc1c26692010-01-04 16:17:59 +000053
jljustenbab41b52012-07-10 22:43:05 +0000540x0|0x600000
jljusten49ba9442009-05-27 21:10:18 +000055FV = MAINFV
56
57################################################################################
jljustenc1c26692010-01-04 16:17:59 +000058
59[FV.SECFV]
jljusten49ba9442009-05-27 21:10:18 +000060BlockSize = 0x1000
jljustenc1c26692010-01-04 16:17:59 +000061FvAlignment = 16
jljusten49ba9442009-05-27 21:10:18 +000062ERASE_POLARITY = 1
63MEMORY_MAPPED = TRUE
64STICKY_WRITE = TRUE
65LOCK_CAP = TRUE
66LOCK_STATUS = TRUE
67WRITE_DISABLED_CAP = TRUE
68WRITE_ENABLED_CAP = TRUE
69WRITE_STATUS = TRUE
70WRITE_LOCK_CAP = TRUE
71WRITE_LOCK_STATUS = TRUE
72READ_DISABLED_CAP = TRUE
73READ_ENABLED_CAP = TRUE
74READ_STATUS = TRUE
75READ_LOCK_CAP = TRUE
76READ_LOCK_STATUS = TRUE
77
78#
jljustenc1c26692010-01-04 16:17:59 +000079# SEC Phase modules
80#
81# The code in this FV handles the initial firmware startup, and
82# decompresses the MAINFV which handles the majority of the boot sequence.
83#
84INF OvmfPkg/Sec/SecMain.inf
85
mdkinney7416f4e2010-07-26 18:07:19 +000086INF RuleOverride=RESET_VECTOR USE = IA32 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf
jljustenc1c26692010-01-04 16:17:59 +000087
88################################################################################
89[FV.MAINFV]
90BlockSize = 0x10000
91FvAlignment = 16
92ERASE_POLARITY = 1
93MEMORY_MAPPED = TRUE
94STICKY_WRITE = TRUE
95LOCK_CAP = TRUE
96LOCK_STATUS = TRUE
97WRITE_DISABLED_CAP = TRUE
98WRITE_ENABLED_CAP = TRUE
99WRITE_STATUS = TRUE
100WRITE_LOCK_CAP = TRUE
101WRITE_LOCK_STATUS = TRUE
102READ_DISABLED_CAP = TRUE
103READ_ENABLED_CAP = TRUE
104READ_STATUS = TRUE
105READ_LOCK_CAP = TRUE
106READ_LOCK_STATUS = TRUE
107
108#
109# Files to be placed in MAIN FV
jljusten49ba9442009-05-27 21:10:18 +0000110#
111# This firmware volume will have files placed in it uncompressed,
112# and then then entire firmware volume will be compressed in a
113# single compression operation in order to achieve better
114# overall compression.
115#
116
jljustenc1c26692010-01-04 16:17:59 +0000117APRIORI PEI {
118 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
119}
120
jljusten49ba9442009-05-27 21:10:18 +0000121#
jljustenc1c26692010-01-04 16:17:59 +0000122# PEI Phase modules
123#
124INF MdeModulePkg/Core/Pei/PeiMain.inf
125INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
126INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
127INF OvmfPkg/PlatformPei/PlatformPei.inf
128INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
129
lgao42ec2dee2010-03-01 01:59:46 +0000130FILE FV_IMAGE = A4EF5A93-3F1B-4232-A1C4-F0910E6D1D9C {
lgao4f8e1ae82011-12-11 15:18:25 +0000131 SECTION COMPRESS PI_NONE {
132 SECTION FV_IMAGE = DXEFV
133 }
jljustenc29f6c02010-02-25 21:53:06 +0000134}
135
136################################################################################
137
138[FV.DXEFV]
139BlockSize = 0x10000
140FvAlignment = 16
141ERASE_POLARITY = 1
142MEMORY_MAPPED = TRUE
143STICKY_WRITE = TRUE
144LOCK_CAP = TRUE
145LOCK_STATUS = TRUE
146WRITE_DISABLED_CAP = TRUE
147WRITE_ENABLED_CAP = TRUE
148WRITE_STATUS = TRUE
149WRITE_LOCK_CAP = TRUE
150WRITE_LOCK_STATUS = TRUE
151READ_DISABLED_CAP = TRUE
152READ_ENABLED_CAP = TRUE
153READ_STATUS = TRUE
154READ_LOCK_CAP = TRUE
155READ_LOCK_STATUS = TRUE
156
157APRIORI DXE {
158 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
jljustenc29f6c02010-02-25 21:53:06 +0000159}
160
jljustenc1c26692010-01-04 16:17:59 +0000161#
jljusten49ba9442009-05-27 21:10:18 +0000162# DXE Phase modules
163#
164INF MdeModulePkg/Core/Dxe/DxeMain.inf
165
166INF IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
167INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
168
169INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
170INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
jljustenc1c26692010-01-04 16:17:59 +0000171INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000172INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
eric_tianafbb91a2009-12-09 02:18:21 +0000173INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000174INF UefiCpuPkg/CpuDxe/CpuDxe.inf
175INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
176INF PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
davidhuang4ad90a82009-10-20 03:44:25 +0000177INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000178INF PcAtChipsetPkg/KbcResetDxe/Reset.inf
179INF MdeModulePkg/Universal/Metronome/Metronome.inf
jljusten712bd832009-07-14 23:32:41 +0000180INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
klu287a1d7a2009-07-07 04:54:01 +0000181
jljustenefd82c52010-03-21 00:34:15 +0000182INF OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
jljustenfd51d752012-10-08 07:32:59 +0000183INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
jljusten37078a62012-10-18 17:07:48 +0000184INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
jljusten27f58ea2009-09-26 07:15:51 +0000185INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
186INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000187
188!if $(SECURE_BOOT_ENABLE) == TRUE
189 INF SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
jljusten8c71ec82012-08-15 00:03:59 +0000190 INF OvmfPkg/SecureBootConfigDxe/SecureBootConfigDxe.inf
jljusten8cee3de2012-03-09 17:38:53 +0000191!else
192 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
193!endif
194
jljusten49ba9442009-05-27 21:10:18 +0000195INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
196INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
197INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
198INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
199INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
200INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
201INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
202INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
203INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
jljusten86fef5b2009-06-30 15:57:29 +0000204INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000205INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
206INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
207INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
208INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
209INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
210INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
211INF PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
212INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
213INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
jljusten999a8152011-01-21 16:50:47 +0000214INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljusten49ba9442009-05-27 21:10:18 +0000215
jljusten49ba9442009-05-27 21:10:18 +0000216INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
217INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
vanjeff8f5e3a12011-10-26 07:08:32 +0000218
219!ifndef $(SOURCE_DEBUG_ENABLE)
jljusten49ba9442009-05-27 21:10:18 +0000220INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
vanjeff8f5e3a12011-10-26 07:08:32 +0000221!endif
222
jljusten49ba9442009-05-27 21:10:18 +0000223INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
224INF IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
225
jljustenfb511812011-08-13 22:54:37 +0000226INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
227INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
228
jljusten49ba9442009-05-27 21:10:18 +0000229INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
jljusten7d2bd152012-05-30 23:15:00 +0000230INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
jljustend40d3ba2009-10-07 16:01:09 +0000231INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
jljusten49ba9442009-05-27 21:10:18 +0000232
mdkinney7a743a22010-06-29 04:55:13 +0000233INF RuleOverride = BINARY USE = X64 FatBinPkg/EnhancedFatDxe/Fat.inf
jljusten345a0c82011-06-26 18:58:41 +0000234
235!if $(BUILD_NEW_SHELL)
236INF ShellPkg/Application/Shell/Shell.inf
237!else
238!if $(USE_NEW_SHELL)
239INF RuleOverride = BINARY USE = X64 ShellBinPkg/UefiShell/UefiShell.inf
240!else
mdkinney7a743a22010-06-29 04:55:13 +0000241INF RuleOverride = BINARY USE = X64 EdkShellBinPkg/FullShell/FullShell.inf
jljusten345a0c82011-06-26 18:58:41 +0000242!endif
243!endif
jljusten49ba9442009-05-27 21:10:18 +0000244
lgao4d46f3632009-07-09 05:48:35 +0000245FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
mdkinney76d428b2010-06-25 22:23:22 +0000246 SECTION RAW = MdeModulePkg/Logo/Logo.bmp
247}
mdkinney7416f4e2010-07-26 18:07:19 +0000248
249#
250# Network modules
251#
252!if $(NETWORK_ENABLE)
253 FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
254 SECTION PE32 = Intel3.5/EFIX64/E3507X2.EFI
255 }
mdkinney7416f4e2010-07-26 18:07:19 +0000256 INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
257 INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
258 INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
259 INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
260 INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
261 INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
262 INF MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
263 INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
264 INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
265 INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
266 INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
267 INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
268 INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
269!endif
jljusten689562c2010-12-31 07:55:38 +0000270
271#
272# Usb Support
273#
274INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
275INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
276INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
277INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
278INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
279
jljusten4b3d6632011-11-10 22:04:49 +0000280!ifdef $(CSM_ENABLE)
281INF IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
282INF IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
283INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
284!endif
285
jljustenaadb1d02012-07-10 22:43:19 +0000286INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
287
jljusten49ba9442009-05-27 21:10:18 +0000288################################################################################
289
mdkinney76d428b2010-06-25 22:23:22 +0000290[FV.FVMAIN_COMPACT]
jljusten49ba9442009-05-27 21:10:18 +0000291FvAlignment = 16
292ERASE_POLARITY = 1
293MEMORY_MAPPED = TRUE
294STICKY_WRITE = TRUE
295LOCK_CAP = TRUE
296LOCK_STATUS = TRUE
297WRITE_DISABLED_CAP = TRUE
298WRITE_ENABLED_CAP = TRUE
299WRITE_STATUS = TRUE
300WRITE_LOCK_CAP = TRUE
301WRITE_LOCK_STATUS = TRUE
302READ_DISABLED_CAP = TRUE
303READ_ENABLED_CAP = TRUE
304READ_STATUS = TRUE
305READ_LOCK_CAP = TRUE
306READ_LOCK_STATUS = TRUE
307
mdkinney76d428b2010-06-25 22:23:22 +0000308FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
jljusteneaf4f332011-04-12 15:08:51 +0000309 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
310 SECTION FV_IMAGE = MAINFV
311 }
312 }
313
jljusten49ba9442009-05-27 21:10:18 +0000314################################################################################
315
jljusten49ba9442009-05-27 21:10:18 +0000316[Rule.Common.SEC]
317 FILE SEC = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000318 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000319 UI STRING ="$(MODULE_NAME)" Optional
320 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
321 }
322
mdkinney76d428b2010-06-25 22:23:22 +0000323[Rule.Common.PEI_CORE]
324 FILE PEI_CORE = $(NAMED_GUID) {
325 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
326 UI STRING ="$(MODULE_NAME)" Optional
327 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
jljustend40d3ba2009-10-07 16:01:09 +0000328 }
329
jljusten49ba9442009-05-27 21:10:18 +0000330[Rule.Common.PEIM]
331 FILE PEIM = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000332 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
333 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000334 UI STRING="$(MODULE_NAME)" Optional
335 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
336 }
337
jljusten49ba9442009-05-27 21:10:18 +0000338[Rule.Common.DXE_CORE]
339 FILE DXE_CORE = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000340 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000341 UI STRING="$(MODULE_NAME)" Optional
342 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
343 }
344
jljusten49ba9442009-05-27 21:10:18 +0000345[Rule.Common.DXE_DRIVER]
346 FILE DRIVER = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000347 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
348 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000349 UI STRING="$(MODULE_NAME)" Optional
350 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
351 }
352
353[Rule.Common.DXE_RUNTIME_DRIVER]
354 FILE DRIVER = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000355 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
356 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000357 UI STRING="$(MODULE_NAME)" Optional
358 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
359 }
360
mdkinney76d428b2010-06-25 22:23:22 +0000361[Rule.Common.UEFI_DRIVER]
362 FILE DRIVER = $(NAMED_GUID) {
363 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
364 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
365 UI STRING="$(MODULE_NAME)" Optional
366 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
367 }
368
mdkinney7a743a22010-06-29 04:55:13 +0000369[Rule.Common.UEFI_DRIVER.BINARY]
mdkinney3b33c6d2010-06-29 18:34:32 +0000370 FILE DRIVER = $(NAMED_GUID) {
mdkinney7a743a22010-06-29 04:55:13 +0000371 DXE_DEPEX DXE_DEPEX Optional |.depex
372 PE32 PE32 |.efi
373 UI STRING="$(MODULE_NAME)" Optional
374 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
375 }
jljusten8c71ec82012-08-15 00:03:59 +0000376
jljusten49ba9442009-05-27 21:10:18 +0000377[Rule.Common.UEFI_APPLICATION]
378 FILE APPLICATION = $(NAMED_GUID) {
lgao42014a812010-03-01 06:47:58 +0000379 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
jljusten49ba9442009-05-27 21:10:18 +0000380 UI STRING="$(MODULE_NAME)" Optional
381 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
382 }
383
mdkinney7a743a22010-06-29 04:55:13 +0000384[Rule.Common.UEFI_APPLICATION.BINARY]
385 FILE APPLICATION = $(NAMED_GUID) {
386 PE32 PE32 |.efi
387 UI STRING="$(MODULE_NAME)" Optional
388 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
389 }
jljusten8c71ec82012-08-15 00:03:59 +0000390
vanjeff48889992009-08-11 05:30:52 +0000391[Rule.Common.USER_DEFINED.ACPITABLE]
jljusten49ba9442009-05-27 21:10:18 +0000392 FILE FREEFORM = $(NAMED_GUID) {
jljustend40d3ba2009-10-07 16:01:09 +0000393 RAW ACPI |.acpi
394 RAW ASL |.aml
jljusten49ba9442009-05-27 21:10:18 +0000395 }
396
jljusten4b3d6632011-11-10 22:04:49 +0000397[Rule.Common.USER_DEFINED.CSM]
398 FILE FREEFORM = $(NAMED_GUID) {
399 RAW BIN |.bin
400 }
401
mdkinney7416f4e2010-07-26 18:07:19 +0000402[Rule.Common.SEC.RESET_VECTOR]
403 FILE RAW = $(NAMED_GUID) {
404 RAW RAW |.raw
405 }