diff --git a/arch/arm/src/lm3s/lm3s_vectors.S b/arch/arm/src/lm3s/lm3s_vectors.S index 90f2850af1..87d995b29b 100644 --- a/arch/arm/src/lm3s/lm3s_vectors.S +++ b/arch/arm/src/lm3s/lm3s_vectors.S @@ -643,9 +643,9 @@ lm3s_irqcommon: */ 1: #ifdef CONFIG_NUTTX_KERNEL - ldmia r0, {r2-r11,r14} /* Recover R4-R11, r14 + 2 temp values */ + ldmia r1!, {r2-r11,r14} /* Recover R4-R11, r14 + 2 temp values */ #else - ldmia r0, {r2-r11} /* Recover R4-R11 + 2 temp values */ + ldmia r1!, {r2-r11} /* Recover R4-R11 + 2 temp values */ #endif 2: #ifdef CONFIG_NUTTX_KERNEL diff --git a/arch/arm/src/lpc17xx/lpc17_vectors.S b/arch/arm/src/lpc17xx/lpc17_vectors.S index 4cfa9a3ce5..75eb71f17f 100755 --- a/arch/arm/src/lpc17xx/lpc17_vectors.S +++ b/arch/arm/src/lpc17xx/lpc17_vectors.S @@ -317,9 +317,9 @@ lpc17_common: */ 1: #ifdef CONFIG_NUTTX_KERNEL - ldmia r0, {r2-r11,r14} /* Recover R4-R11, r14 + 2 temp values */ + ldmia r1!, {r2-r11,r14} /* Recover R4-R11, r14 + 2 temp values */ #else - ldmia r0, {r2-r11} /* Recover R4-R11 + 2 temp values */ + ldmia r1!, {r2-r11} /* Recover R4-R11 + 2 temp values */ #endif 2: #ifdef CONFIG_NUTTX_KERNEL diff --git a/arch/arm/src/sam3u/sam3u_vectors.S b/arch/arm/src/sam3u/sam3u_vectors.S index c4ab12ba01..7e7ad188ee 100755 --- a/arch/arm/src/sam3u/sam3u_vectors.S +++ b/arch/arm/src/sam3u/sam3u_vectors.S @@ -308,9 +308,9 @@ sam3u_common: */ 1: #ifdef CONFIG_NUTTX_KERNEL - ldmia r0, {r2-r11,r14} /* Recover R4-R11, r14 + 2 temp values */ + ldmia r1!, {r2-r11,r14} /* Recover R4-R11, r14 + 2 temp values */ #else - ldmia r0, {r2-r11} /* Recover R4-R11 + 2 temp values */ + ldmia r1!, {r2-r11} /* Recover R4-R11 + 2 temp values */ #endif 2: #ifdef CONFIG_NUTTX_KERNEL diff --git a/arch/arm/src/stm32/stm32_vectors.S b/arch/arm/src/stm32/stm32_vectors.S index 908dc5b440..60f08b375b 100644 --- a/arch/arm/src/stm32/stm32_vectors.S +++ b/arch/arm/src/stm32/stm32_vectors.S @@ -500,9 +500,9 @@ stm32_common: */ 1: #ifdef CONFIG_NUTTX_KERNEL - ldmia r0, {r2-r11,r14} /* Recover R4-R11, r14 + 2 temp values */ + ldmia r1!, {r2-r11,r14} /* Recover R4-R11, r14 + 2 temp values */ #else - ldmia r0, {r2-r11} /* Recover R4-R11 + 2 temp values */ + ldmia r1!, {r2-r11} /* Recover R4-R11 + 2 temp values */ #endif 2: #ifdef CONFIG_NUTTX_KERNEL