]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/ArmGic: Function to locate the current CPU GIC redistributor
authorOlivier Martin <olivier.martin@arm.com>
Mon, 16 Feb 2015 10:22:07 +0000 (10:22 +0000)
committeroliviermartin <oliviermartin@Edk2>
Mon, 16 Feb 2015 10:22:07 +0000 (10:22 +0000)
commit8705cb380654b80fc7b4c2863b1bed521d2a9f82
treeaab44dbc1b129a2fecc2ada73ea593b5352eaa23
parent919697ae6c70a9b3898b0512d8086bdc448775fc
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
ArmPkg/Drivers/ArmGic/ArmGicLib.c
ArmPkg/Drivers/ArmGic/ArmGicLib.inf
ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf