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.
|
|
|
|
#
|
2013-11-22 07:15:51 +01:00
|
|
|
# Copyright (c) 2006 - 2013, Intel Corporation. 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
|
|
|
|
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]
|
2011-03-14 09:43:59 +01:00
|
|
|
X64/VirtualMemory.h ||||gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
|
|
|
|
X64/VirtualMemory.c ||||gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
|
2009-08-24 17:35:55 +02:00
|
|
|
Ia32/DxeLoadFunc.c
|
2011-03-14 09:43:59 +01:00
|
|
|
Ia32/IdtVectorAsm.asm||||gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
|
|
|
|
Ia32/IdtVectorAsm.S ||||gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
|
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
|
|
|
|
|
|
|
|
[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
|
|
|
|
|
|
|
[Ppis]
|
|
|
|
gEfiDxeIplPpiGuid ## PRODUCES
|
|
|
|
gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_PRODUCES(Not produced on S3 boot path)
|
|
|
|
gEfiPeiDecompressPpiGuid ## SOMETIMES_PRODUCES
|
|
|
|
gEfiPeiReadOnlyVariable2PpiGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiPeiLoadFilePpiGuid ## CONSUMES
|
2010-03-01 08:11:28 +01:00
|
|
|
gEfiPeiS3Resume2PpiGuid ## SOMETIMES_CONSUMES(Consumed on S3 boot path)
|
2009-08-24 17:35:55 +02:00
|
|
|
gEfiPeiRecoveryModulePpiGuid ## SOMETIMES_CONSUMES(Consumed on recovery boot path)
|
2013-11-22 07:15:51 +01:00
|
|
|
gEfiVectorHandoffInfoPpiGuid ## SOMETIMES_CONSUMES
|
2009-08-24 17:35:55 +02:00
|
|
|
|
|
|
|
[Guids]
|
|
|
|
gEfiMemoryTypeInformationGuid ## SOMETIMES_CONSUMES ## Variable:L"MemoryTypeInformation"
|
|
|
|
gEfiMemoryTypeInformationGuid ## SOMETIMES_PRODUCES ## HOB
|
|
|
|
|
|
|
|
[FeaturePcd.IA32]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
|
|
|
|
|
2011-07-14 04:31:02 +02:00
|
|
|
[FeaturePcd.X64]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables
|
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[FeaturePcd]
|
2009-08-24 17:35:55 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress
|
|
|
|
|
2011-09-21 05:45:35 +02:00
|
|
|
[Pcd.IA32,Pcd.X64]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable
|
|
|
|
|
2009-08-24 17:35:55 +02:00
|
|
|
[Depex]
|
2011-03-14 06:55:12 +01:00
|
|
|
gEfiPeiMemoryDiscoveredPpiGuid AND gEfiPeiLoadFilePpiGuid AND gEfiPeiMasterBootModePpiGuid
|
2009-08-24 17:35:55 +02:00
|
|
|
|
|
|
|
#
|
2010-02-27 18:04:12 +01:00
|
|
|
# [BootMode]
|
2009-08-24 17:35:55 +02:00
|
|
|
# S3_RESUME ## SOMETIMES_CONSUMES
|
|
|
|
# RECOVERY ## SOMETIMES_CONSUMES
|
|
|
|
#
|
2010-02-27 18:04:12 +01:00
|
|
|
#
|
2009-08-24 17:35:55 +02:00
|
|
|
# [Hob]
|
|
|
|
# ##
|
|
|
|
# # New Stack HoB
|
|
|
|
# MEMORY_ALLOCATION ## PRODUCES
|
|
|
|
# ##
|
|
|
|
# # Old Stack HOB
|
|
|
|
# MEMORY_ALLOCATION ## CONSUMES
|
|
|
|
#
|
|
|
|
# [Hob.IPF]
|
|
|
|
# ##
|
|
|
|
# # BSP Stack HOB for IPF
|
|
|
|
# MEMORY_ALLOCATION ## PRODUCES
|
|
|
|
#
|
2010-02-27 18:04:12 +01:00
|
|
|
#
|