blob: 2977a9ff7bf5e5a0f7330ec7e97c211d2480b542 [file] [log] [blame]
andrewfish949f3882011-05-11 18:31:20 +00001## @file
2# This is Unix FDF file with UEFI HII features enabled
3#
jljusten72a44be2011-05-15 17:23:33 +00004# Copyright (c) 2008 - 2011, Intel Corporation. All rights reserved.<BR>
andrewfish949f3882011-05-11 18:31:20 +00005# Portions copyright (c) 2009 - 2011, Apple Inc. All rights reserved.<BR>
6#
7# This program and the accompanying materials
8# are licensed and made available under the terms and conditions of the BSD License
9# which accompanies this distribution. The full text of the license may be found at
10# http://opensource.org/licenses/bsd-license.php
11#
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14#
15
16################################################################################
17#
18# FD Section
19# The [FD] Section is made up of the definition statements and a
20# description of what goes into the Flash Device Image. Each FD section
21# defines one flash "device" image. A flash device image may be one of
22# the following: Removable media bootable image (like a boot floppy
23# image,) an Option ROM image (that would be "flashed" into an add-in
24# card,) a System "Flash" image (that would be burned into a system's
25# flash) or an Update ("Capsule") image that will be used to update and
26# existing system flash.
27#
28################################################################################
29[FD.Fv_Recovery]
30#
31# In OS X PEIMs are really XIP, so we need to make this address match the malloced
32# buffer for the FD (0x41000000). If this address does not match the FV will get
33# relocated in place (works, but not a great idea).
34#
jljustenbb89ec12011-06-28 16:47:23 +000035BaseAddress = 0x102000000|gEmulatorPkgTokenSpaceGuid.PcdEmuFdBaseAddress #The base address of the FLASH Device.
36Size = 0x005a0000|gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize #The size in bytes of the FLASH Device
andrewfish949f3882011-05-11 18:31:20 +000037ErasePolarity = 1
38BlockSize = 0x10000
39NumBlocks = 0x5a
40
41################################################################################
42#
43# Following are lists of FD Region layout which correspond to the locations of different
44# images within the flash device.
45#
46# Regions must be defined in ascending order and may not overlap.
47#
48# A Layout Region start with a eight digit hex offset (leading "0x" required) followed by
49# the pipe "|" character, followed by the size of the region, also in hex with the leading
50# "0x" characters. Like:
51# Offset|Size
52# PcdOffsetCName|PcdSizeCName
53# RegionType <FV, DATA, or FILE>
54#
55################################################################################
560x00000000|0x00580000
jljustenbb89ec12011-06-28 16:47:23 +000057gEmulatorPkgTokenSpaceGuid.PcdEmuFlashFvRecoveryBase|gEmulatorPkgTokenSpaceGuid.PcdEmuFlashFvRecoverySize
andrewfish949f3882011-05-11 18:31:20 +000058FV = FvRecovery
59
600x00580000|0x0000c000
jljustenbb89ec12011-06-28 16:47:23 +000061gEmulatorPkgTokenSpaceGuid.PcdEmuFlashNvStorageVariableBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
andrewfish949f3882011-05-11 18:31:20 +000062#NV_VARIABLE_STORE
63DATA = {
64 ## This is the EFI_FIRMWARE_VOLUME_HEADER
65 # ZeroVector []
66 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
67 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
68 # FileSystemGuid: gEfiSystemNvDataFvGuid =
69 # { 0xFFF12B8D, 0x7696, 0x4C8B, { 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50 }}
70 0x8D, 0x2B, 0xF1, 0xFF, 0x96, 0x76, 0x8B, 0x4C,
71 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50,
72 # FvLength: 0x20000
73 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
74 # Signature "_FVH" #Attributes
75 0x5f, 0x46, 0x56, 0x48, 0xff, 0xfe, 0x04, 0x00,
76 # HeaderLength #CheckSum #ExtHeaderOffset #Reserved #Revision
77 0x48, 0x00, 0x36, 0x09, 0x00, 0x00, 0x00, 0x02,
78 # Blockmap[0]: 2 Blocks * 0x10000 Bytes / Block
79 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
80 # Blockmap[1]: End
81 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
82 ## This is the VARIABLE_STORE_HEADER
83 #Signature: gEfiVariableGuid =
84 # { 0xddcf3616, 0x3275, 0x4164, { 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d }}
85 0x16, 0x36, 0xcf, 0xdd, 0x75, 0x32, 0x64, 0x41,
86 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d,
87 #Size: 0xc000 (gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize) - 0x48 (size of EFI_FIRMWARE_VOLUME_HEADER) = 0xBFB8
88 # This can speed up the Variable Dispatch a bit.
89 0xB8, 0xBF, 0x00, 0x00,
90 #FORMATTED: 0x5A #HEALTHY: 0xFE #Reserved: UINT16 #Reserved1: UINT32
91 0x5A, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
92}
93
940x0058c000|0x00002000
95#NV_EVENT_LOG
jljustenbb89ec12011-06-28 16:47:23 +000096gEmulatorPkgTokenSpaceGuid.PcdEmuFlashNvStorageEventLogBase|gEmulatorPkgTokenSpaceGuid.PcdEmuFlashNvStorageEventLogSize
andrewfish949f3882011-05-11 18:31:20 +000097
980x0058e000|0x00002000
jljustenbb89ec12011-06-28 16:47:23 +000099gEmulatorPkgTokenSpaceGuid.PcdEmuFlashNvStorageFtwWorkingBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
andrewfish949f3882011-05-11 18:31:20 +0000100#NV_FTW_WORKING
101DATA = {
102 # EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER->Signature = gEfiSystemNvDataFvGuid =
103 # { 0xFFF12B8D, 0x7696, 0x4C8B, { 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50 }}
104 0x8D, 0x2B, 0xF1, 0xFF, 0x96, 0x76, 0x8B, 0x4C,
105 0xA9, 0x85, 0x27, 0x47, 0x07, 0x5B, 0x4F, 0x50,
106 # Crc:UINT32 #WorkingBlockValid:1, WorkingBlockInvalid:1, Reserved
107 0x77, 0x13, 0x9B, 0xD7, 0xFE, 0xFF, 0xFF, 0xFF,
108 # WriteQueueSize: UINT64
109 0xE0, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
110}
111
1120x00590000|0x00010000
113#NV_FTW_SPARE
jljustenbb89ec12011-06-28 16:47:23 +0000114gEmulatorPkgTokenSpaceGuid.PcdEmuFlashNvStorageFtwSpareBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
andrewfish949f3882011-05-11 18:31:20 +0000115
116################################################################################
117#
118# FV Section
119#
120# [FV] section is used to define what components or modules are placed within a flash
121# device file. This section also defines order the components and modules are positioned
122# within the image. The [FV] section consists of define statements, set statements and
123# module statements.
124#
125################################################################################
126[FV.FvRecovery]
127FvAlignment = 16 #FV alignment and FV attributes setting.
128ERASE_POLARITY = 1
129MEMORY_MAPPED = TRUE
130STICKY_WRITE = TRUE
131LOCK_CAP = TRUE
132LOCK_STATUS = TRUE
133WRITE_DISABLED_CAP = TRUE
134WRITE_ENABLED_CAP = TRUE
135WRITE_STATUS = TRUE
136WRITE_LOCK_CAP = TRUE
137WRITE_LOCK_STATUS = TRUE
138READ_DISABLED_CAP = TRUE
139READ_ENABLED_CAP = TRUE
140READ_STATUS = TRUE
141READ_LOCK_CAP = TRUE
142READ_LOCK_STATUS = TRUE
143
144################################################################################
145#
146# The INF statements point to EDK component and EDK II module INF files, which will be placed into this FV image.
147# Parsing tools will scan the INF file to determine the type of component or module.
148# The component or module type is used to reference the standard rules
149# defined elsewhere in the FDF file.
150#
151# The format for INF statements is:
152# INF $(PathAndInfFileName)
153#
154################################################################################
155##
156# PEI Phase modules
157##
158##
159# PEI Apriori file example, more PEIM module added later.
160##
161APRIORI PEI {
162 INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
163 INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
164 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
165 }
166APRIORI DXE {
167 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
andrewfish1ef41202011-06-21 23:41:31 +0000168 INF MdeModulePkg/Universal/Metronome/Metronome.inf
andrewfish949f3882011-05-11 18:31:20 +0000169 }
jljustenbb89ec12011-06-28 16:47:23 +0000170INF EmulatorPkg/Sec/Sec.inf
andrewfish949f3882011-05-11 18:31:20 +0000171INF MdeModulePkg/Core/Pei/PeiMain.inf
172INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
173INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
174INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
jljustenbb89ec12011-06-28 16:47:23 +0000175INF EmulatorPkg/BootModePei/BootModePei.inf
176INF EmulatorPkg/AutoScanPei/AutoScanPei.inf
177INF EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf
178INF EmulatorPkg/FlashMapPei/FlashMapPei.inf
179INF EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf
andrewfish949f3882011-05-11 18:31:20 +0000180INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
181INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
182
183##
184# DXE Phase modules
185##
186INF MdeModulePkg/Core/Dxe/DxeMain.inf
187INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
188INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
189INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
andrewfish1ef41202011-06-21 23:41:31 +0000190INF MdeModulePkg/Universal/Metronome/Metronome.inf
jljustenbb89ec12011-06-28 16:47:23 +0000191INF EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf
192INF EmulatorPkg/ResetRuntimeDxe/Reset.inf
andrewfish949f3882011-05-11 18:31:20 +0000193INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
jljustenbb89ec12011-06-28 16:47:23 +0000194INF EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
andrewfish949f3882011-05-11 18:31:20 +0000195INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
196INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
197INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
jljustenbb89ec12011-06-28 16:47:23 +0000198INF EmulatorPkg/EmuThunkDxe/EmuThunk.inf
199INF EmulatorPkg/CpuRuntimeDxe/Cpu.inf
andrewfish949f3882011-05-11 18:31:20 +0000200INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
jljustenbb89ec12011-06-28 16:47:23 +0000201INF EmulatorPkg/MiscSubClassPlatformDxe/MiscSubClassDriver.inf
202INF EmulatorPkg/TimerDxe/Timer.inf
andrewfish949f3882011-05-11 18:31:20 +0000203INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
204INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
205INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
206INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
207INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
208INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
209INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
andrewfish7e284ac2011-06-08 02:34:12 +0000210
211INF EmbeddedPkg/SerialDxe/SerialDxe.inf
andrewfish949f3882011-05-11 18:31:20 +0000212INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
213INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
214INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
215INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
216INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
217INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
218INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
219INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
220INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
221INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
222
jljustenbb89ec12011-06-28 16:47:23 +0000223INF EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.inf
224INF EmulatorPkg/EmuGopDxe/EmuGopDxe.inf
225INF EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystemDxe.inf
226INF EmulatorPkg/EmuBlockIoDxe/EmuBlockIoDxe.inf
227INF EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf
andrewfish949f3882011-05-11 18:31:20 +0000228
andrewfish949f3882011-05-11 18:31:20 +0000229INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
230INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
231INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
232INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
233INF MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf
234INF MdeModulePkg/Application/HelloWorld/HelloWorld.inf
235
236#
237# Network stack drivers
238#
239!if $(NETWORK_SUPPORT)
jljustenbb89ec12011-06-28 16:47:23 +0000240INF EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf
andrewfish949f3882011-05-11 18:31:20 +0000241!endif
242INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
243INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
244INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
245INF MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
246INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
247INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
248INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
249INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
250INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
251INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
252
253
jljusten72a44be2011-05-15 17:23:33 +0000254!if $(BUILD_FAT)
andrewfish949f3882011-05-11 18:31:20 +0000255INF FatPkg/EnhancedFatDxe/Fat.inf
256!else
jljusten54e0b042011-06-23 15:23:39 +0000257INF RuleOverride = BINARY FatBinPkg/EnhancedFatDxe/Fat.inf
andrewfish949f3882011-05-11 18:31:20 +0000258!endif
259
jljusten72a44be2011-05-15 17:23:33 +0000260!if $(BUILD_NEW_SHELL)
261INF ShellPkg/Application/Shell/Shell.inf
262!else
jljusten984d7442011-06-26 18:58:23 +0000263!if $(USE_NEW_SHELL)
264INF RuleOverride = BINARY ShellBinPkg/UefiShell/UefiShell.inf
265!else
jljusten54e0b042011-06-23 15:23:39 +0000266INF RuleOverride = BINARY EdkShellBinPkg/FullShell/FullShell.inf
jljusten72a44be2011-05-15 17:23:33 +0000267!endif
jljusten984d7442011-06-26 18:58:23 +0000268!endif
andrewfish949f3882011-05-11 18:31:20 +0000269
270FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
271 SECTION RAW = MdeModulePkg/Logo/Logo.bmp
272}
273
274
275################################################################################
276#
277# Rules are use with the [FV] section's module INF type to define
278# how an FFS file is created for a given INF file. The following Rule are the default
279# rules for the different module type. User can add the customized rules to define the
280# content of the FFS file.
281#
282################################################################################
283
284
285############################################################################
286# Example of a DXE_DRIVER FFS file with a Checksum encapsulation section #
287############################################################################
288#
289#[Rule.Common.DXE_DRIVER]
290# FILE DRIVER = $(NAMED_GUID) {
291# DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
292# COMPRESS PI_STD {
293# GUIDED {
294# PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
295# UI STRING="$(MODULE_NAME)" Optional
296# VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
297# }
298# }
299# }
300#
301############################################################################
andrewfish65e3f332011-05-14 16:00:22 +0000302[Rule.Common.SEC]
303 FILE SEC = $(NAMED_GUID) {
304 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
305 UI STRING ="$(MODULE_NAME)" Optional
306 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
307 }
308
andrewfish949f3882011-05-11 18:31:20 +0000309
310[Rule.Common.PEI_CORE]
311 FILE PEI_CORE = $(NAMED_GUID) {
312 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
313 UI STRING ="$(MODULE_NAME)" Optional
314 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
315 }
316
317[Rule.Common.PEIM]
318 FILE PEIM = $(NAMED_GUID) {
319 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
320 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
321 UI STRING="$(MODULE_NAME)" Optional
322 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
323 }
324
325[Rule.Common.DXE_CORE]
326 FILE DXE_CORE = $(NAMED_GUID) {
327 COMPRESS PI_STD {
328 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
329 UI STRING="$(MODULE_NAME)" Optional
330 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
331 }
332 }
333
334[Rule.Common.UEFI_DRIVER]
335 FILE DRIVER = $(NAMED_GUID) {
336 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
337 COMPRESS PI_STD {
338 GUIDED {
339 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
340 UI STRING="$(MODULE_NAME)" Optional
341 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
342 }
343 }
344 }
345
346[Rule.Common.DXE_DRIVER]
347 FILE DRIVER = $(NAMED_GUID) {
348 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
349 COMPRESS PI_STD {
350 GUIDED {
351 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
352 UI STRING="$(MODULE_NAME)" Optional
353 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
354 }
355 }
356 }
357
358[Rule.Common.DXE_RUNTIME_DRIVER]
359 FILE DRIVER = $(NAMED_GUID) {
360 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
361 COMPRESS PI_STD {
362 GUIDED {
363 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
364 UI STRING="$(MODULE_NAME)" Optional
365 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
366 }
367 }
368 }
369
370[Rule.Common.UEFI_APPLICATION]
371 FILE APPLICATION = $(NAMED_GUID) {
372 COMPRESS PI_STD {
373 GUIDED {
374 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
375 UI STRING="$(MODULE_NAME)" Optional
376 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
377 }
378 }
379 }
380
381[Rule.Common.UEFI_DRIVER.BINARY]
382 FILE DRIVER = $(NAMED_GUID) {
383 DXE_DEPEX DXE_DEPEX Optional |.depex
384 PE32 PE32 |.efi
385 UI STRING="$(MODULE_NAME)" Optional
386 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
387 }
388
389[Rule.Common.UEFI_APPLICATION.BINARY]
390 FILE APPLICATION = $(NAMED_GUID) {
391 PE32 PE32 |.efi
392 UI STRING="$(MODULE_NAME)" Optional
393 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
394 }
395