VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/OvmfPkgX64.fdf@ 85788

Last change on this file since 85788 was 85718, checked in by vboxsync, 4 years ago

Devices/EFI: Merge edk-stable202005 and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 17.4 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/Tcg2Config/Tcg2ConfigPei.inf
166INF SecurityPkg/Tcg/TcgPei/TcgPei.inf
167INF SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
168!endif
169
170################################################################################
171
172[FV.DXEFV]
173FvForceRebase = FALSE
174FvNameGuid = 7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1
175BlockSize = 0x10000
176FvAlignment = 16
177ERASE_POLARITY = 1
178MEMORY_MAPPED = TRUE
179STICKY_WRITE = TRUE
180LOCK_CAP = TRUE
181LOCK_STATUS = TRUE
182WRITE_DISABLED_CAP = TRUE
183WRITE_ENABLED_CAP = TRUE
184WRITE_STATUS = TRUE
185WRITE_LOCK_CAP = TRUE
186WRITE_LOCK_STATUS = TRUE
187READ_DISABLED_CAP = TRUE
188READ_ENABLED_CAP = TRUE
189READ_STATUS = TRUE
190READ_LOCK_CAP = TRUE
191READ_LOCK_STATUS = TRUE
192
193APRIORI DXE {
194 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
195 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
196 INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf
197!if $(SMM_REQUIRE) == FALSE
198 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
199!endif
200}
201
202#
203# DXE Phase modules
204#
205INF MdeModulePkg/Core/Dxe/DxeMain.inf
206
207INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
208INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
209INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
210
211INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
212INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
213INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
214INF OvmfPkg/8259InterruptControllerDxe/8259.inf
215INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
216INF UefiCpuPkg/CpuDxe/CpuDxe.inf
217INF OvmfPkg/8254TimerDxe/8254Timer.inf
218INF OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
219INF OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
220INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
221INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
222INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
223INF MdeModulePkg/Universal/Metronome/Metronome.inf
224INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
225
226INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
227INF OvmfPkg/Virtio10Dxe/Virtio10.inf
228!ifndef $(VBOX)
229INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
230!endif
231INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
232!ifndef $(VBOX)
233INF OvmfPkg/VirtioRngDxe/VirtioRng.inf
234INF OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
235INF OvmfPkg/XenBusDxe/XenBusDxe.inf
236INF OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
237!endif
238!if $(PVSCSI_ENABLE) == TRUE
239INF OvmfPkg/PvScsiDxe/PvScsiDxe.inf
240!endif
241!if $(MPT_SCSI_ENABLE) == TRUE
242INF OvmfPkg/MptScsiDxe/MptScsiDxe.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
286!ifdef $(VBOX)
287INF VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe.inf
288INF VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf
289INF VBoxPkg/VBoxFsDxe/VBoxHfs.inf
290INF VBoxPkg/VBoxSysTables/VBoxSysTables.inf
291INF VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
292INF VBoxPkg/VBoxApfsJmpStartDxe/VBoxApfsJmpStartDxe.inf
293INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
294!endif
295
296!ifndef $(VBOX)
297INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
298INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
299INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
300INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
301INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
302INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
303!else
304INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
305INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
306!endif
307
308INF FatPkg/EnhancedFatDxe/Fat.inf
309INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
310
311!if $(TOOL_CHAIN_TAG) != "XCODE5"
312INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
313INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
314!endif
315INF ShellPkg/Application/Shell/Shell.inf
316
317!ifndef $(VBOX)
318INF MdeModulePkg/Logo/LogoDxe.inf
319!else
320INF VBoxPkg/Logo/LogoDxe.inf
321!endif
322
323#
324# Network modules
325#
326!if $(E1000_ENABLE)
327 FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {
328 SECTION PE32 = Intel3.5/EFIX64/E3522X2.EFI
329 }
330!endif
331!include NetworkPkg/Network.fdf.inc
332 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
333
334#
335# Usb Support
336#
337INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
338INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
339INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
340INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
341INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
342INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
343
344!ifdef $(CSM_ENABLE)
345INF OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
346INF OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
347INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
348!else
349!ifndef $(VBOX)
350INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
351!endif
352!endif
353
354!ifndef $(VBOX)
355INF OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
356INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
357!endif
358INF OvmfPkg/PlatformDxe/Platform.inf
359INF OvmfPkg/IoMmuDxe/IoMmuDxe.inf
360
361!if $(SMM_REQUIRE) == TRUE
362INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
363INF OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
364INF OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
365INF MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
366INF MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
367INF OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
368INF UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
369INF MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
370INF UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
371
372#
373# Variable driver stack (SMM)
374#
375INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
376INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
377INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
378INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
379
380!else
381
382#
383# Variable driver stack (non-SMM)
384#
385INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
386INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
387INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
388INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
389!endif
390
391#
392# TPM support
393#
394!if $(TPM_ENABLE) == TRUE
395INF SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
396INF SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
397!if $(TPM_CONFIG_ENABLE) == TRUE
398INF SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
399!endif
400!endif
401
402################################################################################
403
404[FV.FVMAIN_COMPACT]
405FvNameGuid = 48DB5E17-707C-472D-91CD-1613E7EF51B0
406FvAlignment = 16
407ERASE_POLARITY = 1
408MEMORY_MAPPED = TRUE
409STICKY_WRITE = TRUE
410LOCK_CAP = TRUE
411LOCK_STATUS = TRUE
412WRITE_DISABLED_CAP = TRUE
413WRITE_ENABLED_CAP = TRUE
414WRITE_STATUS = TRUE
415WRITE_LOCK_CAP = TRUE
416WRITE_LOCK_STATUS = TRUE
417READ_DISABLED_CAP = TRUE
418READ_ENABLED_CAP = TRUE
419READ_STATUS = TRUE
420READ_LOCK_CAP = TRUE
421READ_LOCK_STATUS = TRUE
422
423FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
424 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
425 #
426 # These firmware volumes will have files placed in them uncompressed,
427 # and then both firmware volumes will be compressed in a single
428 # compression operation in order to achieve better overall compression.
429 #
430 SECTION FV_IMAGE = PEIFV
431 SECTION FV_IMAGE = DXEFV
432 }
433 }
434
435!include FvmainCompactScratchEnd.fdf.inc
436
437################################################################################
438
439[Rule.Common.SEC]
440 FILE SEC = $(NAMED_GUID) {
441 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
442 UI STRING ="$(MODULE_NAME)" Optional
443 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
444 }
445
446[Rule.Common.PEI_CORE]
447 FILE PEI_CORE = $(NAMED_GUID) {
448 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
449 UI STRING ="$(MODULE_NAME)" Optional
450 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
451 }
452
453[Rule.Common.PEIM]
454 FILE PEIM = $(NAMED_GUID) {
455 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
456 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
457 UI STRING="$(MODULE_NAME)" Optional
458 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
459 }
460
461[Rule.Common.DXE_CORE]
462 FILE DXE_CORE = $(NAMED_GUID) {
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.DXE_DRIVER]
469 FILE DRIVER = $(NAMED_GUID) {
470 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
471 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
472 UI STRING="$(MODULE_NAME)" Optional
473 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
474 RAW ACPI Optional |.acpi
475 RAW ASL Optional |.aml
476 }
477
478[Rule.Common.DXE_RUNTIME_DRIVER]
479 FILE DRIVER = $(NAMED_GUID) {
480 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
481 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
482 UI STRING="$(MODULE_NAME)" Optional
483 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
484 }
485
486[Rule.Common.UEFI_DRIVER]
487 FILE DRIVER = $(NAMED_GUID) {
488 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
489 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
490 UI STRING="$(MODULE_NAME)" Optional
491 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
492 }
493
494[Rule.Common.UEFI_DRIVER.BINARY]
495 FILE DRIVER = $(NAMED_GUID) {
496 DXE_DEPEX DXE_DEPEX Optional |.depex
497 PE32 PE32 |.efi
498 UI STRING="$(MODULE_NAME)" Optional
499 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
500 }
501
502[Rule.Common.UEFI_APPLICATION]
503 FILE APPLICATION = $(NAMED_GUID) {
504 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
505 UI STRING="$(MODULE_NAME)" Optional
506 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
507 }
508
509[Rule.Common.UEFI_APPLICATION.BINARY]
510 FILE APPLICATION = $(NAMED_GUID) {
511 PE32 PE32 |.efi
512 UI STRING="$(MODULE_NAME)" Optional
513 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
514 }
515
516[Rule.Common.USER_DEFINED.ACPITABLE]
517 FILE FREEFORM = $(NAMED_GUID) {
518 RAW ACPI |.acpi
519 RAW ASL |.aml
520 }
521
522[Rule.Common.USER_DEFINED.CSM]
523 FILE FREEFORM = $(NAMED_GUID) {
524 RAW BIN |.bin
525 }
526
527[Rule.Common.SEC.RESET_VECTOR]
528 FILE RAW = $(NAMED_GUID) {
529 RAW BIN Align = 16 |.bin
530 }
531
532[Rule.Common.SMM_CORE]
533 FILE SMM_CORE = $(NAMED_GUID) {
534 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
535 UI STRING="$(MODULE_NAME)" Optional
536 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
537 }
538
539[Rule.Common.DXE_SMM_DRIVER]
540 FILE SMM = $(NAMED_GUID) {
541 SMM_DEPEX SMM_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
542 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
543 UI STRING="$(MODULE_NAME)" Optional
544 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
545 }
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