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