Skip to content

Commit

Permalink
Correct ARM_ARCH_ARMV8_1M_MAIN inline assembly operand (ARM-software#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Günther authored Aug 28, 2023
1 parent c195bfd commit 558167f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Fault/Source/ARM_FaultStorage.c
Original file line number Diff line number Diff line change
Expand Up @@ -510,11 +510,11 @@ __NAKED void ARM_FaultSave (void) {
, [SFSR_reg_addr] "i" (&ARM_FaultInfo.FaultRegisters.SFSR)
, [SFSR_ofs] "i" (offsetof(SCB_Type, SFSR ))
, [SFAR_ofs] "i" (offsetof(SCB_Type, SFAR ))
#if (ARM_FAULT_ARCH_ARMV8_1M_MAIN != 0)
, [RFSR_reg_addr] "i" (&ARM_FaultInfo.RFSR)
, [RFSR_ofs] "i" (offsetof(SCB_Type, RFSR ))
#endif
#endif
#if (ARM_FAULT_ARCH_ARMV8_1M_MAIN != 0)
, [RFSR_reg_addr] "i" (&ARM_FaultInfo.FaultRegisters.RFSR)
, [RFSR_ofs] "i" (offsetof(SCB_Type, RFSR ))
#endif
#endif
: /* clobber list */
Expand Down

0 comments on commit 558167f

Please sign in to comment.