summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/aarch64/aarch64-exception-interrupt.S
diff options
context:
space:
mode:
authorKinsey Moore <kinsey.moore@oarcorp.com>2021-07-26 15:43:00 -0500
committerJoel Sherrill <joel@rtems.org>2021-09-21 08:58:32 -0500
commit5f652cb27e0134362e0160135124352539315845 (patch)
treea370df31b31472331566975319b8fc9fa950d4d4 /cpukit/score/cpu/aarch64/aarch64-exception-interrupt.S
parentbsps/gicv2: Allow BSPs to define IRQ attributes (diff)
downloadrtems-5f652cb27e0134362e0160135124352539315845.tar.bz2
cpukit: Add AArch64 SMP Support
This adds SMP support for AArch64 in cpukit and for the ZynqMP BSPs.
Diffstat (limited to 'cpukit/score/cpu/aarch64/aarch64-exception-interrupt.S')
-rw-r--r--cpukit/score/cpu/aarch64/aarch64-exception-interrupt.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/cpu/aarch64/aarch64-exception-interrupt.S b/cpukit/score/cpu/aarch64/aarch64-exception-interrupt.S
index cb0954a29b..b206f5764b 100644
--- a/cpukit/score/cpu/aarch64/aarch64-exception-interrupt.S
+++ b/cpukit/score/cpu/aarch64/aarch64-exception-interrupt.S
@@ -47,7 +47,11 @@
.globl _AArch64_Exception_interrupt_nest
#ifdef AARCH64_MULTILIB_ARCH_V8_ILP32
- #define SELF_CPU_CONTROL_GET_REG w19
+ #ifdef RTEMS_SMP
+ #define SELF_CPU_CONTROL_GET_REG x19
+ #else
+ #define SELF_CPU_CONTROL_GET_REG w19
+ #endif
#else
#define SELF_CPU_CONTROL_GET_REG x19
#endif