summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/armv7-m/up_exception.S
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-23 21:29:42 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-23 21:29:42 +0000
commit6537ccc38c1dbb7261b037bf3919bbe6e6c89bf7 (patch)
treefeeb06bdb58e93a0722363f90b2b7dda8f86be4e /nuttx/arch/arm/src/armv7-m/up_exception.S
parentea61dba2159dde7b53fda2bcabdd172a081687ef (diff)
downloadpx4-nuttx-6537ccc38c1dbb7261b037bf3919bbe6e6c89bf7.tar.gz
px4-nuttx-6537ccc38c1dbb7261b037bf3919bbe6e6c89bf7.tar.bz2
px4-nuttx-6537ccc38c1dbb7261b037bf3919bbe6e6c89bf7.zip
Enable STM32 F4 hardware floating point with the Atollic toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4418 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/armv7-m/up_exception.S')
-rw-r--r--nuttx/arch/arm/src/armv7-m/up_exception.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/armv7-m/up_exception.S b/nuttx/arch/arm/src/armv7-m/up_exception.S
index 091542ea3..31d8dbb0c 100644
--- a/nuttx/arch/arm/src/armv7-m/up_exception.S
+++ b/nuttx/arch/arm/src/armv7-m/up_exception.S
@@ -164,6 +164,7 @@ exception_common:
* context switch time would be improved if we could work out when the stack
* is dirty and avoid the work...
*/
+
add r1, r0, #SW_XCPT_SIZE /* R1=Address of HW save area in reg array */
ldmia r1!, {r4-r11} /* Fetch eight registers in HW save area */
#ifdef CONFIG_ARCH_FPU