VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/OvmfPkgIa32.fdf@ 77788

Last change on this file since 77788 was 77788, checked in by vboxsync, 6 years ago

EFI: Experimentally removed ISO9660 FS support which appears redundant for any non-experimental EFI-capable OS.

  • Property svn:eol-style set to native
File size: 18.5 KB
Line 
1## @file
2# Open Virtual Machine Firmware: FDF
3#
4# Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
5# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
6#
7# This program and the accompanying materials
8# are licensed and made available under the terms and conditions of the BSD License
9# which accompanies this distribution. The full text of the license may be found at
10# http://opensource.org/licenses/bsd-license.php
11#
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14#
15##
16
17################################################################################
18
19[Defines]
20!include OvmfPkg.fdf.inc
21
22#
23# Build the variable store and the firmware code as one unified flash device
24# image.
25#
26[FD.OVMF]
27BaseAddress = $(FW_BASE_ADDRESS)
28Size = $(FW_SIZE)
29ErasePolarity = 1
30BlockSize = $(BLOCK_SIZE)
31NumBlocks = $(FW_BLOCKS)
32
33!include VarStore.fdf.inc
34
35$(VARS_SIZE)|$(FVMAIN_SIZE)
36FV = FVMAIN_COMPACT
37
38$(SECFV_OFFSET)|$(SECFV_SIZE)
39FV = SECFV
40
41#
42# Build the variable store and the firmware code as separate flash device
43# images.
44#
45[FD.OVMF_VARS]
46BaseAddress = $(FW_BASE_ADDRESS)
47Size = $(VARS_SIZE)
48ErasePolarity = 1
49BlockSize = $(BLOCK_SIZE)
50NumBlocks = $(VARS_BLOCKS)
51
52!include VarStore.fdf.inc
53
54[FD.OVMF_CODE]
55BaseAddress = $(CODE_BASE_ADDRESS)
56Size = $(CODE_SIZE)
57ErasePolarity = 1
58BlockSize = $(BLOCK_SIZE)
59NumBlocks = $(CODE_BLOCKS)
60
610x00000000|$(FVMAIN_SIZE)
62FV = FVMAIN_COMPACT
63
64$(FVMAIN_SIZE)|$(SECFV_SIZE)
65FV = SECFV
66
67################################################################################
68
69[FD.MEMFD]
70BaseAddress = $(MEMFD_BASE_ADDRESS)
71Size = 0xB00000
72ErasePolarity = 1
73BlockSize = 0x10000
74NumBlocks = 0xB0
75
760x000000|0x006000
77gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
78
790x006000|0x001000
80gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageSize
81
820x007000|0x001000
83gEfiMdePkgTokenSpaceGuid.PcdGuidedExtractHandlerTableAddress|gUefiOvmfPkgTokenSpaceGuid.PcdGuidedExtractHandlerTableSize
84
850x010000|0x010000
86gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize
87
880x020000|0x0E0000
89gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
90FV = PEIFV
91
920x100000|0xA00000
93gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
94FV = DXEFV
95
96################################################################################
97
98[FV.SECFV]
99FvNameGuid = 763BED0D-DE9F-48F5-81F1-3E90E1B1A015
100BlockSize = 0x1000
101FvAlignment = 16
102ERASE_POLARITY = 1
103MEMORY_MAPPED = TRUE
104STICKY_WRITE = TRUE
105LOCK_CAP = TRUE
106LOCK_STATUS = TRUE
107WRITE_DISABLED_CAP = TRUE
108WRITE_ENABLED_CAP = TRUE
109WRITE_STATUS = TRUE
110WRITE_LOCK_CAP = TRUE
111WRITE_LOCK_STATUS = TRUE
112READ_DISABLED_CAP = TRUE
113READ_ENABLED_CAP = TRUE
114READ_STATUS = TRUE
115READ_LOCK_CAP = TRUE
116READ_LOCK_STATUS = TRUE
117
118#
119# SEC Phase modules
120#
121# The code in this FV handles the initial firmware startup, and
122# decompresses the PEI and DXE FVs which handles the rest of the boot sequence.
123#
124INF OvmfPkg/Sec/SecMain.inf
125
126INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/ResetVector.inf
127
128################################################################################
129[FV.PEIFV]
130FvNameGuid = 6938079B-B503-4E3D-9D24-B28337A25806
131BlockSize = 0x10000
132FvAlignment = 16
133ERASE_POLARITY = 1
134MEMORY_MAPPED = TRUE
135STICKY_WRITE = TRUE
136LOCK_CAP = TRUE
137LOCK_STATUS = TRUE
138WRITE_DISABLED_CAP = TRUE
139WRITE_ENABLED_CAP = TRUE
140WRITE_STATUS = TRUE
141WRITE_LOCK_CAP = TRUE
142WRITE_LOCK_STATUS = TRUE
143READ_DISABLED_CAP = TRUE
144READ_ENABLED_CAP = TRUE
145READ_STATUS = TRUE
146READ_LOCK_CAP = TRUE
147READ_LOCK_STATUS = TRUE
148
149APRIORI PEI {
150 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
151}
152
153#
154# PEI Phase modules
155#
156INF MdeModulePkg/Core/Pei/PeiMain.inf
157INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
158INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
159INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
160INF OvmfPkg/PlatformPei/PlatformPei.inf
161INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
162INF UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
163!if $(SMM_REQUIRE) == TRUE
164INF OvmfPkg/SmmAccess/SmmAccessPei.inf
165!endif
166INF UefiCpuPkg/CpuMpPei/CpuMpPei.inf
167
168################################################################################
169
170[FV.DXEFV]
171FvForceRebase = FALSE
172FvNameGuid = 7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1
173BlockSize = 0x10000
174FvAlignment = 16
175ERASE_POLARITY = 1
176MEMORY_MAPPED = TRUE
177STICKY_WRITE = TRUE
178LOCK_CAP = TRUE
179LOCK_STATUS = TRUE
180WRITE_DISABLED_CAP = TRUE
181WRITE_ENABLED_CAP = TRUE
182WRITE_STATUS = TRUE
183WRITE_LOCK_CAP = TRUE
184WRITE_LOCK_STATUS = TRUE
185READ_DISABLED_CAP = TRUE
186READ_ENABLED_CAP = TRUE
187READ_STATUS = TRUE
188READ_LOCK_CAP = TRUE
189READ_LOCK_STATUS = TRUE
190
191APRIORI DXE {
192 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
193 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
194!if $(SMM_REQUIRE) == FALSE
195 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
196!endif
197}
198
199#
200# DXE Phase modules
201#
202INF MdeModulePkg/Core/Dxe/DxeMain.inf
203
204INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
205INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
206INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
207
208INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
209INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
210INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
211INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
212INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
213INF UefiCpuPkg/CpuDxe/CpuDxe.inf
214INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
215INF OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
216INF OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
217INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
218INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
219INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
220INF MdeModulePkg/Universal/Metronome/Metronome.inf
221INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
222
223INF OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
224INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
225!ifndef $(VBOX)
226INF OvmfPkg/Virtio10Dxe/Virtio10.inf
227INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
228INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
229INF OvmfPkg/VirtioRngDxe/VirtioRng.inf
230INF OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
231INF OvmfPkg/XenBusDxe/XenBusDxe.inf
232INF OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
233!endif
234
235!if $(SECURE_BOOT_ENABLE) == TRUE
236 INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
237!endif
238
239INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
240INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
241INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
242INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
243INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
244INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
245INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
246INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
247INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
248INF MdeModulePkg/Application/UiApp/UiApp.inf
249INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
250INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
251INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
252INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
253INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
254INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
255INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
256INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
257INF OvmfPkg/SataControllerDxe/SataControllerDxe.inf
258INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
259INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
260INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
261INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
262INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
263INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
264INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
265
266!ifdef $(VBOX)
267INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
268INF PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
269INF VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe.inf
270INF VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf
271#INF VBoxPkg/VBoxFsDxe/VBoxIso9660.inf
272INF VBoxPkg/VBoxFsDxe/VBoxHfs.inf
273INF VBoxPkg/VBoxSysTables/VBoxSysTables.inf
274INF VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
275 # we need it for VBoxAppleSim
276INF IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
277!endif
278
279INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
280INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
281INF IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
282
283!ifndef $(SOURCE_DEBUG_ENABLE)
284INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
285!endif
286
287INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
288INF IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
289
290INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
291INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
292
293INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
294!ifndef $(VBOX)
295INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
296INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf
297INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
298INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
299!else
300INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
301!endif
302INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
303
304INF FatPkg/EnhancedFatDxe/Fat.inf
305
306!ifndef $(USE_OLD_SHELL)
307INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
308INF ShellPkg/Application/Shell/Shell.inf
309!else
310INF RuleOverride = BINARY EdkShellBinPkg/FullShell/FullShell.inf
311!endif
312
313FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
314!ifndef $(VBOX)
315 SECTION RAW = MdeModulePkg/Logo/Logo.bmp
316!else
317 SECTION RAW = VBoxPkg/Logo/boot_logo.bmp
318!endif
319}
320INF MdeModulePkg/Logo/LogoDxe.inf
321
322#
323# Network modules
324#
325 INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
326 INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
327 INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
328 INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
329 INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
330 INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
331 INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
332 INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
333 INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
334!if $(NETWORK_IP6_ENABLE) == TRUE
335 INF NetworkPkg/Ip6Dxe/Ip6Dxe.inf
336 INF NetworkPkg/TcpDxe/TcpDxe.inf
337 INF NetworkPkg/Udp6Dxe/Udp6Dxe.inf
338 INF NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
339 INF NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
340 INF NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
341 INF NetworkPkg/IScsiDxe/IScsiDxe.inf
342!else
343 INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
344 INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
345 INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
346!endif
347!if $(HTTP_BOOT_ENABLE) == TRUE
348 INF NetworkPkg/DnsDxe/DnsDxe.inf
349 INF NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
350 INF NetworkPkg/HttpDxe/HttpDxe.inf
351 INF NetworkPkg/HttpBootDxe/HttpBootDxe.inf
352!endif
353!if $(TLS_ENABLE) == TRUE
354 INF NetworkPkg/TlsDxe/TlsDxe.inf
355 INF NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
356!endif
357 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
358
359#
360# Usb Support
361#
362INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
363INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
364INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
365INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
366INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
367INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
368
369!ifdef $(CSM_ENABLE)
370INF IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
371INF IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
372INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf
373!endif
374
375!ifndef $(VBOX)
376INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
377INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
378!endif
379INF OvmfPkg/PlatformDxe/Platform.inf
380INF OvmfPkg/IoMmuDxe/IoMmuDxe.inf
381
382!if $(SMM_REQUIRE) == TRUE
383INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
384INF OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
385INF UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
386INF MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
387INF MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
388INF UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
389INF MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
390INF UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
391
392#
393# Variable driver stack (SMM)
394#
395INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
396INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
397INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf
398INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
399
400!else
401
402#
403# Variable driver stack (non-SMM)
404#
405INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
406INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf
407INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
408INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
409!endif
410
411################################################################################
412
413[FV.FVMAIN_COMPACT]
414FvNameGuid = 48DB5E17-707C-472D-91CD-1613E7EF51B0
415FvAlignment = 16
416ERASE_POLARITY = 1
417MEMORY_MAPPED = TRUE
418STICKY_WRITE = TRUE
419LOCK_CAP = TRUE
420LOCK_STATUS = TRUE
421WRITE_DISABLED_CAP = TRUE
422WRITE_ENABLED_CAP = TRUE
423WRITE_STATUS = TRUE
424WRITE_LOCK_CAP = TRUE
425WRITE_LOCK_STATUS = TRUE
426READ_DISABLED_CAP = TRUE
427READ_ENABLED_CAP = TRUE
428READ_STATUS = TRUE
429READ_LOCK_CAP = TRUE
430READ_LOCK_STATUS = TRUE
431
432FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
433 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
434 #
435 # These firmware volumes will have files placed in them uncompressed,
436 # and then both firmware volumes will be compressed in a single
437 # compression operation in order to achieve better overall compression.
438 #
439 SECTION FV_IMAGE = PEIFV
440 SECTION FV_IMAGE = DXEFV
441 }
442 }
443
444!include DecomprScratchEnd.fdf.inc
445
446################################################################################
447
448[Rule.Common.SEC]
449 FILE SEC = $(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.PEI_CORE]
456 FILE PEI_CORE = $(NAMED_GUID) {
457 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
458 UI STRING ="$(MODULE_NAME)" Optional
459 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
460 }
461
462[Rule.Common.PEIM]
463 FILE PEIM = $(NAMED_GUID) {
464 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
465 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
466 UI STRING="$(MODULE_NAME)" Optional
467 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
468 }
469
470[Rule.Common.DXE_CORE]
471 FILE DXE_CORE = $(NAMED_GUID) {
472 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
473 UI STRING="$(MODULE_NAME)" Optional
474 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
475 }
476
477[Rule.Common.DXE_DRIVER]
478 FILE DRIVER = $(NAMED_GUID) {
479 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
480 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
481 UI STRING="$(MODULE_NAME)" Optional
482 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
483 RAW ACPI Optional |.acpi
484 RAW ASL Optional |.aml
485 }
486
487[Rule.Common.DXE_RUNTIME_DRIVER]
488 FILE DRIVER = $(NAMED_GUID) {
489 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
490 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
491 UI STRING="$(MODULE_NAME)" Optional
492 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
493 }
494
495[Rule.Common.UEFI_DRIVER]
496 FILE DRIVER = $(NAMED_GUID) {
497 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
498 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
499 UI STRING="$(MODULE_NAME)" Optional
500 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
501 }
502
503[Rule.Common.UEFI_DRIVER.BINARY]
504 FILE DRIVER = $(NAMED_GUID) {
505 DXE_DEPEX DXE_DEPEX Optional |.depex
506 PE32 PE32 |.efi
507 UI STRING="$(MODULE_NAME)" Optional
508 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
509 }
510
511[Rule.Common.UEFI_APPLICATION]
512 FILE APPLICATION = $(NAMED_GUID) {
513 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
514 UI STRING="$(MODULE_NAME)" Optional
515 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
516 }
517
518[Rule.Common.UEFI_APPLICATION.BINARY]
519 FILE APPLICATION = $(NAMED_GUID) {
520 PE32 PE32 |.efi
521 UI STRING="$(MODULE_NAME)" Optional
522 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
523 }
524
525[Rule.Common.USER_DEFINED.ACPITABLE]
526 FILE FREEFORM = $(NAMED_GUID) {
527 RAW ACPI |.acpi
528 RAW ASL |.aml
529 }
530
531[Rule.Common.USER_DEFINED.CSM]
532 FILE FREEFORM = $(NAMED_GUID) {
533 RAW BIN |.bin
534 }
535
536[Rule.Common.SEC.RESET_VECTOR]
537 FILE RAW = $(NAMED_GUID) {
538 RAW BIN Align = 16 |.bin
539 }
540
541[Rule.Common.SMM_CORE]
542 FILE SMM_CORE = $(NAMED_GUID) {
543 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
544 UI STRING="$(MODULE_NAME)" Optional
545 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
546 }
547
548[Rule.Common.DXE_SMM_DRIVER]
549 FILE SMM = $(NAMED_GUID) {
550 SMM_DEPEX SMM_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
551 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
552 UI STRING="$(MODULE_NAME)" Optional
553 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
554 }
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