From 6537ccc38c1dbb7261b037bf3919bbe6e6c89bf7 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 23 Feb 2012 21:29:42 +0000 Subject: 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 --- nuttx/arch/arm/src/armv7-m/up_exception.S | 1 + 1 file changed, 1 insertion(+) (limited to 'nuttx/arch/arm/src/armv7-m/up_exception.S') 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 -- cgit v1.2.3