diff options
Diffstat (limited to 'cpukit/score/cpu/arm/arm_exc_interrupt.S')
-rw-r--r-- | cpukit/score/cpu/arm/arm_exc_interrupt.S | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/cpukit/score/cpu/arm/arm_exc_interrupt.S b/cpukit/score/cpu/arm/arm_exc_interrupt.S index 738c248141..a260d9dda1 100644 --- a/cpukit/score/cpu/arm/arm_exc_interrupt.S +++ b/cpukit/score/cpu/arm/arm_exc_interrupt.S @@ -1,6 +1,8 @@ /** * @file * + * @ingroup arm + * * @brief ARM interrupt exception prologue and epilogue. */ @@ -23,6 +25,8 @@ * The exchange area is only accessed if INT is disabled. */ +#include <rtems/asm.h> + #define EXCHANGE_LR r4 #define EXCHANGE_SPSR r5 #define EXCHANGE_CPSR r6 @@ -41,22 +45,6 @@ .extern bsp_interrupt_dispatch -.macro SWITCH_FROM_THUMB_TO_ARM -#ifdef __thumb__ -.align 2 - bx pc -.arm -#endif /* __thumb__ */ -.endm - -.macro SWITCH_FROM_ARM_TO_THUMB REG -#ifdef __thumb__ - add \REG, pc, #1 - bx \REG -.thumb -#endif /* __thumb__ */ -.endm - .arm .globl arm_exc_interrupt arm_exc_interrupt: |