2 # Open Virtual Machine Firmware: FDF
4 # Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
5 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
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
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.
17 ################################################################################
20 !include OvmfPkg.fdf.inc
23 # Build the variable store and the firmware code as one unified flash device
27 BaseAddress = $(FW_BASE_ADDRESS)
30 BlockSize = $(BLOCK_SIZE)
31 NumBlocks = $(FW_BLOCKS)
33 !include VarStore.fdf.inc
35 $(VARS_SIZE)|$(FVMAIN_SIZE)
38 $(SECFV_OFFSET)|$(SECFV_SIZE)
42 # Build the variable store and the firmware code as separate flash device
46 BaseAddress = $(FW_BASE_ADDRESS)
49 BlockSize = $(BLOCK_SIZE)
50 NumBlocks = $(VARS_BLOCKS)
52 !include VarStore.fdf.inc
55 BaseAddress = $(CODE_BASE_ADDRESS)
58 BlockSize = $(BLOCK_SIZE)
59 NumBlocks = $(CODE_BLOCKS)
61 0x00000000|$(FVMAIN_SIZE)
64 $(FVMAIN_SIZE)|$(SECFV_SIZE)
67 ################################################################################
70 BaseAddress = $(MEMFD_BASE_ADDRESS)
77 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
80 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageSize
83 gEfiMdePkgTokenSpaceGuid.PcdGuidedExtractHandlerTableAddress|gUefiOvmfPkgTokenSpaceGuid.PcdGuidedExtractHandlerTableSize
86 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize
89 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
93 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
96 ################################################################################
99 FvNameGuid = 763BED0D-DE9F-48F5-81F1-3E90E1B1A015
107 WRITE_DISABLED_CAP = TRUE
108 WRITE_ENABLED_CAP = TRUE
110 WRITE_LOCK_CAP = TRUE
111 WRITE_LOCK_STATUS = TRUE
112 READ_DISABLED_CAP = TRUE
113 READ_ENABLED_CAP = TRUE
116 READ_LOCK_STATUS = TRUE
121 # The code in this FV handles the initial firmware startup, and
122 # decompresses the PEI and DXE FVs which handles the rest of the boot sequence.
124 INF OvmfPkg/Sec/SecMain.inf
126 INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/ResetVector.inf
128 ################################################################################
130 FvNameGuid = 6938079B-B503-4E3D-9D24-B28337A25806
138 WRITE_DISABLED_CAP = TRUE
139 WRITE_ENABLED_CAP = TRUE
141 WRITE_LOCK_CAP = TRUE
142 WRITE_LOCK_STATUS = TRUE
143 READ_DISABLED_CAP = TRUE
144 READ_ENABLED_CAP = TRUE
147 READ_LOCK_STATUS = TRUE
150 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
156 INF MdeModulePkg/Core/Pei/PeiMain.inf
157 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
158 INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
159 INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
160 INF OvmfPkg/PlatformPei/PlatformPei.inf
161 INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
162 INF UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
163 !if $(SMM_REQUIRE) == TRUE
164 INF OvmfPkg/SmmAccess/SmmAccessPei.inf
166 INF UefiCpuPkg/CpuMpPei/CpuMpPei.inf
168 !if $(TPM2_ENABLE) == TRUE
169 INF OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
170 INF SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
173 ################################################################################
176 FvForceRebase = FALSE
177 FvNameGuid = 7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1
185 WRITE_DISABLED_CAP = TRUE
186 WRITE_ENABLED_CAP = TRUE
188 WRITE_LOCK_CAP = TRUE
189 WRITE_LOCK_STATUS = TRUE
190 READ_DISABLED_CAP = TRUE
191 READ_ENABLED_CAP = TRUE
194 READ_LOCK_STATUS = TRUE
197 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
198 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
199 !if $(SMM_REQUIRE) == FALSE
200 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
207 INF MdeModulePkg/Core/Dxe/DxeMain.inf
209 INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
210 INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
211 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
213 INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
214 INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
215 INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
216 INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
217 INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
218 INF UefiCpuPkg/CpuDxe/CpuDxe.inf
219 INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
220 INF OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
221 INF OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
222 INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
223 INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
224 INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
225 INF MdeModulePkg/Universal/Metronome/Metronome.inf
226 INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
228 INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
229 INF OvmfPkg/Virtio10Dxe/Virtio10.inf
230 INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
231 INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
232 INF OvmfPkg/VirtioRngDxe/VirtioRng.inf
233 INF OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
234 INF OvmfPkg/XenBusDxe/XenBusDxe.inf
235 INF OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
237 !if $(SECURE_BOOT_ENABLE) == TRUE
238 INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
241 INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
242 INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
243 INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
244 INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
245 INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
246 INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
247 INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
248 INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
249 INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
250 INF MdeModulePkg/Application/UiApp/UiApp.inf
251 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
252 INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
253 INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
254 INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
255 INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
256 INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
257 INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
258 INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
259 INF OvmfPkg/SataControllerDxe/SataControllerDxe.inf
260 INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
261 INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
262 INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
263 INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
264 INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
265 INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
266 INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
268 INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
269 INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
271 !ifndef $(SOURCE_DEBUG_ENABLE)
272 INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
275 INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
276 INF IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
278 INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
279 INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
281 INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
282 INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
283 INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
284 INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
285 INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
286 INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
288 INF FatPkg/EnhancedFatDxe/Fat.inf
289 INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
291 !ifndef $(USE_OLD_SHELL)
292 INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
293 INF ShellPkg/Application/Shell/Shell.inf
295 INF RuleOverride = BINARY EdkShellBinPkg/FullShell/FullShell.inf
298 INF MdeModulePkg/Logo/LogoDxe.inf
303 INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
304 INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
305 INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
306 INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
307 INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
308 INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
309 INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
310 INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
311 INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
312 !if $(NETWORK_IP6_ENABLE) == TRUE
313 INF NetworkPkg/Ip6Dxe/Ip6Dxe.inf
314 INF NetworkPkg/TcpDxe/TcpDxe.inf
315 INF NetworkPkg/Udp6Dxe/Udp6Dxe.inf
316 INF NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
317 INF NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
318 INF NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
319 INF NetworkPkg/IScsiDxe/IScsiDxe.inf
321 INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
322 INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
323 INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
325 !if $(HTTP_BOOT_ENABLE) == TRUE
326 INF NetworkPkg/DnsDxe/DnsDxe.inf
327 INF NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
328 INF NetworkPkg/HttpDxe/HttpDxe.inf
329 INF NetworkPkg/HttpBootDxe/HttpBootDxe.inf
331 !if $(TLS_ENABLE) == TRUE
332 INF NetworkPkg/TlsDxe/TlsDxe.inf
333 INF NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
335 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
340 INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
341 INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
342 INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
343 INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
344 INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
345 INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
348 INF IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
349 INF IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
350 INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
353 INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
354 INF OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
355 INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
356 INF OvmfPkg/PlatformDxe/Platform.inf
357 INF OvmfPkg/IoMmuDxe/IoMmuDxe.inf
359 !if $(SMM_REQUIRE) == TRUE
360 INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
361 INF OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
362 INF UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
363 INF MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
364 INF MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
365 INF UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
366 INF MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
367 INF UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
370 # Variable driver stack (SMM)
372 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
373 INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
374 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
375 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
380 # Variable driver stack (non-SMM)
382 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
383 INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
384 INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
385 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
388 !if $(TPM2_ENABLE) == TRUE
389 INF SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
392 ################################################################################
395 FvNameGuid = 48DB5E17-707C-472D-91CD-1613E7EF51B0
402 WRITE_DISABLED_CAP = TRUE
403 WRITE_ENABLED_CAP = TRUE
405 WRITE_LOCK_CAP = TRUE
406 WRITE_LOCK_STATUS = TRUE
407 READ_DISABLED_CAP = TRUE
408 READ_ENABLED_CAP = TRUE
411 READ_LOCK_STATUS = TRUE
413 FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
414 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
416 # These firmware volumes will have files placed in them uncompressed,
417 # and then both firmware volumes will be compressed in a single
418 # compression operation in order to achieve better overall compression.
420 SECTION FV_IMAGE = PEIFV
421 SECTION FV_IMAGE = DXEFV
425 !include DecomprScratchEnd.fdf.inc
427 ################################################################################
430 FILE SEC = $(NAMED_GUID) {
431 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
432 UI STRING ="$(MODULE_NAME)" Optional
433 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
436 [Rule.Common.PEI_CORE]
437 FILE PEI_CORE = $(NAMED_GUID) {
438 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
439 UI STRING ="$(MODULE_NAME)" Optional
440 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
444 FILE PEIM = $(NAMED_GUID) {
445 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
446 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
447 UI STRING="$(MODULE_NAME)" Optional
448 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
451 [Rule.Common.DXE_CORE]
452 FILE DXE_CORE = $(NAMED_GUID) {
453 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
454 UI STRING="$(MODULE_NAME)" Optional
455 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
458 [Rule.Common.DXE_DRIVER]
459 FILE DRIVER = $(NAMED_GUID) {
460 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
461 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
462 UI STRING="$(MODULE_NAME)" Optional
463 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
464 RAW ACPI Optional |.acpi
465 RAW ASL Optional |.aml
468 [Rule.Common.DXE_RUNTIME_DRIVER]
469 FILE DRIVER = $(NAMED_GUID) {
470 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
471 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
472 UI STRING="$(MODULE_NAME)" Optional
473 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
476 [Rule.Common.UEFI_DRIVER]
477 FILE DRIVER = $(NAMED_GUID) {
478 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
479 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
480 UI STRING="$(MODULE_NAME)" Optional
481 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
484 [Rule.Common.UEFI_DRIVER.BINARY]
485 FILE DRIVER = $(NAMED_GUID) {
486 DXE_DEPEX DXE_DEPEX Optional |.depex
488 UI STRING="$(MODULE_NAME)" Optional
489 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
492 [Rule.Common.UEFI_APPLICATION]
493 FILE APPLICATION = $(NAMED_GUID) {
494 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
495 UI STRING="$(MODULE_NAME)" Optional
496 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
499 [Rule.Common.UEFI_APPLICATION.BINARY]
500 FILE APPLICATION = $(NAMED_GUID) {
502 UI STRING="$(MODULE_NAME)" Optional
503 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
506 [Rule.Common.USER_DEFINED.ACPITABLE]
507 FILE FREEFORM = $(NAMED_GUID) {
512 [Rule.Common.USER_DEFINED.CSM]
513 FILE FREEFORM = $(NAMED_GUID) {
517 [Rule.Common.SEC.RESET_VECTOR]
518 FILE RAW = $(NAMED_GUID) {
519 RAW BIN Align = 16 |.bin
522 [Rule.Common.SMM_CORE]
523 FILE SMM_CORE = $(NAMED_GUID) {
524 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
525 UI STRING="$(MODULE_NAME)" Optional
526 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
529 [Rule.Common.DXE_SMM_DRIVER]
530 FILE SMM = $(NAMED_GUID) {
531 SMM_DEPEX SMM_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
532 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
533 UI STRING="$(MODULE_NAME)" Optional
534 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)