From f91a1aac610192984326a4d0e77796c1419f8ca1 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 22 Mar 2013 16:19:59 +0000 Subject: Add a OS test kernel build configuration for the STM32F4Discovery board git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5775 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/arm/src/lm/lm_vectors.S | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'nuttx/arch/arm/src/lm/lm_vectors.S') diff --git a/nuttx/arch/arm/src/lm/lm_vectors.S b/nuttx/arch/arm/src/lm/lm_vectors.S index 0f4300065..4459d49a7 100644 --- a/nuttx/arch/arm/src/lm/lm_vectors.S +++ b/nuttx/arch/arm/src/lm/lm_vectors.S @@ -60,13 +60,6 @@ #define IDLE_STACK (_ebss+CONFIG_IDLETHREAD_STACKSIZE-4) #define HEAP_BASE (_ebss+CONFIG_IDLETHREAD_STACKSIZE-4) -/* The Cortex-M3 return from interrupt is unusual. We provide the following special - * address to the BX instruction. The particular value also forces a return to - * thread mode and covers state from the main stack point, the MSP (vs. the MSP). - */ - -#define EXC_RETURN 0xfffffff9 - /************************************************************************************ * Global Symbols ************************************************************************************/ @@ -288,7 +281,7 @@ lm_irqcommon: * actually occurs with interrupts still disabled). */ - ldr r14, =EXC_RETURN /* Load the special value */ + ldr r14, =EXC_RETURN_PRIVTHR /* Load the special value */ #endif /* Restore the interrupt state */ -- cgit v1.2.3