audk/ArmPkg/Drivers/ArmGic
Ard Biesheuvel 906e8ce469 ArmPkg/GicV3: use GICv3 generic sysreg names only for GNU as
The GNU assembler extends the generic notation for IMPLEMENTATION
DEFINED system registers to support any system register, so that
system registers defined by newer versions of the architecture can
still be used by older versions of the toolchain.

Clang before v3.6 supports the generic notation, but does not
support this extension, nor does it need to in the particular case
of the GICv3 support code, since it knows the GICv3 registers by
their architectural names. So only redefine their real names to
their generic aliases if we are not using clang.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
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@18192 6f19259b-4bc3-4df7-8a09-765794883524
2015-08-10 07:54:39 +00:00
..
GicV2 ArmPkg: merge ArmGicV[23]Lib.h into ArmGicLib.h 2015-07-28 20:44:27 +00:00
GicV3 ArmPkg/GicV3: use GICv3 generic sysreg names only for GNU as 2015-08-10 07:54:39 +00:00
ArmGicCommonDxe.c ArmPkg/ArmGic: Move RegisterInterruptSource() to the common GicDxe file 2014-07-04 11:26:33 +00:00
ArmGicDxe.c ArmPkg/ArmGic: Added GicV3 support to ArmGicDxe 2014-10-27 10:30:53 +00:00
ArmGicDxe.h ArmPkg/ArmGic: Added GicV3 support to ArmGicDxe 2014-10-27 10:30:53 +00:00
ArmGicDxe.inf ArmPkg/ArmGic: enable ARE bit before driving GICv3 in native mode 2015-02-16 10:27:02 +00:00
ArmGicLib.c ArmPkg: merge ArmGicV[23]Lib.h into ArmGicLib.h 2015-07-28 20:44:27 +00:00
ArmGicLib.inf ArmPkg: split off ArmGicArchLib from ArmGicLib 2015-07-28 20:44:44 +00:00
ArmGicNonSecLib.c ArmPkg/ArmGic: Fix GICv3 in GICv2 legacy mode 2015-02-25 18:42:36 +00:00
ArmGicSecLib.c ArmPkg: merge ArmGicV[23]Lib.h into ArmGicLib.h 2015-07-28 20:44:27 +00:00
ArmGicSecLib.inf ArmPkg: split off ArmGicArchLib from ArmGicLib 2015-07-28 20:44:44 +00:00