Update to V4.3.0 as described in http://www.FreeRTOS.org/History.txt

This commit is contained in:
Richard Barry 2007-06-05 09:56:16 +00:00
parent 017740b75a
commit 623aa3675f
110 changed files with 680 additions and 606 deletions

View file

@ -1,5 +1,5 @@
/*
FreeRTOS.org V4.2.1 - Copyright (C) 2003-2007 Richard Barry.
FreeRTOS.org V4.3.0 - Copyright (C) 2003-2007 Richard Barry.
This file is part of the FreeRTOS.org distribution.

View file

@ -1,5 +1,5 @@
/*
FreeRTOS.org V4.2.1 - Copyright (C) 2003-2007 Richard Barry.
FreeRTOS.org V4.3.0 - Copyright (C) 2003-2007 Richard Barry.
This file is part of the FreeRTOS.org distribution.

View file

@ -1,5 +1,5 @@
/*
FreeRTOS.org V4.2.1 - Copyright (C) 2003-2007 Richard Barry.
FreeRTOS.org V4.3.0 - Copyright (C) 2003-2007 Richard Barry.
This file is part of the FreeRTOS.org distribution.

View file

@ -1,5 +1,5 @@
/*
FreeRTOS.org V4.2.1 - Copyright (C) 2003-2007 Richard Barry.
FreeRTOS.org V4.3.0 - Copyright (C) 2003-2007 Richard Barry.
This file is part of the FreeRTOS.org distribution.
@ -34,10 +34,6 @@
*/
/*
Changes from V4.2.1
+ CallReturn Depth increased from 10 to 12 levels to accomodate wizC/fedC V14.
+CodeOptions added to disable the wizC/fedC optimiser within asm
Changes from V3.2.1
+ CallReturn Depth increased from 8 to 10 levels to accomodate wizC/fedC V12.
@ -96,7 +92,7 @@ extern volatile tskTCB * volatile pxCurrentTCB;
#define portSTACK_CALLRETURN_ENTRY_SIZE ( 2 )
#endif
#define portSTACK_MINIMAL_CALLRETURN_DEPTH ( 12 )
#define portSTACK_MINIMAL_CALLRETURN_DEPTH ( 10 )
#define portSTACK_OTHER_BYTES ( 20 )
unsigned portSHORT usCalcMinStackSize = 0;
@ -125,10 +121,8 @@ unsigned portCHAR ucScratch;
* We do this here already to avoid W-register conflicts.
*/
_Pragma("asm")
dupmodoff
movlw OVERHEADPAGE0-LOCOPTSIZE+MAXLOCOPTSIZE
movwf PRODL,ACCESS ; PRODL is used as temp register
dupmodon
_Pragma("asmend")
ucScratch = PRODL;
@ -220,11 +214,9 @@ unsigned portSHORT usPortCALCULATE_MINIMAL_STACK_SIZE( void )
* Fetch the size of compiler's scratchspace.
*/
_Pragma("asm")
dupmodoff
movlw OVERHEADPAGE0-LOCOPTSIZE+MAXLOCOPTSIZE
movlb usCalcMinStackSize>>8
movwf usCalcMinStackSize,BANKED
dupmodon
_Pragma("asmend")
/*

View file

@ -1,5 +1,5 @@
/*
FreeRTOS.org V4.2.1 - Copyright (C) 2003-2007 Richard Barry.
FreeRTOS.org V4.3.0 - Copyright (C) 2003-2007 Richard Barry.
This file is part of the FreeRTOS.org distribution.
@ -209,7 +209,6 @@ extern unsigned portSHORT usCalcMinStackSize;
portDISABLE_INTERRUPTS(); \
\
_Pragma("asm") \
dupmodoff \
; \
; Push the relevant SFR's onto the task's stack \
; \
@ -283,7 +282,6 @@ extern unsigned portSHORT usCalcMinStackSize;
movff pxCurrentTCB+1,FSR0H \
movff FSR2L,POSTINC0 \
movff FSR2H,POSTINC0 \
dupmodon \
_Pragma("asmend") \
} while(0)
@ -296,7 +294,6 @@ extern unsigned portSHORT usCalcMinStackSize;
do \
{ \
_Pragma("asm") \
dupmodoff \
; \
; Set FSR0 to point to pxCurrentTCB->pxTopOfStack. \
; \
@ -396,7 +393,6 @@ extern unsigned portSHORT usCalcMinStackSize;
movff PREINC2,WREG \
movff PREINC2,STATUS \
return 0 ; Return without affecting interrupts \
dupmodon \
_Pragma("asmend") \
} while(0)
@ -410,9 +406,7 @@ extern void vPortYield( void );
#define portYIELD() vPortYield()
#define portNOP() _Pragma("asm") \
dupmodoff \
nop \
dupmodon \
_Pragma("asmend")
/*-----------------------------------------------------------*/