]> git.sur5r.net Git - freertos/blobdiff - Source/portable/GCC/ARM7_LPC23xx/portmacro.h
+ The macro portENTER_SWITCHING_ISR() no longer attempts to use the frame pointer...
[freertos] / Source / portable / GCC / ARM7_LPC23xx / portmacro.h
index beca9cc21e2d89b5dd567be4ffbed5dd3fc84187..d6d3f4de5d91a22fd1dc3c41b72dbb200231d9f1 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-       FreeRTOS.org V4.2.1 - Copyright (C) 2003-2007 Richard Barry.\r
+       FreeRTOS.org V4.5.0 - Copyright (C) 2003-2007 Richard Barry.\r
 \r
        This file is part of the FreeRTOS.org distribution.\r
 \r
@@ -44,6 +44,9 @@
 \r
        + The assembler statements are now included in a single asm block rather\r
          than each line having its own asm block.\r
+\r
+       + The macro portENTER_SWITCHING_ISR() no longer attempts to use the frame\r
+         pointer.  Variables declared within ISRs must now be declared static.\r
 */\r
 \r
 #ifndef PORTMACRO_H\r
@@ -187,12 +190,6 @@ extern volatile unsigned portLONG ulCriticalNesting;                                       \
 #define portENTER_SWITCHING_ISR()                                                                              \\r
        /* Save the context of the interrupted task. */                                         \\r
        portSAVE_CONTEXT();                                                                                                     \\r
-                                                                                                                                               \\r
-       /* We don't know the stack requirements for the ISR, so the frame */\\r
-       /* pointer will be set to the top of the task stack, and the stack*/\\r
-       /* pointer left where it is.  The IRQ stack will get used for any */\\r
-       /* functions calls made by this ISR. */                                                         \\r
-       asm volatile ( "SUB             R11, LR, #4" );                                                 \\r
        {\r
 \r
 #define portEXIT_SWITCHING_ISR( SwitchRequired )                                               \\r