mirror of https://github.com/acidanthera/audk.git
ArmPlatformPkg/ArmVExpressSecLibRTSM: Only use extended name of system registers for GCC
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Brendan Jackman <brendan.jackman@arm.com> Reviewed-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15501 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
518c243d42
commit
e691183822
|
@ -13,6 +13,7 @@
|
|||
|
||||
#include <AsmMacroIoLibV8.h>
|
||||
|
||||
#ifndef __clang__
|
||||
// Register definitions used by GCC for GICv3 access.
|
||||
// These are defined by ARMCC, so keep them in the GCC specific code for now.
|
||||
#define ICC_SRE_EL2 S3_4_C12_C9_5
|
||||
|
@ -20,6 +21,7 @@
|
|||
#define ICC_CTLR_EL1 S3_0_C12_C12_4
|
||||
#define ICC_CTLR_EL3 S3_6_C12_C12_4
|
||||
#define ICC_PMR_EL1 S3_0_C4_C6_0
|
||||
#endif
|
||||
|
||||
.text
|
||||
.align 3
|
||||
|
|
Loading…
Reference in New Issue