VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/UefiPayloadPkg/UefiPayloadPkg.fdf@ 80721

Last change on this file since 80721 was 80721, checked in by vboxsync, 5 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • Property svn:eol-style set to native
File size: 9.4 KB
Line 
1## @file
2# Bootloader Payload Package
3#
4# Provides drivers and definitions to create uefi payload for bootloaders.
5#
6# Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR>
7# SPDX-License-Identifier: BSD-2-Clause-Patent
8#
9##
10
11################################################################################
12[FD.UefiPayload]
13BaseAddress = 0x800000|gUefiPayloadPkgTokenSpaceGuid.PcdPayloadFdMemBase
14Size = 0x410000|gUefiPayloadPkgTokenSpaceGuid.PcdPayloadFdMemSize
15ErasePolarity = 1
16BlockSize = 0x1000
17NumBlocks = 0x410
18
190x00000000|0x030000
20FV = PEIFV
21
220x00030000|0x3E0000
23FV = DXEFV
24
25################################################################################
26[FV.PEIFV]
27BlockSize = 0x1000
28FvAlignment = 16
29ERASE_POLARITY = 1
30MEMORY_MAPPED = TRUE
31STICKY_WRITE = TRUE
32LOCK_CAP = TRUE
33LOCK_STATUS = TRUE
34WRITE_DISABLED_CAP = TRUE
35WRITE_ENABLED_CAP = TRUE
36WRITE_STATUS = TRUE
37WRITE_LOCK_CAP = TRUE
38WRITE_LOCK_STATUS = TRUE
39READ_DISABLED_CAP = TRUE
40READ_ENABLED_CAP = TRUE
41READ_STATUS = TRUE
42READ_LOCK_CAP = TRUE
43READ_LOCK_STATUS = TRUE
44
45INF UefiPayloadPkg/SecCore/SecCore.inf
46
47INF MdeModulePkg/Core/Pei/PeiMain.inf
48INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
49INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
50INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
51INF UefiPayloadPkg/BlSupportPei/BlSupportPei.inf
52INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
53
54################################################################################
55
56[FV.DXEFV]
57BlockSize = 0x1000
58FvForceRebase = FALSE
59FvAlignment = 16
60ERASE_POLARITY = 1
61MEMORY_MAPPED = TRUE
62STICKY_WRITE = TRUE
63LOCK_CAP = TRUE
64LOCK_STATUS = TRUE
65WRITE_DISABLED_CAP = TRUE
66WRITE_ENABLED_CAP = TRUE
67WRITE_STATUS = TRUE
68WRITE_LOCK_CAP = TRUE
69WRITE_LOCK_STATUS = TRUE
70READ_DISABLED_CAP = TRUE
71READ_ENABLED_CAP = TRUE
72READ_STATUS = TRUE
73READ_LOCK_CAP = TRUE
74READ_LOCK_STATUS = TRUE
75
76APRIORI DXE {
77 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
78 INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
79 INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
80}
81
82#
83# DXE Phase modules
84#
85INF MdeModulePkg/Core/Dxe/DxeMain.inf
86INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
87INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
88INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
89
90INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
91INF UefiCpuPkg/CpuDxe/CpuDxe.inf
92INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
93INF MdeModulePkg/Application/UiApp/UiApp.inf
94INF PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
95INF MdeModulePkg/Universal/Metronome/Metronome.inf
96INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
97INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
98INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
99INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
100INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
101INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
102INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
103
104INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
105INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
106INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
107INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
108INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
109INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
110INF UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf
111
112INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
113#
114# PCI Support
115#
116INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
117INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
118
119#
120# ISA Support
121#
122INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
123
124#
125# Console Support
126#
127INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
128INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
129INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
130INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
131INF UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf
132
133#
134# SCSI/ATA/IDE/DISK Support
135#
136INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
137INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
138INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
139INF MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
140INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
141INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
142INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
143INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
144
145INF FatPkg/EnhancedFatDxe/Fat.inf
146
147#
148# SD/eMMC Support
149#
150INF MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf
151INF MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf
152INF MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf
153
154#
155# Usb Support
156#
157INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
158INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
159INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
160INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
161INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
162INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
163
164
165#
166# Shell
167#
168!if $(SHELL_TYPE) == BUILD_SHELL
169INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
170INF ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf
171INF ShellPkg/Application/Shell/Shell.inf
172!endif
173
174!if $(SHELL_TYPE) == MIN_BIN
175!if $(ARCH) == IA32
176INF RuleOverride = BINARY USE = IA32 ShellBinPkg/MinUefiShell/MinUefiShell.inf
177!else
178INF RuleOverride = BINARY USE = X64 ShellBinPkg/MinUefiShell/MinUefiShell.inf
179!endif
180!endif
181
182!if $(SHELL_TYPE) == UEFI_BIN
183!if $(ARCH) == IA32
184INF RuleOverride = BINARY USE = IA32 ShellBinPkg/UefiShell/UefiShell.inf
185!else
186INF RuleOverride = BINARY USE = X64 ShellBinPkg/UefiShell/UefiShell.inf
187!endif
188!endif
189
190
191################################################################################
192#
193# Rules are use with the [FV] section's module INF type to define
194# how an FFS file is created for a given INF file. The following Rule are the default
195# rules for the different module type. User can add the customized rules to define the
196# content of the FFS file.
197#
198################################################################################
199
200[Rule.Common.SEC]
201 FILE SEC = $(NAMED_GUID) {
202 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
203 }
204
205[Rule.Common.PEI_CORE]
206 FILE PEI_CORE = $(NAMED_GUID) {
207 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
208 UI STRING ="$(MODULE_NAME)" Optional
209 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
210 }
211
212[Rule.Common.PEIM]
213 FILE PEIM = $(NAMED_GUID) {
214 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
215 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
216 UI STRING="$(MODULE_NAME)" Optional
217 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
218 }
219
220[Rule.Common.DXE_CORE]
221 FILE DXE_CORE = $(NAMED_GUID) {
222 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
223 UI STRING="$(MODULE_NAME)" Optional
224 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
225 }
226
227[Rule.Common.DXE_DRIVER]
228 FILE DRIVER = $(NAMED_GUID) {
229 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
230 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
231 UI STRING="$(MODULE_NAME)" Optional
232 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
233 }
234
235[Rule.Common.DXE_RUNTIME_DRIVER]
236 FILE DRIVER = $(NAMED_GUID) {
237 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
238 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
239 UI STRING="$(MODULE_NAME)" Optional
240 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
241 }
242
243[Rule.Common.UEFI_DRIVER]
244 FILE DRIVER = $(NAMED_GUID) {
245 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
246 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
247 UI STRING="$(MODULE_NAME)" Optional
248 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
249 }
250
251[Rule.Common.UEFI_DRIVER.BINARY]
252 FILE DRIVER = $(NAMED_GUID) {
253 DXE_DEPEX DXE_DEPEX Optional |.depex
254 PE32 PE32 |.efi
255 UI STRING="$(MODULE_NAME)" Optional
256 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
257 }
258
259[Rule.Common.UEFI_APPLICATION]
260 FILE APPLICATION = $(NAMED_GUID) {
261 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
262 UI STRING="$(MODULE_NAME)" Optional
263 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
264 }
265
266[Rule.Common.UEFI_APPLICATION.BINARY]
267 FILE APPLICATION = $(NAMED_GUID) {
268 PE32 PE32 |.efi
269 UI STRING="$(MODULE_NAME)" Optional
270 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
271 }
272
273[Rule.Common.USER_DEFINED.ACPITABLE]
274 FILE FREEFORM = $(NAMED_GUID) {
275 RAW ACPI |.acpi
276 RAW ASL |.aml
277 }
278
279[Rule.Common.USER_DEFINED.CSM]
280 FILE FREEFORM = $(NAMED_GUID) {
281 RAW BIN |.bin
282 }
283
284[Rule.Common.SEC.RESET_VECTOR]
285 FILE RAW = $(NAMED_GUID) {
286 RAW RAW |.raw
287 }
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