audk/ArmVirtPkg
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
..
Include
Library Add PCD for selecting terminal type at build time 2015-07-09 06:24:25 +00:00
PciHostBridgeDxe
PrePi ArmVirtPkg: use correct ASM decoration for non-function global symbols 2015-07-07 14:34:52 +00:00
QemuFwCfgToPcdDxe ArmVirtPkg: QemuFwCfgToPcdDxe: set SMBIOS entry point version dynamically 2015-07-26 08:02:55 +00:00
VirtFdtDxe
ArmVirt.dsc.inc ArmPkg: split off ArmGicArchLib from ArmGicLib 2015-07-28 20:44:44 +00:00
ArmVirtPkg.dec Add PCD for selecting terminal type at build time 2015-07-09 06:24:25 +00:00
ArmVirtQemu.dsc ArmVirtPkg/ArmVirtQemu: support SMBIOS 2015-07-26 08:03:00 +00:00
ArmVirtQemu.fdf ArmVirtPkg/ArmVirtQemu: support SMBIOS 2015-07-26 08:03:00 +00:00
ArmVirtXen.dsc
ArmVirtXen.fdf
Contributions.txt ArmVirtPkg: add "Contributions.txt" and "License.txt" 2015-06-08 22:00:36 +00:00
License.txt ArmVirtPkg: add "Contributions.txt" and "License.txt" 2015-06-08 22:00:36 +00:00