Checking if a core if the primary/boot core used to be done with the macro IS_PRIMARY_CORE(). Some platforms exposes configuration registers to change the primary core. Replacing the macro IS_PRIMARY_CORE() by ArmPlatformIsPrimaryCore() allows some flexibility in the way to check the primary core. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> Acked-by: Ryan Harkin <ryan.harkin@linaro.org> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14344 6f19259b-4bc3-4df7-8a09-765794883524
55 lines
1.7 KiB
INI
55 lines
1.7 KiB
INI
#/* @file
|
|
# Copyright (c) 2011-2012, 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 = CTA9x4ArmVExpressLibSec
|
|
FILE_GUID = 8d25ef2c-2015-416e-b8aa-2369fecd4bda
|
|
MODULE_TYPE = BASE
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = ArmPlatformLib
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
EmbeddedPkg/EmbeddedPkg.dec
|
|
ArmPkg/ArmPkg.dec
|
|
ArmPlatformPkg/ArmPlatformPkg.dec
|
|
|
|
[LibraryClasses]
|
|
IoLib
|
|
ArmLib
|
|
ArmTrustZoneLib
|
|
PL341DmcLib
|
|
PL301AxiLib
|
|
SerialPortLib
|
|
|
|
[Sources.common]
|
|
CTA9x4.c
|
|
CTA9x4Helper.S | GCC
|
|
CTA9x4Helper.asm | RVCT
|
|
|
|
[FeaturePcd]
|
|
gEmbeddedTokenSpaceGuid.PcdCacheEnable
|
|
gArmPlatformTokenSpaceGuid.PcdNorFlashRemapping
|
|
|
|
[FixedPcd]
|
|
gArmTokenSpaceGuid.PcdTrustzoneSupport
|
|
gArmTokenSpaceGuid.PcdSystemMemoryBase
|
|
gArmTokenSpaceGuid.PcdSystemMemorySize
|
|
|
|
gArmTokenSpaceGuid.PcdL2x0ControllerBase
|
|
|
|
gArmTokenSpaceGuid.PcdArmPrimaryCoreMask
|
|
gArmTokenSpaceGuid.PcdArmPrimaryCore
|