]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Microvm/MicrovmX64.fdf
3182950277eac80769197beaa1131e4042982ee5
[mirror_edk2.git] / OvmfPkg / Microvm / MicrovmX64.fdf
1 ## @file
2 # Open Virtual Machine Firmware: FDF
3 #
4 # Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
5 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
6 #
7 # SPDX-License-Identifier: BSD-2-Clause-Patent
8 #
9 ##
10
11 ################################################################################
12
13 [Defines]
14 !include OvmfPkg/OvmfPkgDefines.fdf.inc
15
16 #
17 # Build the variable store and the firmware code as one unified flash device
18 # image.
19 #
20 [FD.MICROVM]
21 BaseAddress = $(FW_BASE_ADDRESS)
22 Size = $(FW_SIZE)
23 ErasePolarity = 1
24 BlockSize = $(BLOCK_SIZE)
25 NumBlocks = $(FW_BLOCKS)
26
27 !include OvmfPkg/VarStore.fdf.inc
28
29 $(VARS_SIZE)|$(FVMAIN_SIZE)
30 FV = FVMAIN_COMPACT
31
32 $(SECFV_OFFSET)|$(SECFV_SIZE)
33 FV = SECFV
34
35 #
36 # Build the variable store and the firmware code as separate flash device
37 # images.
38 #
39 [FD.MICROVM_VARS]
40 BaseAddress = $(FW_BASE_ADDRESS)
41 Size = $(VARS_SIZE)
42 ErasePolarity = 1
43 BlockSize = $(BLOCK_SIZE)
44 NumBlocks = $(VARS_BLOCKS)
45
46 !include OvmfPkg/VarStore.fdf.inc
47
48 [FD.MICROVM_CODE]
49 BaseAddress = $(CODE_BASE_ADDRESS)
50 Size = $(CODE_SIZE)
51 ErasePolarity = 1
52 BlockSize = $(BLOCK_SIZE)
53 NumBlocks = $(CODE_BLOCKS)
54
55 0x00000000|$(FVMAIN_SIZE)
56 FV = FVMAIN_COMPACT
57
58 $(FVMAIN_SIZE)|$(SECFV_SIZE)
59 FV = SECFV
60
61 ################################################################################
62
63 [FD.MEMFD]
64 BaseAddress = $(MEMFD_BASE_ADDRESS)
65 Size = 0xD00000
66 ErasePolarity = 1
67 BlockSize = 0x10000
68 NumBlocks = 0xD0
69
70 0x000000|0x006000
71 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
72
73 0x006000|0x001000
74 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageSize
75
76 0x007000|0x001000
77 gEfiMdePkgTokenSpaceGuid.PcdGuidedExtractHandlerTableAddress|gUefiOvmfPkgTokenSpaceGuid.PcdGuidedExtractHandlerTableSize
78
79 0x008000|0x001000
80 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbPageTableBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbPageTableSize
81
82 0x009000|0x002000
83 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbSize
84
85 0x00B000|0x001000
86 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfWorkAreaBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfWorkAreaSize
87
88 0x00C000|0x001000
89 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBackupBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBackupSize
90
91 0x010000|0x010000
92 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize
93
94 0x020000|0x0E0000
95 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
96 FV = PEIFV
97
98 0x100000|0xC00000
99 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
100 FV = DXEFV
101
102 ##########################################################################################
103 # Set the SEV-ES specific work area PCDs
104 #
105 SET gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaBase = $(MEMFD_BASE_ADDRESS) + gUefiOvmfPkgTokenSpaceGuid.PcdOvmfWorkAreaBase + gUefiOvmfPkgTokenSpaceGuid.PcdOvmfConfidentialComputingWorkAreaHeader
106 SET gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaSize = gUefiOvmfPkgTokenSpaceGuid.PcdOvmfWorkAreaSize - gUefiOvmfPkgTokenSpaceGuid.PcdOvmfConfidentialComputingWorkAreaHeader
107 ##########################################################################################
108
109 ################################################################################
110
111 [FV.SECFV]
112 FvNameGuid = 763BED0D-DE9F-48F5-81F1-3E90E1B1A015
113 BlockSize = 0x1000
114 FvAlignment = 16
115 ERASE_POLARITY = 1
116 MEMORY_MAPPED = TRUE
117 STICKY_WRITE = TRUE
118 LOCK_CAP = TRUE
119 LOCK_STATUS = TRUE
120 WRITE_DISABLED_CAP = TRUE
121 WRITE_ENABLED_CAP = TRUE
122 WRITE_STATUS = TRUE
123 WRITE_LOCK_CAP = TRUE
124 WRITE_LOCK_STATUS = TRUE
125 READ_DISABLED_CAP = TRUE
126 READ_ENABLED_CAP = TRUE
127 READ_STATUS = TRUE
128 READ_LOCK_CAP = TRUE
129 READ_LOCK_STATUS = TRUE
130
131 #
132 # SEC Phase modules
133 #
134 # The code in this FV handles the initial firmware startup, and
135 # decompresses the PEI and DXE FVs which handles the rest of the boot sequence.
136 #
137 INF OvmfPkg/Sec/SecMain.inf
138
139 INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/ResetVector.inf
140
141 ################################################################################
142 [FV.PEIFV]
143 FvNameGuid = 6938079B-B503-4E3D-9D24-B28337A25806
144 BlockSize = 0x10000
145 FvAlignment = 16
146 ERASE_POLARITY = 1
147 MEMORY_MAPPED = TRUE
148 STICKY_WRITE = TRUE
149 LOCK_CAP = TRUE
150 LOCK_STATUS = TRUE
151 WRITE_DISABLED_CAP = TRUE
152 WRITE_ENABLED_CAP = TRUE
153 WRITE_STATUS = TRUE
154 WRITE_LOCK_CAP = TRUE
155 WRITE_LOCK_STATUS = TRUE
156 READ_DISABLED_CAP = TRUE
157 READ_ENABLED_CAP = TRUE
158 READ_STATUS = TRUE
159 READ_LOCK_CAP = TRUE
160 READ_LOCK_STATUS = TRUE
161
162 APRIORI PEI {
163 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
164 }
165
166 #
167 # PEI Phase modules
168 #
169 INF MdeModulePkg/Core/Pei/PeiMain.inf
170 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
171 INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
172 INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
173 INF OvmfPkg/PlatformPei/PlatformPei.inf
174 INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
175 INF UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
176 INF UefiCpuPkg/CpuMpPei/CpuMpPei.inf
177
178 ################################################################################
179
180 [FV.DXEFV]
181 FvForceRebase = FALSE
182 FvNameGuid = 7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1
183 BlockSize = 0x10000
184 FvAlignment = 16
185 ERASE_POLARITY = 1
186 MEMORY_MAPPED = TRUE
187 STICKY_WRITE = TRUE
188 LOCK_CAP = TRUE
189 LOCK_STATUS = TRUE
190 WRITE_DISABLED_CAP = TRUE
191 WRITE_ENABLED_CAP = TRUE
192 WRITE_STATUS = TRUE
193 WRITE_LOCK_CAP = TRUE
194 WRITE_LOCK_STATUS = TRUE
195 READ_DISABLED_CAP = TRUE
196 READ_ENABLED_CAP = TRUE
197 READ_STATUS = TRUE
198 READ_LOCK_CAP = TRUE
199 READ_LOCK_STATUS = TRUE
200
201 APRIORI DXE {
202 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
203 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
204 }
205
206 #
207 # DXE Phase modules
208 #
209 INF MdeModulePkg/Core/Dxe/DxeMain.inf
210
211 INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
212 INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
213 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
214
215 INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
216 INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
217 INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
218 INF OvmfPkg/8259InterruptControllerDxe/8259.inf
219 INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
220 INF UefiCpuPkg/CpuDxe/CpuDxe.inf
221 INF OvmfPkg/8254TimerDxe/8254Timer.inf
222 INF OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
223 INF OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
224 INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
225 INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
226 INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
227 INF MdeModulePkg/Universal/Metronome/Metronome.inf
228 INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
229
230 INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
231 INF OvmfPkg/Virtio10Dxe/Virtio10.inf
232 INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
233 INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
234 INF OvmfPkg/VirtioRngDxe/VirtioRng.inf
235 !if $(PVSCSI_ENABLE) == TRUE
236 INF OvmfPkg/PvScsiDxe/PvScsiDxe.inf
237 !endif
238 !if $(MPT_SCSI_ENABLE) == TRUE
239 INF OvmfPkg/MptScsiDxe/MptScsiDxe.inf
240 !endif
241 !if $(LSI_SCSI_ENABLE) == TRUE
242 INF OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
243 !endif
244
245 INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
246 INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
247 INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
248 INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
249 INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
250 INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
251 INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
252 INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
253 INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
254 INF MdeModulePkg/Application/UiApp/UiApp.inf
255 INF OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf
256 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
257 INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
258 INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
259 INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
260 INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
261 INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
262 INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
263 INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
264 INF OvmfPkg/SataControllerDxe/SataControllerDxe.inf
265 INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
266 INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
267 INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
268 INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
269 INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
270 INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
271 INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
272
273 INF OvmfPkg/SioBusDxe/SioBusDxe.inf
274 !if $(SOURCE_DEBUG_ENABLE) == FALSE
275 INF MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
276 !endif
277 INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
278
279 INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
280 INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
281
282 INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
283 INF OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.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
287
288 INF FatPkg/EnhancedFatDxe/Fat.inf
289 INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
290 INF OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
291
292 !if $(TOOL_CHAIN_TAG) != "XCODE5"
293 INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
294 INF ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf
295 INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
296 !endif
297 INF ShellPkg/Application/Shell/Shell.inf
298
299 INF MdeModulePkg/Logo/LogoDxe.inf
300
301 #
302 # Network modules
303 #
304 !if $(E1000_ENABLE)
305 FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
306 SECTION PE32 = Intel3.5/EFIX64/E3522X2.EFI
307 }
308 !endif
309 !include NetworkPkg/Network.fdf.inc
310 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
311
312 #
313 # Usb Support
314 #
315 INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
316 INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
317 INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
318 INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
319 INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
320 INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
321
322 !ifdef $(CSM_ENABLE)
323 INF OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
324 INF OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
325 INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
326 !else
327 INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
328 !endif
329
330 INF OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
331 INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
332 INF OvmfPkg/PlatformDxe/Platform.inf
333 INF OvmfPkg/IoMmuDxe/IoMmuDxe.inf
334
335 #
336 # Variable driver stack (non-SMM)
337 #
338 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
339 INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
340 INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
341 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
342
343 ################################################################################
344
345 [FV.FVMAIN_COMPACT]
346 FvNameGuid = 48DB5E17-707C-472D-91CD-1613E7EF51B0
347 FvAlignment = 16
348 ERASE_POLARITY = 1
349 MEMORY_MAPPED = TRUE
350 STICKY_WRITE = TRUE
351 LOCK_CAP = TRUE
352 LOCK_STATUS = TRUE
353 WRITE_DISABLED_CAP = TRUE
354 WRITE_ENABLED_CAP = TRUE
355 WRITE_STATUS = TRUE
356 WRITE_LOCK_CAP = TRUE
357 WRITE_LOCK_STATUS = TRUE
358 READ_DISABLED_CAP = TRUE
359 READ_ENABLED_CAP = TRUE
360 READ_STATUS = TRUE
361 READ_LOCK_CAP = TRUE
362 READ_LOCK_STATUS = TRUE
363
364 FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
365 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
366 #
367 # These firmware volumes will have files placed in them uncompressed,
368 # and then both firmware volumes will be compressed in a single
369 # compression operation in order to achieve better overall compression.
370 #
371 SECTION FV_IMAGE = PEIFV
372 SECTION FV_IMAGE = DXEFV
373 }
374 }
375
376 !include OvmfPkg/FvmainCompactScratchEnd.fdf.inc
377
378 ################################################################################
379
380 [Rule.Common.SEC]
381 FILE SEC = $(NAMED_GUID) {
382 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
383 UI STRING ="$(MODULE_NAME)" Optional
384 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
385 }
386
387 [Rule.Common.PEI_CORE]
388 FILE PEI_CORE = $(NAMED_GUID) {
389 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
390 UI STRING ="$(MODULE_NAME)" Optional
391 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
392 }
393
394 [Rule.Common.PEIM]
395 FILE PEIM = $(NAMED_GUID) {
396 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
397 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
398 UI STRING="$(MODULE_NAME)" Optional
399 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
400 }
401
402 [Rule.Common.DXE_CORE]
403 FILE DXE_CORE = $(NAMED_GUID) {
404 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
405 UI STRING="$(MODULE_NAME)" Optional
406 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
407 }
408
409 [Rule.Common.DXE_DRIVER]
410 FILE DRIVER = $(NAMED_GUID) {
411 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
412 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
413 UI STRING="$(MODULE_NAME)" Optional
414 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
415 RAW ACPI Optional |.acpi
416 RAW ASL Optional |.aml
417 }
418
419 [Rule.Common.DXE_RUNTIME_DRIVER]
420 FILE DRIVER = $(NAMED_GUID) {
421 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
422 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
423 UI STRING="$(MODULE_NAME)" Optional
424 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
425 }
426
427 [Rule.Common.UEFI_DRIVER]
428 FILE DRIVER = $(NAMED_GUID) {
429 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
430 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
431 UI STRING="$(MODULE_NAME)" Optional
432 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
433 }
434
435 [Rule.Common.UEFI_DRIVER.BINARY]
436 FILE DRIVER = $(NAMED_GUID) {
437 DXE_DEPEX DXE_DEPEX Optional |.depex
438 PE32 PE32 |.efi
439 UI STRING="$(MODULE_NAME)" Optional
440 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
441 }
442
443 [Rule.Common.UEFI_APPLICATION]
444 FILE APPLICATION = $(NAMED_GUID) {
445 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
446 UI STRING="$(MODULE_NAME)" Optional
447 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
448 }
449
450 [Rule.Common.UEFI_APPLICATION.BINARY]
451 FILE APPLICATION = $(NAMED_GUID) {
452 PE32 PE32 |.efi
453 UI STRING="$(MODULE_NAME)" Optional
454 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
455 }
456
457 [Rule.Common.USER_DEFINED.CSM]
458 FILE FREEFORM = $(NAMED_GUID) {
459 RAW BIN |.bin
460 }
461
462 [Rule.Common.SEC.RESET_VECTOR]
463 FILE RAW = $(NAMED_GUID) {
464 RAW BIN Align = 16 |.bin
465 }
466
467 [Rule.Common.SMM_CORE]
468 FILE SMM_CORE = $(NAMED_GUID) {
469 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
470 UI STRING="$(MODULE_NAME)" Optional
471 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
472 }
473
474 [Rule.Common.DXE_SMM_DRIVER]
475 FILE SMM = $(NAMED_GUID) {
476 SMM_DEPEX SMM_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
477 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
478 UI STRING="$(MODULE_NAME)" Optional
479 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
480 }