The size of this memory is controlled by a PCD. The Global Variable in this regsion are defined by their offset. This memory region can be use to store the PEI Services Table Pointer. Update the PeiServicesTablePointerLib to use this region instead of PcdPeiServicePtrAddr. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11803 6f19259b-4bc3-4df7-8a09-765794883524
47 lines
1.6 KiB
INI
47 lines
1.6 KiB
INI
## @file
|
|
# Instance of PEI Services Table Pointer Library using global variable for the table pointer.
|
|
#
|
|
# PEI Services Table Pointer Library implementation that retrieves a pointer to the
|
|
# PEI Services Table from a global variable. Not available to modules that execute from
|
|
# read-only memory.
|
|
#
|
|
# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
|
|
#
|
|
# This program and the accompanying materials
|
|
# 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.
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
#
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = PeiServicesTablePointerLib
|
|
FILE_GUID = 1c747f6b-0a58-49ae-8ea3-0327a4fa10e3
|
|
MODULE_TYPE = PEIM
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = PeiServicesTablePointerLib|PEIM PEI_CORE SEC
|
|
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only)
|
|
#
|
|
|
|
[Sources]
|
|
PeiServicesTablePointer.c
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
ArmPlatformPkg/ArmPlatformPkg.dec
|
|
|
|
[LibraryClasses]
|
|
DebugLib
|
|
|
|
[Pcd]
|
|
gArmPlatformTokenSpaceGuid.PcdPeiServicePtrGlobalOffset
|
|
gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackBase
|
|
gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackSize
|
|
|