]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/OvmfPkgIa32X64.fdf
BaseTools:Add extra debugging message
[mirror_edk2.git] / OvmfPkg / OvmfPkgIa32X64.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
689562cd 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
6cf1880f
MAL
162!if $(TPM2_ENABLE) == TRUE\r
163INF OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf\r
4672a489 164INF SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf\r
6cf1880f
MAL
165!endif\r
166\r
c29f6c05 167################################################################################\r
168\r
169[FV.DXEFV]\r
504f1491 170FvForceRebase = FALSE\r
16f26de6 171FvNameGuid = 7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1\r
c29f6c05 172BlockSize = 0x10000\r
173FvAlignment = 16\r
174ERASE_POLARITY = 1\r
175MEMORY_MAPPED = TRUE\r
176STICKY_WRITE = TRUE\r
177LOCK_CAP = TRUE\r
178LOCK_STATUS = TRUE\r
179WRITE_DISABLED_CAP = TRUE\r
180WRITE_ENABLED_CAP = TRUE\r
181WRITE_STATUS = TRUE\r
182WRITE_LOCK_CAP = TRUE\r
183WRITE_LOCK_STATUS = TRUE\r
184READ_DISABLED_CAP = TRUE\r
185READ_ENABLED_CAP = TRUE\r
186READ_STATUS = TRUE\r
187READ_LOCK_CAP = TRUE\r
188READ_LOCK_STATUS = TRUE\r
189\r
190APRIORI DXE {\r
863986b3 191 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
c29f6c05 192 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
24e4ad75 193 INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf\r
46df0216 194!if $(SMM_REQUIRE) == FALSE\r
182eb456 195 INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
46df0216 196!endif\r
c29f6c05 197}\r
198\r
49ba9447 199#\r
200# DXE Phase modules\r
201#\r
202INF MdeModulePkg/Core/Dxe/DxeMain.inf\r
203\r
a6d594c5
CS
204INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
205INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
49ba9447 206INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
207\r
208INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
209INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
c1c2669c 210INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
6d70ade9 211INF OvmfPkg/8259InterruptControllerDxe/8259.inf\r
afbb91aa 212INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
49ba9447 213INF UefiCpuPkg/CpuDxe/CpuDxe.inf\r
6d70ade9 214INF OvmfPkg/8254TimerDxe/8254Timer.inf\r
855743f7 215INF OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
8aba40b7 216INF OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
4014885f 217INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf\r
4ad90a84 218INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r
f90472e1 219INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
49ba9447 220INF MdeModulePkg/Universal/Metronome/Metronome.inf\r
712bd83b 221INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
87a1d7a8 222\r
56f65ed8 223INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
8456a7da 224INF OvmfPkg/Virtio10Dxe/Virtio10.inf\r
fd51d759 225INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
37078a63 226INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
b38ec3cd 227INF OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
d9fdfd85 228INF OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
e65e8802 229INF OvmfPkg/XenBusDxe/XenBusDxe.inf\r
de671da8 230INF OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
8cee3de7 231\r
232!if $(SECURE_BOOT_ENABLE) == TRUE\r
8714a631 233 INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
8cee3de7 234!endif\r
235\r
49ba9447 236INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
237INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
238INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
239INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
240INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
241INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
242INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
ba502ef4 243INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
79c098b6
RN
244INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r
245INF MdeModulePkg/Application/UiApp/UiApp.inf\r
49ba9447 246INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
86fef5b4 247INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
49ba9447 248INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
249INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
00f18da1 250INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
49ba9447 251INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
252INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
253INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
b82802b8
RJ
254INF OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
255INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
256INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
8ae3832d 257INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
49ba9447 258INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
259INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
56af21cb 260INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
999a815e 261INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
49ba9447 262\r
56268870 263INF OvmfPkg/SioBusDxe/SioBusDxe.inf\r
8f5e3a12 264!ifndef $(SOURCE_DEBUG_ENABLE)\r
56268870 265INF MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf\r
8f5e3a12 266!endif\r
56268870 267INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
49ba9447 268\r
fb511817 269INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
270INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
271\r
49ba9447 272INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
7d2bd150 273INF OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
d40d3ba4 274INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf\r
b017b1b2 275INF MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
93900400 276INF MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
6e5e544f 277INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
49ba9447 278\r
aa47e529 279INF FatPkg/EnhancedFatDxe/Fat.inf\r
f5566d15 280INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
345a0c8f 281\r
277a3958 282!if $(TOOL_CHAIN_TAG) != "XCODE5"\r
984ba6a4 283INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf\r
277a3958 284!endif\r
345a0c8f 285INF ShellPkg/Application/Shell/Shell.inf\r
49ba9447 286\r
ab970515 287INF MdeModulePkg/Logo/LogoDxe.inf\r
7416f4eb 288\r
289#\r
290# Network modules\r
291#\r
7628b0f5 292!if $(E1000_ENABLE)\r
7416f4eb 293 FILE DRIVER = 5D695E11-9B3F-4b83-B25F-4A8D5D69BE07 {\r
253d81c7 294 SECTION PE32 = Intel3.5/EFIX64/E3522X2.EFI\r
7416f4eb 295 }\r
7628b0f5 296!endif\r
63119504 297!include NetworkPkg/Network.fdf.inc\r
7a1f5947 298 INF OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
689562cd 299\r
300#\r
301# Usb Support\r
302#\r
303INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
304INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
47e57f4f 305INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
689562cd 306INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
307INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
308INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
309\r
4b3d663f 310!ifdef $(CSM_ENABLE)\r
3207a872
HW
311INF OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf\r
312INF OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
4b3d663f 313INF RuleOverride=CSM OvmfPkg/Csm/Csm16/Csm16.inf\r
4b04d9d7
DW
314!else\r
315INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r
4b3d663f 316!endif\r
317\r
1d25ff51 318INF OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf\r
b3eab015 319INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf\r
d945a8ba 320INF OvmfPkg/PlatformDxe/Platform.inf\r
24e4ad75 321INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf\r
f9d129e6 322INF OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r
aadb1d09 323\r
c5b7c805
LE
324!if $(SMM_REQUIRE) == TRUE\r
325INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
c40e1a0c 326INF OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
92b87f1c 327INF UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
f25cb158
LE
328INF MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
329INF MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
8dbe742d 330INF UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
67d86594 331INF MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf\r
0d5d4205 332INF UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf\r
c5b7c805 333\r
1b0a8e62 334#\r
46df0216
LE
335# Variable driver stack (SMM)\r
336#\r
337INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf\r
338INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
339INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf\r
340INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
341\r
342!else\r
343\r
344#\r
345# Variable driver stack (non-SMM)\r
1b0a8e62
LE
346#\r
347INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
348INF OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf\r
349INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
350INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r
46df0216 351!endif\r
1b0a8e62 352\r
0c0a50d6
MAL
353!if $(TPM2_ENABLE) == TRUE\r
354INF SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf\r
31033890
SB
355!if $(TPM2_CONFIG_ENABLE) == TRUE\r
356INF SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf\r
357!endif\r
0c0a50d6
MAL
358!endif\r
359\r
49ba9447 360################################################################################\r
361\r
76d428b1 362[FV.FVMAIN_COMPACT]\r
16f26de6 363FvNameGuid = 48DB5E17-707C-472D-91CD-1613E7EF51B0\r
49ba9447 364FvAlignment = 16\r
365ERASE_POLARITY = 1\r
366MEMORY_MAPPED = TRUE\r
367STICKY_WRITE = TRUE\r
368LOCK_CAP = TRUE\r
369LOCK_STATUS = TRUE\r
370WRITE_DISABLED_CAP = TRUE\r
371WRITE_ENABLED_CAP = TRUE\r
372WRITE_STATUS = TRUE\r
373WRITE_LOCK_CAP = TRUE\r
374WRITE_LOCK_STATUS = TRUE\r
375READ_DISABLED_CAP = TRUE\r
376READ_ENABLED_CAP = TRUE\r
377READ_STATUS = TRUE\r
378READ_LOCK_CAP = TRUE\r
379READ_LOCK_STATUS = TRUE\r
380\r
76d428b1 381FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {\r
eaf4f336 382 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {\r
b36f701d
JJ
383 #\r
384 # These firmware volumes will have files placed in them uncompressed,\r
385 # and then both firmware volumes will be compressed in a single\r
386 # compression operation in order to achieve better overall compression.\r
387 #\r
388 SECTION FV_IMAGE = PEIFV\r
389 SECTION FV_IMAGE = DXEFV\r
eaf4f336 390 }\r
391 }\r
392\r
9beac0d8
LE
393!include DecomprScratchEnd.fdf.inc\r
394\r
49ba9447 395################################################################################\r
396\r
49ba9447 397[Rule.Common.SEC]\r
398 FILE SEC = $(NAMED_GUID) {\r
2014a81a 399 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
49ba9447 400 UI STRING ="$(MODULE_NAME)" Optional\r
401 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
402 }\r
403\r
76d428b1 404[Rule.Common.PEI_CORE]\r
405 FILE PEI_CORE = $(NAMED_GUID) {\r
55e96f9c 406 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi\r
76d428b1 407 UI STRING ="$(MODULE_NAME)" Optional\r
408 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
d40d3ba4 409 }\r
410\r
49ba9447 411[Rule.Common.PEIM]\r
412 FILE PEIM = $(NAMED_GUID) {\r
2014a81a 413 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
55e96f9c 414 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi\r
49ba9447 415 UI STRING="$(MODULE_NAME)" Optional\r
416 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
417 }\r
418\r
49ba9447 419[Rule.Common.DXE_CORE]\r
420 FILE DXE_CORE = $(NAMED_GUID) {\r
2014a81a 421 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
49ba9447 422 UI STRING="$(MODULE_NAME)" Optional\r
423 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
424 }\r
425\r
76d428b1 426[Rule.Common.DXE_DRIVER]\r
49ba9447 427 FILE DRIVER = $(NAMED_GUID) {\r
2014a81a
LG
428 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
429 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
49ba9447 430 UI STRING="$(MODULE_NAME)" Optional\r
431 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
259d8714
HW
432 RAW ACPI Optional |.acpi\r
433 RAW ASL Optional |.aml\r
49ba9447 434 }\r
435\r
76d428b1 436[Rule.Common.DXE_RUNTIME_DRIVER]\r
49ba9447 437 FILE DRIVER = $(NAMED_GUID) {\r
2014a81a
LG
438 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
439 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
49ba9447 440 UI STRING="$(MODULE_NAME)" Optional\r
441 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
442 }\r
443\r
76d428b1 444[Rule.Common.UEFI_DRIVER]\r
49ba9447 445 FILE DRIVER = $(NAMED_GUID) {\r
2014a81a
LG
446 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
447 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
49ba9447 448 UI STRING="$(MODULE_NAME)" Optional\r
449 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
450 }\r
451\r
7a743a2c 452[Rule.Common.UEFI_DRIVER.BINARY]\r
3b33c6d6 453 FILE DRIVER = $(NAMED_GUID) {\r
7a743a2c 454 DXE_DEPEX DXE_DEPEX Optional |.depex\r
455 PE32 PE32 |.efi\r
456 UI STRING="$(MODULE_NAME)" Optional\r
457 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
458 }\r
8c71ec8f 459\r
49ba9447 460[Rule.Common.UEFI_APPLICATION]\r
461 FILE APPLICATION = $(NAMED_GUID) {\r
2014a81a 462 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
49ba9447 463 UI STRING="$(MODULE_NAME)" Optional\r
464 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
465 }\r
466\r
7a743a2c 467[Rule.Common.UEFI_APPLICATION.BINARY]\r
468 FILE APPLICATION = $(NAMED_GUID) {\r
469 PE32 PE32 |.efi\r
470 UI STRING="$(MODULE_NAME)" Optional\r
471 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
472 }\r
8c71ec8f 473\r
48889990 474[Rule.Common.USER_DEFINED.ACPITABLE]\r
49ba9447 475 FILE FREEFORM = $(NAMED_GUID) {\r
d40d3ba4 476 RAW ACPI |.acpi\r
477 RAW ASL |.aml\r
49ba9447 478 }\r
479\r
4b3d663f 480[Rule.Common.USER_DEFINED.CSM]\r
481 FILE FREEFORM = $(NAMED_GUID) {\r
482 RAW BIN |.bin\r
483 }\r
484\r
7416f4eb 485[Rule.Common.SEC.RESET_VECTOR]\r
486 FILE RAW = $(NAMED_GUID) {\r
497cbb53 487 RAW BIN Align = 16 |.bin\r
7416f4eb 488 }\r
f25cb158
LE
489\r
490[Rule.Common.SMM_CORE]\r
491 FILE SMM_CORE = $(NAMED_GUID) {\r
492 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
493 UI STRING="$(MODULE_NAME)" Optional\r
494 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
495 }\r
8dbe742d
LE
496\r
497[Rule.Common.DXE_SMM_DRIVER]\r
498 FILE SMM = $(NAMED_GUID) {\r
499 SMM_DEPEX SMM_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
500 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
501 UI STRING="$(MODULE_NAME)" Optional\r
502 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
503 }\r