]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgIa32X64.fdf
OvmfPkg: Switch timer in build time for OvmfPkg
[mirror_edk2.git] / OvmfPkg / OvmfPkgIa32X64.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 0x008000|0x001000
80 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfWorkAreaBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfWorkAreaSize
81
82 0x010000|0x010000
83 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize
84
85 0x020000|0x0E0000
86 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
87 FV = PEIFV
88
89 0x100000|0xC00000
90 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
91 FV = DXEFV
92
93 ################################################################################
94
95 [FV.SECFV]
96 FvNameGuid = 763BED0D-DE9F-48F5-81F1-3E90E1B1A015
97 BlockSize = 0x1000
98 FvAlignment = 16
99 ERASE_POLARITY = 1
100 MEMORY_MAPPED = TRUE
101 STICKY_WRITE = TRUE
102 LOCK_CAP = TRUE
103 LOCK_STATUS = TRUE
104 WRITE_DISABLED_CAP = TRUE
105 WRITE_ENABLED_CAP = TRUE
106 WRITE_STATUS = TRUE
107 WRITE_LOCK_CAP = TRUE
108 WRITE_LOCK_STATUS = TRUE
109 READ_DISABLED_CAP = TRUE
110 READ_ENABLED_CAP = TRUE
111 READ_STATUS = TRUE
112 READ_LOCK_CAP = TRUE
113 READ_LOCK_STATUS = TRUE
114
115 #
116 # SEC Phase modules
117 #
118 # The code in this FV handles the initial firmware startup, and
119 # decompresses the PEI and DXE FVs which handles the rest of the boot sequence.
120 #
121 INF OvmfPkg/Sec/SecMain.inf
122
123 INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/ResetVector.inf
124
125 ################################################################################
126 [FV.PEIFV]
127 FvNameGuid = 6938079B-B503-4E3D-9D24-B28337A25806
128 BlockSize = 0x10000
129 FvAlignment = 16
130 ERASE_POLARITY = 1
131 MEMORY_MAPPED = TRUE
132 STICKY_WRITE = TRUE
133 LOCK_CAP = TRUE
134 LOCK_STATUS = TRUE
135 WRITE_DISABLED_CAP = TRUE
136 WRITE_ENABLED_CAP = TRUE
137 WRITE_STATUS = TRUE
138 WRITE_LOCK_CAP = TRUE
139 WRITE_LOCK_STATUS = TRUE
140 READ_DISABLED_CAP = TRUE
141 READ_ENABLED_CAP = TRUE
142 READ_STATUS = TRUE
143 READ_LOCK_CAP = TRUE
144 READ_LOCK_STATUS = TRUE
145
146 APRIORI PEI {
147 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
148 }
149
150 #
151 # PEI Phase modules
152 #
153 INF MdeModulePkg/Core/Pei/PeiMain.inf
154 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
155 INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
156 INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
157 INF OvmfPkg/PlatformPei/PlatformPei.inf
158 INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
159 INF UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
160 !if $(SMM_REQUIRE) == TRUE
161 INF MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
162 INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
163 INF OvmfPkg/SmmAccess/SmmAccessPei.inf
164 !endif
165 INF UefiCpuPkg/CpuMpPei/CpuMpPei.inf
166
167 !include OvmfPkg/OvmfTpmPei.fdf.inc
168
169 ################################################################################
170
171 [FV.DXEFV]
172 FvForceRebase = FALSE
173 FvNameGuid = 7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1
174 BlockSize = 0x10000
175 FvAlignment = 16
176 ERASE_POLARITY = 1
177 MEMORY_MAPPED = TRUE
178 STICKY_WRITE = TRUE
179 LOCK_CAP = TRUE
180 LOCK_STATUS = TRUE
181 WRITE_DISABLED_CAP = TRUE
182 WRITE_ENABLED_CAP = TRUE
183 WRITE_STATUS = TRUE
184 WRITE_LOCK_CAP = TRUE
185 WRITE_LOCK_STATUS = TRUE
186 READ_DISABLED_CAP = TRUE
187 READ_ENABLED_CAP = TRUE
188 READ_STATUS = TRUE
189 READ_LOCK_CAP = TRUE
190 READ_LOCK_STATUS = TRUE
191
192 APRIORI DXE {
193 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
194 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
195 INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf
196 !if $(SMM_REQUIRE) == FALSE
197 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
198 !endif
199 }
200
201 #
202 # DXE Phase modules
203 #
204 INF MdeModulePkg/Core/Dxe/DxeMain.inf
205
206 INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
207 INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
208 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
209
210 INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
211 INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
212 INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
213 INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
214 INF UefiCpuPkg/CpuDxe/CpuDxe.inf
215 !ifdef $(CSM_ENABLE)
216 INF OvmfPkg/8259InterruptControllerDxe/8259.inf
217 INF OvmfPkg/8254TimerDxe/8254Timer.inf
218 !else
219 INF OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
220 !endif
221 INF OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
222 INF OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
223 INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
224 INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
225 INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
226 INF MdeModulePkg/Universal/Metronome/Metronome.inf
227 INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
228
229 INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
230 INF OvmfPkg/Virtio10Dxe/Virtio10.inf
231 INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
232 INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
233 INF OvmfPkg/VirtioRngDxe/VirtioRng.inf
234 !if $(PVSCSI_ENABLE) == TRUE
235 INF OvmfPkg/PvScsiDxe/PvScsiDxe.inf
236 !endif
237 !if $(MPT_SCSI_ENABLE) == TRUE
238 INF OvmfPkg/MptScsiDxe/MptScsiDxe.inf
239 !endif
240 !if $(LSI_SCSI_ENABLE) == TRUE
241 INF OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
242 !endif
243
244 !if $(SECURE_BOOT_ENABLE) == TRUE
245 INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
246 !endif
247
248 INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
249 INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
250 INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
251 INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
252 INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
253 INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
254 INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
255 INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
256 INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
257 INF MdeModulePkg/Application/UiApp/UiApp.inf
258 INF OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf
259 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
260 INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
261 INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
262 INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
263 INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
264 INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
265 INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
266 INF OvmfPkg/SataControllerDxe/SataControllerDxe.inf
267 INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
268 INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
269 INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
270 INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
271 INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
272 INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
273 INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
274
275 INF OvmfPkg/SioBusDxe/SioBusDxe.inf
276 !if $(SOURCE_DEBUG_ENABLE) == FALSE
277 INF MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
278 !endif
279 INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
280
281 INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
282 INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
283
284 INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
285 INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
286 INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
287 INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
288 INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
289
290 INF FatPkg/EnhancedFatDxe/Fat.inf
291 INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
292 INF OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
293
294 !if $(TOOL_CHAIN_TAG) != "XCODE5"
295 INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
296 INF ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf
297 INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
298 !endif
299 INF ShellPkg/Application/Shell/Shell.inf
300
301 INF MdeModulePkg/Logo/LogoDxe.inf
302
303 #
304 # Network modules
305 #
306 !if $(E1000_ENABLE)
307 FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
308 SECTION PE32 = Intel3.5/EFIX64/E3522X2.EFI
309 }
310 !endif
311 !include NetworkPkg/Network.fdf.inc
312 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
313
314 #
315 # Usb Support
316 #
317 INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
318 INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
319 INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
320 INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
321 INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
322 INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
323
324 !ifdef $(CSM_ENABLE)
325 INF OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
326 INF OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
327 INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
328 !else
329 INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
330 !endif
331
332 INF OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
333 INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
334 INF OvmfPkg/PlatformDxe/Platform.inf
335 INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf
336 INF OvmfPkg/IoMmuDxe/IoMmuDxe.inf
337
338 !if $(SMM_REQUIRE) == TRUE
339 INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
340 INF OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
341 INF OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
342 INF MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
343 INF MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
344 INF OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
345 INF UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
346 INF MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
347 INF UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
348
349 #
350 # Variable driver stack (SMM)
351 #
352 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
353 INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
354 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
355 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
356
357 !else
358
359 #
360 # Variable driver stack (non-SMM)
361 #
362 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
363 INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
364 INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
365 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
366 !endif
367
368 #
369 # TPM support
370 #
371 !include OvmfPkg/OvmfTpmDxe.fdf.inc
372
373 ################################################################################
374
375 [FV.FVMAIN_COMPACT]
376 FvNameGuid = 48DB5E17-707C-472D-91CD-1613E7EF51B0
377 FvAlignment = 16
378 ERASE_POLARITY = 1
379 MEMORY_MAPPED = TRUE
380 STICKY_WRITE = TRUE
381 LOCK_CAP = TRUE
382 LOCK_STATUS = TRUE
383 WRITE_DISABLED_CAP = TRUE
384 WRITE_ENABLED_CAP = TRUE
385 WRITE_STATUS = TRUE
386 WRITE_LOCK_CAP = TRUE
387 WRITE_LOCK_STATUS = TRUE
388 READ_DISABLED_CAP = TRUE
389 READ_ENABLED_CAP = TRUE
390 READ_STATUS = TRUE
391 READ_LOCK_CAP = TRUE
392 READ_LOCK_STATUS = TRUE
393
394 FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
395 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
396 #
397 # These firmware volumes will have files placed in them uncompressed,
398 # and then both firmware volumes will be compressed in a single
399 # compression operation in order to achieve better overall compression.
400 #
401 SECTION FV_IMAGE = PEIFV
402 SECTION FV_IMAGE = DXEFV
403 }
404 }
405
406 !include FvmainCompactScratchEnd.fdf.inc
407
408 ################################################################################
409
410 [Rule.Common.SEC]
411 FILE SEC = $(NAMED_GUID) {
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 }
416
417 [Rule.Common.PEI_CORE]
418 FILE PEI_CORE = $(NAMED_GUID) {
419 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
420 UI STRING ="$(MODULE_NAME)" Optional
421 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
422 }
423
424 [Rule.Common.PEIM]
425 FILE PEIM = $(NAMED_GUID) {
426 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
427 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
428 UI STRING="$(MODULE_NAME)" Optional
429 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
430 }
431
432 [Rule.Common.DXE_CORE]
433 FILE DXE_CORE = $(NAMED_GUID) {
434 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
435 UI STRING="$(MODULE_NAME)" Optional
436 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
437 }
438
439 [Rule.Common.DXE_DRIVER]
440 FILE DRIVER = $(NAMED_GUID) {
441 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
442 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
443 UI STRING="$(MODULE_NAME)" Optional
444 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
445 RAW ACPI Optional |.acpi
446 RAW ASL Optional |.aml
447 }
448
449 [Rule.Common.DXE_RUNTIME_DRIVER]
450 FILE DRIVER = $(NAMED_GUID) {
451 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
452 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
453 UI STRING="$(MODULE_NAME)" Optional
454 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
455 }
456
457 [Rule.Common.UEFI_DRIVER]
458 FILE DRIVER = $(NAMED_GUID) {
459 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
460 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
461 UI STRING="$(MODULE_NAME)" Optional
462 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
463 }
464
465 [Rule.Common.UEFI_DRIVER.BINARY]
466 FILE DRIVER = $(NAMED_GUID) {
467 DXE_DEPEX DXE_DEPEX Optional |.depex
468 PE32 PE32 |.efi
469 UI STRING="$(MODULE_NAME)" Optional
470 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
471 }
472
473 [Rule.Common.UEFI_APPLICATION]
474 FILE APPLICATION = $(NAMED_GUID) {
475 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
476 UI STRING="$(MODULE_NAME)" Optional
477 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
478 }
479
480 [Rule.Common.UEFI_APPLICATION.BINARY]
481 FILE APPLICATION = $(NAMED_GUID) {
482 PE32 PE32 |.efi
483 UI STRING="$(MODULE_NAME)" Optional
484 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
485 }
486
487 [Rule.Common.USER_DEFINED.CSM]
488 FILE FREEFORM = $(NAMED_GUID) {
489 RAW BIN |.bin
490 }
491
492 [Rule.Common.SEC.RESET_VECTOR]
493 FILE RAW = $(NAMED_GUID) {
494 RAW BIN Align = 16 |.bin
495 }
496
497 [Rule.Common.SMM_CORE]
498 FILE SMM_CORE = $(NAMED_GUID) {
499 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
500 UI STRING="$(MODULE_NAME)" Optional
501 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
502 }
503
504 [Rule.Common.DXE_SMM_DRIVER]
505 FILE SMM = $(NAMED_GUID) {
506 SMM_DEPEX SMM_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
507 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
508 UI STRING="$(MODULE_NAME)" Optional
509 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
510 }