In the previous version, every cores had the same stack size. To avoid to waste memory with secondary core stacks, the primary core stack size is now different from the secondary cores stack size. These are the Stack PCDs and their default values: gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecPrimaryStackSize|0x10000 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecSecondaryStackSize|0x1000 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x1000 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x10000 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize|0x1000 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12415 6f19259b-4bc3-4df7-8a09-765794883524
70 lines
2.0 KiB
INI
70 lines
2.0 KiB
INI
#/** @file
|
|
# Pre PeiCore - Hand-off to PEI Core in Normal World
|
|
#
|
|
# Copyright (c) 2011, ARM Limited. All rights reserved.
|
|
#
|
|
# 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 = ArmPlatformPrePeiCore
|
|
FILE_GUID = 469fc080-aec1-11df-927c-0002a5d5c51b
|
|
MODULE_TYPE = SEC
|
|
VERSION_STRING = 1.0
|
|
|
|
[Sources.ARM]
|
|
PrePeiCoreEntryPoint.asm | RVCT
|
|
PrePeiCoreEntryPoint.S | GCC
|
|
PrePeiCore.c
|
|
MainUniCore.c
|
|
SwitchStack.asm | RVCT
|
|
SwitchStack.S | GCC
|
|
Exception.asm | RVCT
|
|
Exception.S | GCC
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
ArmPkg/ArmPkg.dec
|
|
ArmPlatformPkg/ArmPlatformPkg.dec
|
|
|
|
[LibraryClasses]
|
|
ArmLib
|
|
ArmPlatformLib
|
|
BaseLib
|
|
DebugLib
|
|
DebugAgentLib
|
|
IoLib
|
|
PrintLib
|
|
SerialPortLib
|
|
|
|
[Ppis]
|
|
gEfiTemporaryRamSupportPpiGuid
|
|
|
|
[FeaturePcd]
|
|
gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores
|
|
|
|
[FixedPcd]
|
|
gArmTokenSpaceGuid.PcdNormalFvBaseAddress
|
|
gArmTokenSpaceGuid.PcdNormalFvSize
|
|
|
|
gArmTokenSpaceGuid.PcdArmPrimaryCoreMask
|
|
gArmTokenSpaceGuid.PcdArmPrimaryCore
|
|
|
|
gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase
|
|
gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize
|
|
gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize
|
|
|
|
gArmPlatformTokenSpaceGuid.PcdPeiGlobalVariableSize
|
|
|
|
gArmTokenSpaceGuid.PcdGicDistributorBase
|
|
gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase
|