]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/OvmfPkgX64.fdf
OvmfPkg: include TcgPei module
[mirror_edk2.git] / OvmfPkg / OvmfPkgX64.fdf
CommitLineData
7b202cb0 1## @file\r
49ba9447 2# Open Virtual Machine Firmware: FDF\r
3#\r
e259ad9b 4# Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>\r
a6d594c5 5# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
49ba9447 6#\r
b26f0cf9 7# SPDX-License-Identifier: BSD-2-Clause-Patent\r
49ba9447 8#\r
7b202cb0 9##\r
49ba9447 10\r
11################################################################################\r
8184a764 12\r
8184a764 13[Defines]\r
1c50db8a
LE
14!include OvmfPkg.fdf.inc\r
15\r
16#\r
17# Build the variable store and the firmware code as one unified flash device\r
18# image.\r
19#\r
9a089978 20[FD.OVMF]\r
1c50db8a
LE
21BaseAddress = $(FW_BASE_ADDRESS)\r
22Size = $(FW_SIZE)\r
9a089978 23ErasePolarity = 1\r
1c50db8a
LE
24BlockSize = $(BLOCK_SIZE)\r
25NumBlocks = $(FW_BLOCKS)\r
9a089978 26\r
1c093f0c 27!include VarStore.fdf.inc\r
9a089978 28\r
1c50db8a 29$(VARS_SIZE)|$(FVMAIN_SIZE)\r
76d428b1 30FV = FVMAIN_COMPACT\r
31\r
1c50db8a 32$(SECFV_OFFSET)|$(SECFV_SIZE)\r
c1c2669c 33FV = SECFV\r
eaeb4507 34\r
1c50db8a
LE
35#\r
36# Build the variable store and the firmware code as separate flash device\r
37# images.\r
38#\r
39[FD.OVMF_VARS]\r
40BaseAddress = $(FW_BASE_ADDRESS)\r
41Size = $(VARS_SIZE)\r
42ErasePolarity = 1\r
43BlockSize = $(BLOCK_SIZE)\r
44NumBlocks = $(VARS_BLOCKS)\r
45\r
46!include VarStore.fdf.inc\r
47\r
48[FD.OVMF_CODE]\r
49BaseAddress = $(CODE_BASE_ADDRESS)\r
50Size = $(CODE_SIZE)\r
51ErasePolarity = 1\r
52BlockSize = $(BLOCK_SIZE)\r
53NumBlocks = $(CODE_BLOCKS)\r
54\r
550x00000000|$(FVMAIN_SIZE)\r
eaeb4507 56FV = FVMAIN_COMPACT\r
57\r
1c50db8a 58$(FVMAIN_SIZE)|$(SECFV_SIZE)\r
eaeb4507 59FV = SECFV\r
c1c2669c 60\r
49ba9447 61################################################################################\r
c1c2669c 62\r
63[FD.MEMFD]\r
9beac0d8 64BaseAddress = $(MEMFD_BASE_ADDRESS)\r
d272449d 65Size = 0xC00000\r
49ba9447 66ErasePolarity = 1\r
67BlockSize = 0x10000\r
d272449d 68NumBlocks = 0xC0\r
49ba9447 69\r
b382ede3
JJ
700x000000|0x006000\r
71gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize\r
72\r
6a7cba79
LE
730x006000|0x001000\r
74gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageSize\r
75\r
ad43bc6b
LE
760x007000|0x001000\r
77gEfiMdePkgTokenSpaceGuid.PcdGuidedExtractHandlerTableAddress|gUefiOvmfPkgTokenSpaceGuid.PcdGuidedExtractHandlerTableSize\r
78\r
d41fd8e8 790x010000|0x010000\r
7cb6b0e0
JJ
80gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize\r
81\r
b36f701d
JJ
820x020000|0x0E0000\r
83gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize\r
84FV = PEIFV\r
85\r
d272449d 860x100000|0xB00000\r
b36f701d
JJ
87gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize\r
88FV = DXEFV\r
49ba9447 89\r
90################################################################################\r
c1c2669c 91\r
92[FV.SECFV]\r
16f26de6 93FvNameGuid = 763BED0D-DE9F-48F5-81F1-3E90E1B1A015\r
c1c2669c 94BlockSize = 0x1000\r
95FvAlignment = 16\r
96ERASE_POLARITY = 1\r
97MEMORY_MAPPED = TRUE\r
98STICKY_WRITE = TRUE\r
99LOCK_CAP = TRUE\r
100LOCK_STATUS = TRUE\r
101WRITE_DISABLED_CAP = TRUE\r
102WRITE_ENABLED_CAP = TRUE\r
103WRITE_STATUS = TRUE\r
104WRITE_LOCK_CAP = TRUE\r
105WRITE_LOCK_STATUS = TRUE\r
106READ_DISABLED_CAP = TRUE\r
107READ_ENABLED_CAP = TRUE\r
108READ_STATUS = TRUE\r
109READ_LOCK_CAP = TRUE\r
110READ_LOCK_STATUS = TRUE\r
111\r
49ba9447 112#\r
c1c2669c 113# SEC Phase modules\r
49ba9447 114#\r
c1c2669c 115# The code in this FV handles the initial firmware startup, and\r
b36f701d 116# decompresses the PEI and DXE FVs which handles the rest of the boot sequence.\r
49ba9447 117#\r
c1c2669c 118INF OvmfPkg/Sec/SecMain.inf\r
119\r
497cbb53 120INF RuleOverride=RESET_VECTOR OvmfPkg/ResetVector/ResetVector.inf\r
c1c2669c 121\r
49ba9447 122################################################################################\r
b36f701d 123[FV.PEIFV]\r
16f26de6 124FvNameGuid = 6938079B-B503-4E3D-9D24-B28337A25806\r
c1c2669c 125BlockSize = 0x10000\r
126FvAlignment = 16\r
49ba9447 127ERASE_POLARITY = 1\r
128MEMORY_MAPPED = TRUE\r
129STICKY_WRITE = TRUE\r
130LOCK_CAP = TRUE\r
131LOCK_STATUS = TRUE\r
132WRITE_DISABLED_CAP = TRUE\r
133WRITE_ENABLED_CAP = TRUE\r
134WRITE_STATUS = TRUE\r
135WRITE_LOCK_CAP = TRUE\r
136WRITE_LOCK_STATUS = TRUE\r
137READ_DISABLED_CAP = TRUE\r
138READ_ENABLED_CAP = TRUE\r
139READ_STATUS = TRUE\r
140READ_LOCK_CAP = TRUE\r
141READ_LOCK_STATUS = TRUE\r
142\r
c1c2669c 143APRIORI PEI {\r
144 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf\r
145}\r
146\r
c1c2669c 147#\r
148# PEI Phase modules\r
149#\r
150INF MdeModulePkg/Core/Pei/PeiMain.inf\r
151INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf\r
a6d594c5
CS
152INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r
153INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf\r
c1c2669c 154INF OvmfPkg/PlatformPei/PlatformPei.inf\r
155INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
5fb6fc0f 156INF UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf\r
9d560947
LE
157!if $(SMM_REQUIRE) == TRUE\r
158INF OvmfPkg/SmmAccess/SmmAccessPei.inf\r
159!endif\r
f0e6a56a 160INF UefiCpuPkg/CpuMpPei/CpuMpPei.inf\r
c1c2669c 161\r
07952a96 162!if $(TPM_ENABLE) == TRUE\r
6cf1880f 163INF OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf\r
6be54f15 164INF SecurityPkg/Tcg/TcgPei/TcgPei.inf\r
4672a489 165INF SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf\r
6cf1880f
MAL
166!endif\r
167\r
c29f6c05 168################################################################################\r
169\r
170[FV.DXEFV]\r
504f1491 171FvForceRebase = FALSE\r
16f26de6 172FvNameGuid = 7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1\r
c29f6c05 173BlockSize = 0x10000\r
174FvAlignment = 16\r
175ERASE_POLARITY = 1\r
176MEMORY_MAPPED = TRUE\r
177STICKY_WRITE = TRUE\r
178LOCK_CAP = TRUE\r
179LOCK_STATUS = TRUE\r
180WRITE_DISABLED_CAP = TRUE\r
181WRITE_ENABLED_CAP = TRUE\r
182WRITE_STATUS = TRUE\r
183WRITE_LOCK_CAP = TRUE\r
184WRITE_LOCK_STATUS = TRUE\r
185READ_DISABLED_CAP = TRUE\r
186READ_ENABLED_CAP = TRUE\r
187READ_STATUS = TRUE\r
188READ_LOCK_CAP = TRUE\r
189READ_LOCK_STATUS = TRUE\r
190\r
191APRIORI DXE {\r
5c3481b0 192 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
c29f6c05 193 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
24e4ad75 194 INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf\r
46df0216 195!if $(SMM_REQUIRE) == FALSE\r
182eb456 196 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
46df0216 197!endif\r
c29f6c05 198}\r
199\r
49ba9447 200#\r
201# DXE Phase modules\r
202#\r
203INF MdeModulePkg/Core/Dxe/DxeMain.inf\r
204\r
a6d594c5
CS
205INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
206INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
49ba9447 207INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
208\r
209INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
210INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
c1c2669c 211INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
6d70ade9 212INF OvmfPkg/8259InterruptControllerDxe/8259.inf\r
afbb91aa 213INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
49ba9447 214INF UefiCpuPkg/CpuDxe/CpuDxe.inf\r
6d70ade9 215INF OvmfPkg/8254TimerDxe/8254Timer.inf\r
855743f7 216INF OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
8aba40b7 217INF OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
4014885f 218INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf\r
4ad90a84 219INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r
f90472e1 220INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
49ba9447 221INF MdeModulePkg/Universal/Metronome/Metronome.inf\r
71095b27 222INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
49ba9447 223\r
56f65ed8 224INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
8456a7da 225INF OvmfPkg/Virtio10Dxe/Virtio10.inf\r
fd51d759 226INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
37078a63 227INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
b38ec3cd 228INF OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
d9fdfd85 229INF OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
e65e8802 230INF OvmfPkg/XenBusDxe/XenBusDxe.inf\r
de671da8 231INF OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
8cee3de7 232\r
233!if $(SECURE_BOOT_ENABLE) == TRUE\r
8714a631 234 INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
8cee3de7 235!endif\r
236\r
49ba9447 237INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
238INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
239INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
240INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
241INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
242INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
243INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
ba502ef4 244INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
79c098b6
RN
245INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r
246INF MdeModulePkg/Application/UiApp/UiApp.inf\r
49ba9447 247INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
86fef5b4 248INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
49ba9447 249INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
250INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
00f18da1 251INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
49ba9447 252INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
253INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
254INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
b82802b8
RJ
255INF OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
256INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
257INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
8ae3832d 258INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
49ba9447 259INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
260INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
56af21cb 261INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
999a815e 262INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
49ba9447 263\r
56268870 264INF OvmfPkg/SioBusDxe/SioBusDxe.inf\r
46bb8120 265!if $(SOURCE_DEBUG_ENABLE) == FALSE\r
56268870 266INF MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf\r
8f5e3a12 267!endif\r
56268870 268INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
49ba9447 269\r
fb511817 270INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
271INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
272\r
49ba9447 273INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
7d2bd150 274INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
49ba9447 275INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf\r
b017b1b2 276INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
93900400 277INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
6e5e544f 278INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
49ba9447 279\r
aa47e529 280INF FatPkg/EnhancedFatDxe/Fat.inf\r
f5566d15 281INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
345a0c8f 282\r
277a3958 283!if $(TOOL_CHAIN_TAG) != "XCODE5"\r
984ba6a4 284INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf\r
277a3958 285!endif\r
ec41733c 286INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf\r
345a0c8f 287INF ShellPkg/Application/Shell/Shell.inf\r
49ba9447 288\r
ab970515 289INF MdeModulePkg/Logo/LogoDxe.inf\r
49ba9447 290\r
7416f4eb 291#\r
292# Network modules\r
293#\r
7628b0f5 294!if $(E1000_ENABLE)\r
eaf4f336 295 FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {\r
253d81c7 296 SECTION PE32 = Intel3.5/EFIX64/E3522X2.EFI\r
7416f4eb 297 }\r
7628b0f5 298!endif\r
63119504 299!include NetworkPkg/Network.fdf.inc\r
7a1f5947 300 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
7416f4eb 301\r
689562cd 302#\r
303# Usb Support\r
304#\r
305INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
306INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
47e57f4f 307INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
689562cd 308INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
309INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
310INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
311\r
4b3d663f 312!ifdef $(CSM_ENABLE)\r
3207a872
HW
313INF OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf\r
314INF OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
4b3d663f 315INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf\r
4b04d9d7
DW
316!else\r
317INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r
4b3d663f 318!endif\r
319\r
1d25ff51 320INF OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf\r
b3eab015 321INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf\r
d945a8ba 322INF OvmfPkg/PlatformDxe/Platform.inf\r
24e4ad75 323INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf\r
f9d129e6 324INF OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r
aadb1d09 325\r
c5b7c805
LE
326!if $(SMM_REQUIRE) == TRUE\r
327INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
c40e1a0c 328INF OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
92b87f1c 329INF UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
f25cb158
LE
330INF MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
331INF MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
8dbe742d 332INF UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
67d86594 333INF MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf\r
0d5d4205 334INF UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf\r
c5b7c805 335\r
1b0a8e62 336#\r
46df0216
LE
337# Variable driver stack (SMM)\r
338#\r
339INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf\r
340INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
341INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf\r
342INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
343\r
344!else\r
345\r
346#\r
347# Variable driver stack (non-SMM)\r
1b0a8e62
LE
348#\r
349INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
350INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf\r
351INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
352INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r
46df0216 353!endif\r
1b0a8e62 354\r
cf3ad972 355#\r
07952a96 356# TPM support\r
cf3ad972 357#\r
07952a96 358!if $(TPM_ENABLE) == TRUE\r
0c0a50d6 359INF SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf\r
07952a96 360!if $(TPM_CONFIG_ENABLE) == TRUE\r
31033890
SB
361INF SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf\r
362!endif\r
0c0a50d6
MAL
363!endif\r
364\r
49ba9447 365################################################################################\r
366\r
76d428b1 367[FV.FVMAIN_COMPACT]\r
16f26de6 368FvNameGuid = 48DB5E17-707C-472D-91CD-1613E7EF51B0\r
49ba9447 369FvAlignment = 16\r
370ERASE_POLARITY = 1\r
371MEMORY_MAPPED = TRUE\r
372STICKY_WRITE = TRUE\r
373LOCK_CAP = TRUE\r
374LOCK_STATUS = TRUE\r
375WRITE_DISABLED_CAP = TRUE\r
376WRITE_ENABLED_CAP = TRUE\r
377WRITE_STATUS = TRUE\r
378WRITE_LOCK_CAP = TRUE\r
379WRITE_LOCK_STATUS = TRUE\r
380READ_DISABLED_CAP = TRUE\r
381READ_ENABLED_CAP = TRUE\r
382READ_STATUS = TRUE\r
383READ_LOCK_CAP = TRUE\r
384READ_LOCK_STATUS = TRUE\r
385\r
76d428b1 386FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {\r
387 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {\r
b36f701d
JJ
388 #\r
389 # These firmware volumes will have files placed in them uncompressed,\r
390 # and then both firmware volumes will be compressed in a single\r
391 # compression operation in order to achieve better overall compression.\r
392 #\r
393 SECTION FV_IMAGE = PEIFV\r
394 SECTION FV_IMAGE = DXEFV\r
49ba9447 395 }\r
396 }\r
397\r
9beac0d8
LE
398!include DecomprScratchEnd.fdf.inc\r
399\r
49ba9447 400################################################################################\r
401\r
49ba9447 402[Rule.Common.SEC]\r
403 FILE SEC = $(NAMED_GUID) {\r
2014a81a 404 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
49ba9447 405 UI STRING ="$(MODULE_NAME)" Optional\r
406 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
407 }\r
408\r
76d428b1 409[Rule.Common.PEI_CORE]\r
410 FILE PEI_CORE = $(NAMED_GUID) {\r
55e96f9c 411 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi\r
76d428b1 412 UI STRING ="$(MODULE_NAME)" Optional\r
413 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
d40d3ba4 414 }\r
415\r
49ba9447 416[Rule.Common.PEIM]\r
417 FILE PEIM = $(NAMED_GUID) {\r
2014a81a 418 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
55e96f9c 419 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi\r
49ba9447 420 UI STRING="$(MODULE_NAME)" Optional\r
421 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
422 }\r
423\r
49ba9447 424[Rule.Common.DXE_CORE]\r
425 FILE DXE_CORE = $(NAMED_GUID) {\r
2014a81a 426 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
49ba9447 427 UI STRING="$(MODULE_NAME)" Optional\r
428 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
429 }\r
430\r
76d428b1 431[Rule.Common.DXE_DRIVER]\r
49ba9447 432 FILE DRIVER = $(NAMED_GUID) {\r
2014a81a
LG
433 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
434 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
49ba9447 435 UI STRING="$(MODULE_NAME)" Optional\r
436 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
259d8714
HW
437 RAW ACPI Optional |.acpi\r
438 RAW ASL Optional |.aml\r
49ba9447 439 }\r
440\r
76d428b1 441[Rule.Common.DXE_RUNTIME_DRIVER]\r
49ba9447 442 FILE DRIVER = $(NAMED_GUID) {\r
2014a81a
LG
443 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
444 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
49ba9447 445 UI STRING="$(MODULE_NAME)" Optional\r
446 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
447 }\r
7416f4eb 448\r
76d428b1 449[Rule.Common.UEFI_DRIVER]\r
49ba9447 450 FILE DRIVER = $(NAMED_GUID) {\r
2014a81a
LG
451 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
452 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
49ba9447 453 UI STRING="$(MODULE_NAME)" Optional\r
454 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
455 }\r
456\r
7a743a2c 457[Rule.Common.UEFI_DRIVER.BINARY]\r
3b33c6d6 458 FILE DRIVER = $(NAMED_GUID) {\r
7a743a2c 459 DXE_DEPEX DXE_DEPEX Optional |.depex\r
460 PE32 PE32 |.efi\r
461 UI STRING="$(MODULE_NAME)" Optional\r
462 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
463 }\r
8c71ec8f 464\r
49ba9447 465[Rule.Common.UEFI_APPLICATION]\r
466 FILE APPLICATION = $(NAMED_GUID) {\r
2014a81a 467 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
49ba9447 468 UI STRING="$(MODULE_NAME)" Optional\r
469 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
470 }\r
471\r
7a743a2c 472[Rule.Common.UEFI_APPLICATION.BINARY]\r
473 FILE APPLICATION = $(NAMED_GUID) {\r
474 PE32 PE32 |.efi\r
475 UI STRING="$(MODULE_NAME)" Optional\r
476 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
477 }\r
8c71ec8f 478\r
48889990 479[Rule.Common.USER_DEFINED.ACPITABLE]\r
49ba9447 480 FILE FREEFORM = $(NAMED_GUID) {\r
481 RAW ACPI |.acpi\r
482 RAW ASL |.aml\r
483 }\r
484\r
4b3d663f 485[Rule.Common.USER_DEFINED.CSM]\r
486 FILE FREEFORM = $(NAMED_GUID) {\r
487 RAW BIN |.bin\r
488 }\r
489\r
49ba9447 490[Rule.Common.SEC.RESET_VECTOR]\r
491 FILE RAW = $(NAMED_GUID) {\r
497cbb53 492 RAW BIN Align = 16 |.bin\r
49ba9447 493 }\r
f25cb158
LE
494\r
495[Rule.Common.SMM_CORE]\r
496 FILE SMM_CORE = $(NAMED_GUID) {\r
497 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
498 UI STRING="$(MODULE_NAME)" Optional\r
499 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
500 }\r
8dbe742d
LE
501\r
502[Rule.Common.DXE_SMM_DRIVER]\r
503 FILE SMM = $(NAMED_GUID) {\r
504 SMM_DEPEX SMM_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
505 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
506 UI STRING="$(MODULE_NAME)" Optional\r
507 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
508 }\r