]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgIa32.fdf
OvmfPkg: Remove unused print service driver (PrintDxe)
[mirror_edk2.git] / OvmfPkg / OvmfPkgIa32.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 OvmfPkgDefines.fdf.inc
15
16 #
17 # Build the variable store and the firmware code as one unified flash device
18 # image.
19 #
20 [FD.OVMF]
21 BaseAddress = $(FW_BASE_ADDRESS)
22 Size = $(FW_SIZE)
23 ErasePolarity = 1
24 BlockSize = $(BLOCK_SIZE)
25 NumBlocks = $(FW_BLOCKS)
26
27 !include 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.OVMF_VARS]
40 BaseAddress = $(FW_BASE_ADDRESS)
41 Size = $(VARS_SIZE)
42 ErasePolarity = 1
43 BlockSize = $(BLOCK_SIZE)
44 NumBlocks = $(VARS_BLOCKS)
45
46 !include VarStore.fdf.inc
47
48 [FD.OVMF_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 0x010000|0x010000
80 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize
81
82 0x020000|0x0E0000
83 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
84 FV = PEIFV
85
86 0x100000|0xC00000
87 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
88 FV = DXEFV
89
90 ################################################################################
91
92 [FV.SECFV]
93 FvNameGuid = 763BED0D-DE9F-48F5-81F1-3E90E1B1A015
94 BlockSize = 0x1000
95 FvAlignment = 16
96 ERASE_POLARITY = 1
97 MEMORY_MAPPED = TRUE
98 STICKY_WRITE = TRUE
99 LOCK_CAP = TRUE
100 LOCK_STATUS = TRUE
101 WRITE_DISABLED_CAP = TRUE
102 WRITE_ENABLED_CAP = TRUE
103 WRITE_STATUS = TRUE
104 WRITE_LOCK_CAP = TRUE
105 WRITE_LOCK_STATUS = TRUE
106 READ_DISABLED_CAP = TRUE
107 READ_ENABLED_CAP = TRUE
108 READ_STATUS = TRUE
109 READ_LOCK_CAP = TRUE
110 READ_LOCK_STATUS = TRUE
111
112 #
113 # SEC Phase modules
114 #
115 # The code in this FV handles the initial firmware startup, and
116 # decompresses the PEI and DXE FVs which handles the rest of the boot sequence.
117 #
118 INF OvmfPkg/Sec/SecMain.inf
119
120 INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/ResetVector.inf
121
122 ################################################################################
123 [FV.PEIFV]
124 FvNameGuid = 6938079B-B503-4E3D-9D24-B28337A25806
125 BlockSize = 0x10000
126 FvAlignment = 16
127 ERASE_POLARITY = 1
128 MEMORY_MAPPED = TRUE
129 STICKY_WRITE = TRUE
130 LOCK_CAP = TRUE
131 LOCK_STATUS = TRUE
132 WRITE_DISABLED_CAP = TRUE
133 WRITE_ENABLED_CAP = TRUE
134 WRITE_STATUS = TRUE
135 WRITE_LOCK_CAP = TRUE
136 WRITE_LOCK_STATUS = TRUE
137 READ_DISABLED_CAP = TRUE
138 READ_ENABLED_CAP = TRUE
139 READ_STATUS = TRUE
140 READ_LOCK_CAP = TRUE
141 READ_LOCK_STATUS = TRUE
142
143 APRIORI PEI {
144 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
145 }
146
147 #
148 # PEI Phase modules
149 #
150 INF MdeModulePkg/Core/Pei/PeiMain.inf
151 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
152 INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
153 INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
154 INF OvmfPkg/PlatformPei/PlatformPei.inf
155 INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
156 INF UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
157 !if $(SMM_REQUIRE) == TRUE
158 INF MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
159 INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
160 INF OvmfPkg/SmmAccess/SmmAccessPei.inf
161 !endif
162 INF UefiCpuPkg/CpuMpPei/CpuMpPei.inf
163
164 !if $(TPM_ENABLE) == TRUE
165 INF OvmfPkg/Tcg/TpmMmioSevDecryptPei/TpmMmioSevDecryptPei.inf
166 INF OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
167 INF SecurityPkg/Tcg/TcgPei/TcgPei.inf
168 INF SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
169 INF SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf
170 !endif
171
172 ################################################################################
173
174 [FV.DXEFV]
175 FvForceRebase = FALSE
176 FvNameGuid = 7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1
177 BlockSize = 0x10000
178 FvAlignment = 16
179 ERASE_POLARITY = 1
180 MEMORY_MAPPED = TRUE
181 STICKY_WRITE = TRUE
182 LOCK_CAP = TRUE
183 LOCK_STATUS = TRUE
184 WRITE_DISABLED_CAP = TRUE
185 WRITE_ENABLED_CAP = TRUE
186 WRITE_STATUS = TRUE
187 WRITE_LOCK_CAP = TRUE
188 WRITE_LOCK_STATUS = TRUE
189 READ_DISABLED_CAP = TRUE
190 READ_ENABLED_CAP = TRUE
191 READ_STATUS = TRUE
192 READ_LOCK_CAP = TRUE
193 READ_LOCK_STATUS = TRUE
194
195 APRIORI DXE {
196 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
197 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
198 !if $(SMM_REQUIRE) == FALSE
199 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
200 !endif
201 }
202
203 #
204 # DXE Phase modules
205 #
206 INF MdeModulePkg/Core/Dxe/DxeMain.inf
207
208 INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
209 INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
210 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
211
212 INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
213 INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
214 INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
215 INF OvmfPkg/8259InterruptControllerDxe/8259.inf
216 INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
217 INF UefiCpuPkg/CpuDxe/CpuDxe.inf
218 INF OvmfPkg/8254TimerDxe/8254Timer.inf
219 INF OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
220 INF OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
221 INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
222 INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
223 INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
224 INF MdeModulePkg/Universal/Metronome/Metronome.inf
225 INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
226
227 INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
228 INF OvmfPkg/Virtio10Dxe/Virtio10.inf
229 INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
230 INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
231 INF OvmfPkg/VirtioRngDxe/VirtioRng.inf
232 !if $(PVSCSI_ENABLE) == TRUE
233 INF OvmfPkg/PvScsiDxe/PvScsiDxe.inf
234 !endif
235 !if $(MPT_SCSI_ENABLE) == TRUE
236 INF OvmfPkg/MptScsiDxe/MptScsiDxe.inf
237 !endif
238 !if $(LSI_SCSI_ENABLE) == TRUE
239 INF OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
240 !endif
241
242 !if $(SECURE_BOOT_ENABLE) == TRUE
243 INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
244 !endif
245
246 INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
247 INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
248 INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
249 INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
250 INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
251 INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
252 INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
253 INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
254 INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
255 INF MdeModulePkg/Application/UiApp/UiApp.inf
256 INF OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf
257 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.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 !include NetworkPkg/Network.fdf.inc
305 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
306
307 #
308 # Usb Support
309 #
310 INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
311 INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
312 INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
313 INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
314 INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
315 INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
316
317 !ifdef $(CSM_ENABLE)
318 INF OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
319 INF OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
320 INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
321 !else
322 INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
323 !endif
324
325 INF OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
326 INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
327 INF OvmfPkg/PlatformDxe/Platform.inf
328 INF OvmfPkg/IoMmuDxe/IoMmuDxe.inf
329
330 !if $(SMM_REQUIRE) == TRUE
331 INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
332 INF OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
333 INF OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
334 INF MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
335 INF MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
336 INF OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
337 INF UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
338 INF MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
339 INF UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
340
341 #
342 # Variable driver stack (SMM)
343 #
344 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
345 INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
346 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
347 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
348
349 !else
350
351 #
352 # Variable driver stack (non-SMM)
353 #
354 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
355 INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
356 INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
357 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
358 !endif
359
360 #
361 # TPM support
362 #
363 !if $(TPM_ENABLE) == TRUE
364 INF SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
365 INF SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
366 INF SecurityPkg/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf
367 !if $(TPM_CONFIG_ENABLE) == TRUE
368 INF SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
369 !endif
370 !endif
371
372 !if $(LOAD_X64_ON_IA32_ENABLE) == TRUE
373 INF OvmfPkg/CompatImageLoaderDxe/CompatImageLoaderDxe.inf
374 !endif
375
376 ################################################################################
377
378 [FV.FVMAIN_COMPACT]
379 FvNameGuid = 48DB5E17-707C-472D-91CD-1613E7EF51B0
380 FvAlignment = 16
381 ERASE_POLARITY = 1
382 MEMORY_MAPPED = TRUE
383 STICKY_WRITE = TRUE
384 LOCK_CAP = TRUE
385 LOCK_STATUS = TRUE
386 WRITE_DISABLED_CAP = TRUE
387 WRITE_ENABLED_CAP = TRUE
388 WRITE_STATUS = TRUE
389 WRITE_LOCK_CAP = TRUE
390 WRITE_LOCK_STATUS = TRUE
391 READ_DISABLED_CAP = TRUE
392 READ_ENABLED_CAP = TRUE
393 READ_STATUS = TRUE
394 READ_LOCK_CAP = TRUE
395 READ_LOCK_STATUS = TRUE
396
397 FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
398 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
399 #
400 # These firmware volumes will have files placed in them uncompressed,
401 # and then both firmware volumes will be compressed in a single
402 # compression operation in order to achieve better overall compression.
403 #
404 SECTION FV_IMAGE = PEIFV
405 SECTION FV_IMAGE = DXEFV
406 }
407 }
408
409 !include FvmainCompactScratchEnd.fdf.inc
410
411 ################################################################################
412
413 [Rule.Common.SEC]
414 FILE SEC = $(NAMED_GUID) {
415 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
416 UI STRING ="$(MODULE_NAME)" Optional
417 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
418 }
419
420 [Rule.Common.PEI_CORE]
421 FILE PEI_CORE = $(NAMED_GUID) {
422 PE32 PE32 Align=Auto $(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.PEIM]
428 FILE PEIM = $(NAMED_GUID) {
429 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
430 PE32 PE32 Align=Auto $(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.DXE_CORE]
436 FILE DXE_CORE = $(NAMED_GUID) {
437 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
438 UI STRING="$(MODULE_NAME)" Optional
439 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
440 }
441
442 [Rule.Common.DXE_DRIVER]
443 FILE DRIVER = $(NAMED_GUID) {
444 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
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 RAW ACPI Optional |.acpi
449 RAW ASL Optional |.aml
450 }
451
452 [Rule.Common.DXE_RUNTIME_DRIVER]
453 FILE DRIVER = $(NAMED_GUID) {
454 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
455 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
456 UI STRING="$(MODULE_NAME)" Optional
457 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
458 }
459
460 [Rule.Common.UEFI_DRIVER]
461 FILE DRIVER = $(NAMED_GUID) {
462 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
463 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
464 UI STRING="$(MODULE_NAME)" Optional
465 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
466 }
467
468 [Rule.Common.UEFI_DRIVER.BINARY]
469 FILE DRIVER = $(NAMED_GUID) {
470 DXE_DEPEX DXE_DEPEX Optional |.depex
471 PE32 PE32 |.efi
472 UI STRING="$(MODULE_NAME)" Optional
473 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
474 }
475
476 [Rule.Common.UEFI_APPLICATION]
477 FILE APPLICATION = $(NAMED_GUID) {
478 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
479 UI STRING="$(MODULE_NAME)" Optional
480 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
481 }
482
483 [Rule.Common.UEFI_APPLICATION.BINARY]
484 FILE APPLICATION = $(NAMED_GUID) {
485 PE32 PE32 |.efi
486 UI STRING="$(MODULE_NAME)" Optional
487 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
488 }
489
490 [Rule.Common.USER_DEFINED.CSM]
491 FILE FREEFORM = $(NAMED_GUID) {
492 RAW BIN |.bin
493 }
494
495 [Rule.Common.SEC.RESET_VECTOR]
496 FILE RAW = $(NAMED_GUID) {
497 RAW BIN Align = 16 |.bin
498 }
499
500 [Rule.Common.SMM_CORE]
501 FILE SMM_CORE = $(NAMED_GUID) {
502 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
503 UI STRING="$(MODULE_NAME)" Optional
504 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
505 }
506
507 [Rule.Common.DXE_SMM_DRIVER]
508 FILE SMM = $(NAMED_GUID) {
509 SMM_DEPEX SMM_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
510 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
511 UI STRING="$(MODULE_NAME)" Optional
512 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
513 }