VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/UefiPayloadPkg/UefiPayloadPkg.fdf@ 86513

Last change on this file since 86513 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: 9.5 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!if $(PS2_KEYBOARD_ENABLE) == TRUE
124INF OvmfPkg/SioBusDxe/SioBusDxe.inf
125INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
126!endif
127
128#
129# Console Support
130#
131INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
132INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
133INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
134INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
135INF UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutputDxe.inf
136
137#
138# SCSI/ATA/IDE/DISK Support
139#
140INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
141INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
142INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
143INF MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
144INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
145INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
146INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
147INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
148
149INF FatPkg/EnhancedFatDxe/Fat.inf
150
151#
152# SD/eMMC Support
153#
154INF MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf
155INF MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf
156INF MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf
157
158#
159# Usb Support
160#
161INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
162INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
163INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
164INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
165INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
166INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
167
168
169#
170# Shell
171#
172!if $(SHELL_TYPE) == BUILD_SHELL
173INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
174INF ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf
175INF ShellPkg/Application/Shell/Shell.inf
176!endif
177
178!if $(SHELL_TYPE) == MIN_BIN
179!if $(ARCH) == IA32
180INF RuleOverride = BINARY USE = IA32 ShellBinPkg/MinUefiShell/MinUefiShell.inf
181!else
182INF RuleOverride = BINARY USE = X64 ShellBinPkg/MinUefiShell/MinUefiShell.inf
183!endif
184!endif
185
186!if $(SHELL_TYPE) == UEFI_BIN
187!if $(ARCH) == IA32
188INF RuleOverride = BINARY USE = IA32 ShellBinPkg/UefiShell/UefiShell.inf
189!else
190INF RuleOverride = BINARY USE = X64 ShellBinPkg/UefiShell/UefiShell.inf
191!endif
192!endif
193
194
195################################################################################
196#
197# Rules are use with the [FV] section's module INF type to define
198# how an FFS file is created for a given INF file. The following Rule are the default
199# rules for the different module type. User can add the customized rules to define the
200# content of the FFS file.
201#
202################################################################################
203
204[Rule.Common.SEC]
205 FILE SEC = $(NAMED_GUID) {
206 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi
207 }
208
209[Rule.Common.PEI_CORE]
210 FILE PEI_CORE = $(NAMED_GUID) {
211 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
212 UI STRING ="$(MODULE_NAME)" Optional
213 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
214 }
215
216[Rule.Common.PEIM]
217 FILE PEIM = $(NAMED_GUID) {
218 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
219 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi
220 UI STRING="$(MODULE_NAME)" Optional
221 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
222 }
223
224[Rule.Common.DXE_CORE]
225 FILE DXE_CORE = $(NAMED_GUID) {
226 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
227 UI STRING="$(MODULE_NAME)" Optional
228 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
229 }
230
231[Rule.Common.DXE_DRIVER]
232 FILE DRIVER = $(NAMED_GUID) {
233 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
234 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
235 UI STRING="$(MODULE_NAME)" Optional
236 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
237 }
238
239[Rule.Common.DXE_RUNTIME_DRIVER]
240 FILE DRIVER = $(NAMED_GUID) {
241 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
242 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
243 UI STRING="$(MODULE_NAME)" Optional
244 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
245 }
246
247[Rule.Common.UEFI_DRIVER]
248 FILE DRIVER = $(NAMED_GUID) {
249 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
250 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
251 UI STRING="$(MODULE_NAME)" Optional
252 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
253 }
254
255[Rule.Common.UEFI_DRIVER.BINARY]
256 FILE DRIVER = $(NAMED_GUID) {
257 DXE_DEPEX DXE_DEPEX Optional |.depex
258 PE32 PE32 |.efi
259 UI STRING="$(MODULE_NAME)" Optional
260 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
261 }
262
263[Rule.Common.UEFI_APPLICATION]
264 FILE APPLICATION = $(NAMED_GUID) {
265 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
266 UI STRING="$(MODULE_NAME)" Optional
267 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
268 }
269
270[Rule.Common.UEFI_APPLICATION.BINARY]
271 FILE APPLICATION = $(NAMED_GUID) {
272 PE32 PE32 |.efi
273 UI STRING="$(MODULE_NAME)" Optional
274 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
275 }
276
277[Rule.Common.USER_DEFINED.ACPITABLE]
278 FILE FREEFORM = $(NAMED_GUID) {
279 RAW ACPI |.acpi
280 RAW ASL |.aml
281 }
282
283[Rule.Common.USER_DEFINED.CSM]
284 FILE FREEFORM = $(NAMED_GUID) {
285 RAW BIN |.bin
286 }
287
288[Rule.Common.SEC.RESET_VECTOR]
289 FILE RAW = $(NAMED_GUID) {
290 RAW RAW |.raw
291 }
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