# PPI to discover and dispatch the DXE Foundation and components that are\r
# needed to run the DXE Foundation.\r
#\r
-# Copyright (c) 2006 - 2010, Intel Corporation. <BR>\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
+# Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>\r
+# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>\r
#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
##\r
\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = DxeIpl\r
+ MODULE_UNI_FILE = DxeIpl.uni\r
FILE_GUID = 86D70125-BAA3-4296-A62F-602BEBBB9081\r
MODULE_TYPE = PEIM\r
VERSION_STRING = 1.0\r
#\r
# The following information is for reference only and not required by the build tools.\r
#\r
-# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only)\r
+# VALID_ARCHITECTURES = IA32 X64 EBC (EBC is for build only) AARCH64 RISCV64\r
#\r
\r
[Sources]\r
DxeLoad.c\r
\r
[Sources.Ia32]\r
- X64/VirtualMemory.h ||||PcdDxeIplSwitchToLongMode\r
- X64/VirtualMemory.c ||||PcdDxeIplSwitchToLongMode\r
+ X64/VirtualMemory.h\r
+ X64/VirtualMemory.c\r
Ia32/DxeLoadFunc.c\r
- Ia32/IdtVectorAsm.asm||||PcdDxeIplSwitchToLongMode\r
- Ia32/IdtVectorAsm.S ||||PcdDxeIplSwitchToLongMode\r
+ Ia32/IdtVectorAsm.nasm\r
\r
[Sources.X64]\r
X64/VirtualMemory.h\r
X64/VirtualMemory.c\r
X64/DxeLoadFunc.c\r
\r
-[Sources.IPF]\r
- Ipf/DxeLoadFunc.c\r
-\r
[Sources.EBC]\r
Ebc/DxeLoadFunc.c\r
\r
-[Sources.ARM]\r
+[Sources.ARM, Sources.AARCH64]\r
Arm/DxeLoadFunc.c\r
\r
+[Sources.RISCV64]\r
+ RiscV64/DxeLoadFunc.c\r
+\r
[Packages]\r
MdePkg/MdePkg.dec\r
MdeModulePkg/MdeModulePkg.dec\r
\r
+[Packages.ARM, Packages.AARCH64]\r
+ ArmPkg/ArmPkg.dec\r
+\r
[LibraryClasses]\r
PcdLib\r
MemoryAllocationLib\r
PeimEntryPoint\r
DebugLib\r
DebugAgentLib\r
+ PeiServicesTablePointerLib\r
+ PerformanceLib\r
+\r
+[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
+ ArmMmuLib\r
\r
[Ppis]\r
- gEfiDxeIplPpiGuid ## PRODUCES\r
- gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_PRODUCES(Not produced on S3 boot path)\r
- gEfiPeiDecompressPpiGuid ## SOMETIMES_PRODUCES\r
- gEfiPeiReadOnlyVariable2PpiGuid ## SOMETIMES_CONSUMES\r
- gEfiPeiLoadFilePpiGuid ## CONSUMES\r
- gEfiPeiS3ResumePpiGuid ## SOMETIMES_CONSUMES(Consumed on S3 boot path)\r
- gEfiPeiRecoveryModulePpiGuid ## SOMETIMES_CONSUMES(Consumed on recovery boot path)\r
+ gEfiDxeIplPpiGuid ## PRODUCES\r
+ gEfiPeiDecompressPpiGuid ## PRODUCES\r
+ gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_PRODUCES # Not produced on S3 boot path\r
+ gEfiPeiReadOnlyVariable2PpiGuid ## SOMETIMES_CONSUMES\r
+ gEfiPeiLoadFilePpiGuid ## SOMETIMES_CONSUMES\r
+ gEfiPeiS3Resume2PpiGuid ## SOMETIMES_CONSUMES # Consumed on S3 boot path\r
+ gEfiPeiRecoveryModulePpiGuid ## SOMETIMES_CONSUMES # Consumed on recovery boot path\r
+ ## SOMETIMES_CONSUMES\r
+ ## UNDEFINED # HOB\r
+ gEfiVectorHandoffInfoPpiGuid\r
+ gEfiPeiMemoryDiscoveredPpiGuid ## SOMETIMES_CONSUMES\r
+ gEdkiiPeiBootInCapsuleOnDiskModePpiGuid ## SOMETIMES_CONSUMES\r
+ gEdkiiPeiCapsuleOnDiskPpiGuid ## SOMETIMES_CONSUMES # Consumed on firmware update boot path\r
\r
[Guids]\r
- gEfiMemoryTypeInformationGuid ## SOMETIMES_CONSUMES ## Variable:L"MemoryTypeInformation"\r
- gEfiMemoryTypeInformationGuid ## SOMETIMES_PRODUCES ## HOB\r
+ ## SOMETIMES_CONSUMES ## Variable:L"MemoryTypeInformation"\r
+ ## SOMETIMES_PRODUCES ## HOB\r
+ gEfiMemoryTypeInformationGuid\r
\r
[FeaturePcd.IA32]\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES\r
+\r
+[FeaturePcd.X64]\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables ## CONSUMES\r
\r
[FeaturePcd]\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress ## CONSUMES\r
+\r
+[Pcd.IA32,Pcd.X64]\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask ## CONSUMES\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdNullPointerDetectionPropertyMask ## CONSUMES\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPropertyMask ## CONSUMES\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdCpuStackGuard ## CONSUMES\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdUse5LevelPageTable ## SOMETIMES_CONSUMES\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase ## CONSUMES\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize ## CONSUMES\r
+\r
+[Pcd.IA32,Pcd.X64,Pcd.ARM,Pcd.AARCH64]\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack ## SOMETIMES_CONSUMES\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy ## SOMETIMES_CONSUMES\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy ## SOMETIMES_CONSUMES\r
\r
[Depex]\r
- gEfiPeiMemoryDiscoveredPpiGuid AND gEfiPeiLoadFilePpiGuid\r
+ gEfiPeiLoadFilePpiGuid AND gEfiPeiMasterBootModePpiGuid\r
\r
#\r
# [BootMode]\r
-# S3_RESUME ## SOMETIMES_CONSUMES\r
-# RECOVERY ## SOMETIMES_CONSUMES\r
+# S3_RESUME ## SOMETIMES_CONSUMES\r
+# RECOVERY_FULL ## SOMETIMES_CONSUMES\r
#\r
#\r
# [Hob]\r
-# ##\r
-# # New Stack HoB\r
-# MEMORY_ALLOCATION ## PRODUCES\r
-# ##\r
-# # Old Stack HOB\r
-# MEMORY_ALLOCATION ## CONSUMES\r
+# MEMORY_ALLOCATION ## SOMETIMES_PRODUCES # MEMORY_ALLOCATION_MODULE for DxeCore\r
+# MEMORY_ALLOCATION ## SOMETIMES_PRODUCES # New Stack HoB\r
+# MEMORY_ALLOCATION ## SOMETIMES_PRODUCES # Old Stack HOB\r
#\r
# [Hob.IPF]\r
-# ##\r
-# # BSP Stack HOB for IPF\r
-# MEMORY_ALLOCATION ## PRODUCES\r
-#\r
+# MEMORY_ALLOCATION ## SOMETIMES_PRODUCES # MEMORY_ALLOCATION_BSP_STORE\r
#\r
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+ DxeIplExtra.uni\r