audk/ArmPkg/Include/Library
Ard Biesheuvel 8d13298b80 ArmPkg: split off ArmGicArchLib from ArmGicLib
The current implementation of ArmGicGetSupportedArchRevision ()
that is used by all ARM platforms is entirely stateless (in order
to support being executed from flash) so it needs to interrogate
the hardware for the supported GIC revision upon each invocation.

However, this statelessness is only needed for SEC type modules;
in all other cases, we could easily determine the GIC revision once,
and store the result in a global variable.

In preparation of having separate early and normal versions, this patch
introduces the ArmGicArchLib library class and default implementation,
and moves the existing ArmGicGetSupportedArchRevision () into it.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Tested-by: Leif Lindholm <leif.lindholm@linaro.org>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18098 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-28 20:44:44 +00:00
..
ArmArchTimer.h ArmPkg: Move TimerDxe and ArmArchTimerLib to new ArmGenericTimerCounterLib 2014-09-09 16:10:18 +00:00
ArmCpuLib.h ARM Packages: Fixed line endings 2013-01-25 11:28:06 +00:00
ArmDisassemblerLib.h ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
ArmGenericTimerCounterLib.h ArmPkg: add ArmGenericTimerCounterLib interface 2014-09-09 16:04:39 +00:00
ArmGicArchLib.h ArmPkg: split off ArmGicArchLib from ArmGicLib 2015-07-28 20:44:44 +00:00
ArmGicLib.h ArmPkg: split off ArmGicArchLib from ArmGicLib 2015-07-28 20:44:44 +00:00
ArmHvcLib.h ArmPkg: Add ArmHvcLib 2014-09-10 18:46:23 +00:00
ArmLib.h ArmPkg/ArmLib.h: Add CPU Affinity definitions 2015-02-16 10:19:52 +00:00
ArmSmcLib.h ArmPkg/ArmSmcLib: Fixed SMC helper functions 2014-08-04 14:18:13 +00:00
BdsLib.h ArmPkg/BdsLib: Remove Linux loader from BdsLib 2015-07-14 14:35:20 +00:00
DefaultExceptionHandlerLib.h ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
SemihostLib.h ArmPkg/SemihostLib: Add library functions 2014-10-27 10:38:18 +00:00
UncachedMemoryAllocationLib.h ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00