summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Drivers/ArmGic/ArmGicLib.inf
diff options
context:
space:
mode:
authorOlivier Martin <olivier.martin@arm.com>2015-02-16 10:22:07 +0000
committeroliviermartin <oliviermartin@Edk2>2015-02-16 10:22:07 +0000
commit8705cb380654b80fc7b4c2863b1bed521d2a9f82 (patch)
treeaab44dbc1b129a2fecc2ada73ea593b5352eaa23 /ArmPkg/Drivers/ArmGic/ArmGicLib.inf
parent919697ae6c70a9b3898b0512d8086bdc448775fc (diff)
downloadedk2-8705cb380654b80fc7b4c2863b1bed521d2a9f82.tar.gz
edk2-8705cb380654b80fc7b4c2863b1bed521d2a9f82.tar.bz2
edk2-8705cb380654b80fc7b4c2863b1bed521d2a9f82.zip
ArmPkg/ArmGic: Function to locate the current CPU GIC redistributor
CPU GIC Registributors are located next to each other in the GIC Redistributor space. The CPU GIC Redistributor is identified by its CPU affinity Aff3.Aff2.Aff1.Aff0. This function returns the base address of the GIC Redistributor of the calling CPU. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Tested-by: Ard Biesheuvel <ard@linaro.org> Reviewed-by: Ard Biesheuvel <ard@linaro.org> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16873 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Drivers/ArmGic/ArmGicLib.inf')
-rw-r--r--ArmPkg/Drivers/ArmGic/ArmGicLib.inf6
1 files changed, 5 insertions, 1 deletions
diff --git a/ArmPkg/Drivers/ArmGic/ArmGicLib.inf b/ArmPkg/Drivers/ArmGic/ArmGicLib.inf
index a0d52043d6..9f466792e9 100644
--- a/ArmPkg/Drivers/ArmGic/ArmGicLib.inf
+++ b/ArmPkg/Drivers/ArmGic/ArmGicLib.inf
@@ -1,5 +1,5 @@
#/* @file
-# Copyright (c) 2011-2014, ARM Limited. All rights reserved.
+# Copyright (c) 2011-2015, 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
@@ -42,4 +42,8 @@
[Packages]
ArmPkg/ArmPkg.dec
+ ArmPlatformPkg/ArmPlatformPkg.dec
MdePkg/MdePkg.dec
+
+[Pcd]
+ gArmPlatformTokenSpaceGuid.PcdCoreCount