mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 01:58:32 -04:00
Update to V4.3.0 as described in http://www.FreeRTOS.org/History.txt
This commit is contained in:
parent
017740b75a
commit
623aa3675f
110 changed files with 680 additions and 606 deletions
|
@ -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")
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue