VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/OvmfPkgIa32X64.fdf@ 99286

Last change on this file since 99286 was 89983, checked in by vboxsync, 3 years ago

Devices/EFI: Merge edk-stable202105 and openssl 1.1.1j and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 17.0 KB
Line 
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]
21BaseAddress = $(FW_BASE_ADDRESS)
22Size = $(FW_SIZE)
23ErasePolarity = 1
24BlockSize = $(BLOCK_SIZE)
25NumBlocks = $(FW_BLOCKS)
26
27!include VarStore.fdf.inc
28
29$(VARS_SIZE)|$(FVMAIN_SIZE)
30FV = FVMAIN_COMPACT
31
32$(SECFV_OFFSET)|$(SECFV_SIZE)
33FV = SECFV
34
35#
36# Build the variable store and the firmware code as separate flash device
37# images.
38#
39[FD.OVMF_VARS]
40BaseAddress = $(FW_BASE_ADDRESS)
41Size = $(VARS_SIZE)
42ErasePolarity = 1
43BlockSize = $(BLOCK_SIZE)
44NumBlocks = $(VARS_BLOCKS)
45
46!include VarStore.fdf.inc
47
48[FD.OVMF_CODE]
49BaseAddress = $(CODE_BASE_ADDRESS)
50Size = $(CODE_SIZE)
51ErasePolarity = 1
52BlockSize = $(BLOCK_SIZE)
53NumBlocks = $(CODE_BLOCKS)
54
550x00000000|$(FVMAIN_SIZE)
56FV = FVMAIN_COMPACT
57
58$(FVMAIN_SIZE)|$(SECFV_SIZE)
59FV = SECFV
60
61################################################################################
62
63[FD.MEMFD]
64BaseAddress = $(MEMFD_BASE_ADDRESS)
65Size = 0xD00000
66ErasePolarity = 1
67BlockSize = 0x10000
68NumBlocks = 0xD0
69
700x000000|0x006000
71gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
72
730x006000|0x001000
74gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageSize
75
760x007000|0x001000
77gEfiMdePkgTokenSpaceGuid.PcdGuidedExtractHandlerTableAddress|gUefiOvmfPkgTokenSpaceGuid.PcdGuidedExtractHandlerTableSize
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
92[FV.SECFV]
93FvNameGuid = 763BED0D-DE9F-48F5-81F1-3E90E1B1A015
94BlockSize = 0x1000
95FvAlignment = 16
96ERASE_POLARITY = 1
97MEMORY_MAPPED = TRUE
98STICKY_WRITE = TRUE
99LOCK_CAP = TRUE
100LOCK_STATUS = TRUE
101WRITE_DISABLED_CAP = TRUE
102WRITE_ENABLED_CAP = TRUE
103WRITE_STATUS = TRUE
104WRITE_LOCK_CAP = TRUE
105WRITE_LOCK_STATUS = TRUE
106READ_DISABLED_CAP = TRUE
107READ_ENABLED_CAP = TRUE
108READ_STATUS = TRUE
109READ_LOCK_CAP = TRUE
110READ_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#
118INF OvmfPkg/Sec/SecMain.inf
119
120INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/ResetVector.inf
121
122################################################################################
123[FV.PEIFV]
124FvNameGuid = 6938079B-B503-4E3D-9D24-B28337A25806
125BlockSize = 0x10000
126FvAlignment = 16
127ERASE_POLARITY = 1
128MEMORY_MAPPED = TRUE
129STICKY_WRITE = TRUE
130LOCK_CAP = TRUE
131LOCK_STATUS = TRUE
132WRITE_DISABLED_CAP = TRUE
133WRITE_ENABLED_CAP = TRUE
134WRITE_STATUS = TRUE
135WRITE_LOCK_CAP = TRUE
136WRITE_LOCK_STATUS = TRUE
137READ_DISABLED_CAP = TRUE
138READ_ENABLED_CAP = TRUE
139READ_STATUS = TRUE
140READ_LOCK_CAP = TRUE
141READ_LOCK_STATUS = TRUE
142
143APRIORI PEI {
144 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
145}
146
147#
148# PEI Phase modules
149#
150INF MdeModulePkg/Core/Pei/PeiMain.inf
151INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
152INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
153INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
154INF OvmfPkg/PlatformPei/PlatformPei.inf
155INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
156INF UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
157!if $(SMM_REQUIRE) == TRUE
158INF MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
159INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
160INF OvmfPkg/SmmAccess/SmmAccessPei.inf
161!endif
162INF UefiCpuPkg/CpuMpPei/CpuMpPei.inf
163
164!if $(TPM_ENABLE) == TRUE
165INF OvmfPkg/Tcg/TpmMmioSevDecryptPei/TpmMmioSevDecryptPei.inf
166INF OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
167INF SecurityPkg/Tcg/TcgPei/TcgPei.inf
168INF SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
169!endif
170
171################################################################################
172
173[FV.DXEFV]
174FvForceRebase = FALSE
175FvNameGuid = 7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1
176BlockSize = 0x10000
177FvAlignment = 16
178ERASE_POLARITY = 1
179MEMORY_MAPPED = TRUE
180STICKY_WRITE = TRUE
181LOCK_CAP = TRUE
182LOCK_STATUS = TRUE
183WRITE_DISABLED_CAP = TRUE
184WRITE_ENABLED_CAP = TRUE
185WRITE_STATUS = TRUE
186WRITE_LOCK_CAP = TRUE
187WRITE_LOCK_STATUS = TRUE
188READ_DISABLED_CAP = TRUE
189READ_ENABLED_CAP = TRUE
190READ_STATUS = TRUE
191READ_LOCK_CAP = TRUE
192READ_LOCK_STATUS = TRUE
193
194APRIORI DXE {
195 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
196 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
197 INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf
198!if $(SMM_REQUIRE) == FALSE
199 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
200!endif
201}
202
203#
204# DXE Phase modules
205#
206INF MdeModulePkg/Core/Dxe/DxeMain.inf
207
208INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
209INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
210INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
211
212INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
213INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
214INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
215INF OvmfPkg/8259InterruptControllerDxe/8259.inf
216INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
217INF UefiCpuPkg/CpuDxe/CpuDxe.inf
218INF OvmfPkg/8254TimerDxe/8254Timer.inf
219INF OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
220INF OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
221INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
222INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
223INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
224INF MdeModulePkg/Universal/Metronome/Metronome.inf
225INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
226
227INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
228INF OvmfPkg/Virtio10Dxe/Virtio10.inf
229INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
230INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
231INF OvmfPkg/VirtioRngDxe/VirtioRng.inf
232INF OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
233INF OvmfPkg/XenBusDxe/XenBusDxe.inf
234INF OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
235!if $(PVSCSI_ENABLE) == TRUE
236INF OvmfPkg/PvScsiDxe/PvScsiDxe.inf
237!endif
238!if $(MPT_SCSI_ENABLE) == TRUE
239INF OvmfPkg/MptScsiDxe/MptScsiDxe.inf
240!endif
241!if $(LSI_SCSI_ENABLE) == TRUE
242INF OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
243!endif
244
245!if $(SECURE_BOOT_ENABLE) == TRUE
246 INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
247!endif
248
249INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
250INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
251INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
252INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
253INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
254INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
255INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
256INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
257INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
258INF MdeModulePkg/Application/UiApp/UiApp.inf
259INF OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf
260INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
261INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
262INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
263INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
264INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
265INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
266INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
267INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
268INF OvmfPkg/SataControllerDxe/SataControllerDxe.inf
269INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
270INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
271INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
272INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
273INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
274INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
275INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
276
277INF OvmfPkg/SioBusDxe/SioBusDxe.inf
278!if $(SOURCE_DEBUG_ENABLE) == FALSE
279INF MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
280!endif
281INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
282
283INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
284INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
285
286INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
287INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
288INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
289INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
290INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
291INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
292
293INF FatPkg/EnhancedFatDxe/Fat.inf
294INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
295INF OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
296
297!if $(TOOL_CHAIN_TAG) != "XCODE5"
298INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
299INF ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf
300INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
301!endif
302INF ShellPkg/Application/Shell/Shell.inf
303
304INF MdeModulePkg/Logo/LogoDxe.inf
305
306#
307# Network modules
308#
309!if $(E1000_ENABLE)
310 FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
311 SECTION PE32 = Intel3.5/EFIX64/E3522X2.EFI
312 }
313!endif
314!include NetworkPkg/Network.fdf.inc
315 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
316
317#
318# Usb Support
319#
320INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
321INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
322INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
323INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
324INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
325INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
326
327!ifdef $(CSM_ENABLE)
328INF OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
329INF OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
330INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
331!else
332INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
333!endif
334
335INF OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
336INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
337INF OvmfPkg/PlatformDxe/Platform.inf
338INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf
339INF OvmfPkg/IoMmuDxe/IoMmuDxe.inf
340
341!if $(SMM_REQUIRE) == TRUE
342INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
343INF OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
344INF OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
345INF MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
346INF MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
347INF OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
348INF UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
349INF MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
350INF UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
351
352#
353# Variable driver stack (SMM)
354#
355INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
356INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
357INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
358INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
359
360!else
361
362#
363# Variable driver stack (non-SMM)
364#
365INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
366INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
367INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
368INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
369!endif
370
371#
372# TPM support
373#
374!if $(TPM_ENABLE) == TRUE
375INF SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
376INF SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
377!if $(TPM_CONFIG_ENABLE) == TRUE
378INF SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
379!endif
380!endif
381
382################################################################################
383
384[FV.FVMAIN_COMPACT]
385FvNameGuid = 48DB5E17-707C-472D-91CD-1613E7EF51B0
386FvAlignment = 16
387ERASE_POLARITY = 1
388MEMORY_MAPPED = TRUE
389STICKY_WRITE = TRUE
390LOCK_CAP = TRUE
391LOCK_STATUS = TRUE
392WRITE_DISABLED_CAP = TRUE
393WRITE_ENABLED_CAP = TRUE
394WRITE_STATUS = TRUE
395WRITE_LOCK_CAP = TRUE
396WRITE_LOCK_STATUS = TRUE
397READ_DISABLED_CAP = TRUE
398READ_ENABLED_CAP = TRUE
399READ_STATUS = TRUE
400READ_LOCK_CAP = TRUE
401READ_LOCK_STATUS = TRUE
402
403FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
404 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
405 #
406 # These firmware volumes will have files placed in them uncompressed,
407 # and then both firmware volumes will be compressed in a single
408 # compression operation in order to achieve better overall compression.
409 #
410 SECTION FV_IMAGE = PEIFV
411 SECTION FV_IMAGE = DXEFV
412 }
413 }
414
415!include FvmainCompactScratchEnd.fdf.inc
416
417################################################################################
418
419[Rule.Common.SEC]
420 FILE SEC = $(NAMED_GUID) {
421 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
422 UI STRING ="$(MODULE_NAME)" Optional
423 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
424 }
425
426[Rule.Common.PEI_CORE]
427 FILE PEI_CORE = $(NAMED_GUID) {
428 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
429 UI STRING ="$(MODULE_NAME)" Optional
430 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
431 }
432
433[Rule.Common.PEIM]
434 FILE PEIM = $(NAMED_GUID) {
435 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
436 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
437 UI STRING="$(MODULE_NAME)" Optional
438 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
439 }
440
441[Rule.Common.DXE_CORE]
442 FILE DXE_CORE = $(NAMED_GUID) {
443 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
444 UI STRING="$(MODULE_NAME)" Optional
445 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
446 }
447
448[Rule.Common.DXE_DRIVER]
449 FILE DRIVER = $(NAMED_GUID) {
450 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
451 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
452 UI STRING="$(MODULE_NAME)" Optional
453 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
454 RAW ACPI Optional |.acpi
455 RAW ASL Optional |.aml
456 }
457
458[Rule.Common.DXE_RUNTIME_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 }
465
466[Rule.Common.UEFI_DRIVER]
467 FILE DRIVER = $(NAMED_GUID) {
468 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
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.UEFI_DRIVER.BINARY]
475 FILE DRIVER = $(NAMED_GUID) {
476 DXE_DEPEX DXE_DEPEX Optional |.depex
477 PE32 PE32 |.efi
478 UI STRING="$(MODULE_NAME)" Optional
479 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
480 }
481
482[Rule.Common.UEFI_APPLICATION]
483 FILE APPLICATION = $(NAMED_GUID) {
484 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
485 UI STRING="$(MODULE_NAME)" Optional
486 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
487 }
488
489[Rule.Common.UEFI_APPLICATION.BINARY]
490 FILE APPLICATION = $(NAMED_GUID) {
491 PE32 PE32 |.efi
492 UI STRING="$(MODULE_NAME)" Optional
493 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
494 }
495
496[Rule.Common.USER_DEFINED.ACPITABLE]
497 FILE FREEFORM = $(NAMED_GUID) {
498 RAW ACPI |.acpi
499 RAW ASL |.aml
500 }
501
502[Rule.Common.USER_DEFINED.CSM]
503 FILE FREEFORM = $(NAMED_GUID) {
504 RAW BIN |.bin
505 }
506
507[Rule.Common.SEC.RESET_VECTOR]
508 FILE RAW = $(NAMED_GUID) {
509 RAW BIN Align = 16 |.bin
510 }
511
512[Rule.Common.SMM_CORE]
513 FILE SMM_CORE = $(NAMED_GUID) {
514 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
515 UI STRING="$(MODULE_NAME)" Optional
516 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
517 }
518
519[Rule.Common.DXE_SMM_DRIVER]
520 FILE SMM = $(NAMED_GUID) {
521 SMM_DEPEX SMM_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
522 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
523 UI STRING="$(MODULE_NAME)" Optional
524 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
525 }
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