2010-02-24 01:21:16 +01:00
|
|
|
## @file
|
2009-08-24 17:35:55 +02:00
|
|
|
# Last PEIM executed in PEI phase to load DXE Core from a Firmware Volume.
|
2010-02-27 18:04:12 +01:00
|
|
|
#
|
2009-08-24 17:35:55 +02:00
|
|
|
# This module produces a special PPI named the DXE Initial Program Load (IPL)
|
|
|
|
# PPI to discover and dispatch the DXE Foundation and components that are
|
|
|
|
# needed to run the DXE Foundation.
|
|
|
|
#
|
2017-03-31 07:03:59 +02:00
|
|
|
# Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
|
2017-02-26 18:43:03 +01:00
|
|
|
# Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
|
|
|
|
#
|
2010-04-24 11:49:11 +02:00
|
|
|
# This program and the accompanying materials
|
2009-08-24 17:35:55 +02:00
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
2010-02-27 18:04:12 +01:00
|
|
|
#
|
2009-08-24 17:35:55 +02:00
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
2010-02-27 18:04:12 +01:00
|
|
|
#
|
2010-02-24 01:21:16 +01:00
|
|
|
##
|
2009-08-24 17:35:55 +02:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = DxeIpl
|
2014-08-28 08:34:06 +02:00
|
|
|
MODULE_UNI_FILE = DxeIpl.uni
|
2009-08-24 17:35:55 +02:00
|
|
|
FILE_GUID = 86D70125-BAA3-4296-A62F-602BEBBB9081
|
|
|
|
MODULE_TYPE = PEIM
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
|
|
|
|
ENTRY_POINT = PeimInitializeDxeIpl
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
2013-08-07 13:28:15 +02:00
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only) AARCH64
|
2009-08-24 17:35:55 +02:00
|
|
|
#
|
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[Sources]
|
2009-08-24 17:35:55 +02:00
|
|
|
DxeIpl.h
|
|
|
|
DxeLoad.c
|
|
|
|
|
|
|
|
[Sources.Ia32]
|
2017-03-31 07:03:59 +02:00
|
|
|
X64/VirtualMemory.h
|
|
|
|
X64/VirtualMemory.c
|
2009-08-24 17:35:55 +02:00
|
|
|
Ia32/DxeLoadFunc.c
|
2017-03-31 07:03:59 +02:00
|
|
|
Ia32/IdtVectorAsm.nasm
|
|
|
|
Ia32/IdtVectorAsm.asm
|
|
|
|
Ia32/IdtVectorAsm.S
|
2009-08-24 17:35:55 +02:00
|
|
|
|
|
|
|
[Sources.X64]
|
|
|
|
X64/VirtualMemory.h
|
|
|
|
X64/VirtualMemory.c
|
2011-07-14 04:31:02 +02:00
|
|
|
X64/DxeLoadFunc.c
|
2009-08-24 17:35:55 +02:00
|
|
|
|
|
|
|
[Sources.IPF]
|
|
|
|
Ipf/DxeLoadFunc.c
|
|
|
|
|
|
|
|
[Sources.EBC]
|
|
|
|
Ebc/DxeLoadFunc.c
|
|
|
|
|
2013-08-07 13:28:15 +02:00
|
|
|
[Sources.ARM, Sources.AARCH64]
|
2009-08-24 17:35:55 +02:00
|
|
|
Arm/DxeLoadFunc.c
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
|
2015-10-08 20:52:25 +02:00
|
|
|
[Packages.ARM, Packages.AARCH64]
|
|
|
|
ArmPkg/ArmPkg.dec
|
|
|
|
|
2009-08-24 17:35:55 +02:00
|
|
|
[LibraryClasses]
|
|
|
|
PcdLib
|
|
|
|
MemoryAllocationLib
|
|
|
|
BaseMemoryLib
|
|
|
|
ExtractGuidedSectionLib
|
|
|
|
UefiDecompressLib
|
|
|
|
ReportStatusCodeLib
|
|
|
|
PeiServicesLib
|
|
|
|
HobLib
|
|
|
|
BaseLib
|
|
|
|
PeimEntryPoint
|
|
|
|
DebugLib
|
2010-02-27 18:04:12 +01:00
|
|
|
DebugAgentLib
|
2011-10-27 07:26:02 +02:00
|
|
|
PeiServicesTablePointerLib
|
2009-08-24 17:35:55 +02:00
|
|
|
|
2015-10-08 20:52:25 +02:00
|
|
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
2016-06-16 11:51:10 +02:00
|
|
|
ArmMmuLib
|
2015-10-08 20:52:25 +02:00
|
|
|
|
2009-08-24 17:35:55 +02:00
|
|
|
[Ppis]
|
|
|
|
gEfiDxeIplPpiGuid ## PRODUCES
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiPeiDecompressPpiGuid ## PRODUCES
|
|
|
|
gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_PRODUCES # Not produced on S3 boot path
|
2009-08-24 17:35:55 +02:00
|
|
|
gEfiPeiReadOnlyVariable2PpiGuid ## SOMETIMES_CONSUMES
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiPeiLoadFilePpiGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiPeiS3Resume2PpiGuid ## SOMETIMES_CONSUMES # Consumed on S3 boot path
|
|
|
|
gEfiPeiRecoveryModulePpiGuid ## SOMETIMES_CONSUMES # Consumed on recovery boot path
|
|
|
|
## SOMETIMES_CONSUMES
|
|
|
|
## UNDEFINED # HOB
|
|
|
|
gEfiVectorHandoffInfoPpiGuid
|
2015-12-08 15:42:52 +01:00
|
|
|
gEfiPeiMemoryDiscoveredPpiGuid ## SOMETIMES_CONSUMES
|
2009-08-24 17:35:55 +02:00
|
|
|
|
|
|
|
[Guids]
|
2014-08-28 08:34:06 +02:00
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"MemoryTypeInformation"
|
|
|
|
## SOMETIMES_PRODUCES ## HOB
|
|
|
|
gEfiMemoryTypeInformationGuid
|
2009-08-24 17:35:55 +02:00
|
|
|
|
|
|
|
[FeaturePcd.IA32]
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES
|
2009-08-24 17:35:55 +02:00
|
|
|
|
2011-07-14 04:31:02 +02:00
|
|
|
[FeaturePcd.X64]
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables ## CONSUMES
|
2011-07-14 04:31:02 +02:00
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[FeaturePcd]
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress ## CONSUMES
|
2009-08-24 17:35:55 +02:00
|
|
|
|
2011-09-21 05:45:35 +02:00
|
|
|
[Pcd.IA32,Pcd.X64]
|
2017-02-26 18:43:03 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask ## CONSUMES
|
2015-10-08 20:52:25 +02:00
|
|
|
|
|
|
|
[Pcd.IA32,Pcd.X64,Pcd.ARM,Pcd.AARCH64]
|
2015-08-05 14:45:21 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack ## SOMETIMES_CONSUMES
|
2011-09-21 05:45:35 +02:00
|
|
|
|
2009-08-24 17:35:55 +02:00
|
|
|
[Depex]
|
2015-12-08 15:42:52 +01:00
|
|
|
gEfiPeiLoadFilePpiGuid AND gEfiPeiMasterBootModePpiGuid
|
2009-08-24 17:35:55 +02:00
|
|
|
|
|
|
|
#
|
2010-02-27 18:04:12 +01:00
|
|
|
# [BootMode]
|
2014-08-28 08:34:06 +02:00
|
|
|
# S3_RESUME ## SOMETIMES_CONSUMES
|
|
|
|
# RECOVERY_FULL ## SOMETIMES_CONSUMES
|
2009-08-24 17:35:55 +02:00
|
|
|
#
|
2010-02-27 18:04:12 +01:00
|
|
|
#
|
2009-08-24 17:35:55 +02:00
|
|
|
# [Hob]
|
2014-08-28 08:34:06 +02:00
|
|
|
# MEMORY_ALLOCATION ## SOMETIMES_PRODUCES # MEMORY_ALLOCATION_MODULE for DxeCore
|
|
|
|
# MEMORY_ALLOCATION ## SOMETIMES_PRODUCES # New Stack HoB
|
|
|
|
# MEMORY_ALLOCATION ## SOMETIMES_PRODUCES # Old Stack HOB
|
2009-08-24 17:35:55 +02:00
|
|
|
#
|
|
|
|
# [Hob.IPF]
|
2014-08-28 08:34:06 +02:00
|
|
|
# MEMORY_ALLOCATION ## SOMETIMES_PRODUCES # MEMORY_ALLOCATION_BSP_STORE
|
2010-02-27 18:04:12 +01:00
|
|
|
#
|
2014-08-28 08:34:06 +02:00
|
|
|
|
|
|
|
[UserExtensions.TianoCore."ExtraFiles"]
|
|
|
|
DxeIplExtra.uni
|