VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/CloudHv/CloudHvX64.fdf@ 101291

Last change on this file since 101291 was 101291, checked in by vboxsync, 14 months ago

EFI/FirmwareNew: Make edk2-stable202308 build on all supported platforms (using gcc at least, msvc not tested yet), bugref:4643

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette