mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 01:58:32 -04:00
Changes in common files:
Add additional asserts into timers.c. Trivial changes and changes in demo applications: RX113 IAR project is not building and running. Make FreeRTOS_SetupInterrupt() and FreeRTOS_ClearInterrupt() weak symbols in the Zynq SDK repository. Correct typo in the port layer comments that was cut and paste into multiple files.
This commit is contained in:
parent
b3f343fdae
commit
cd42d2c215
34 changed files with 262 additions and 1048 deletions
|
@ -124,13 +124,13 @@ typedef unsigned long UBaseType_t;
|
|||
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
|
||||
#define portNOP() __no_operation()
|
||||
|
||||
#define portYIELD() \
|
||||
__asm volatile \
|
||||
( \
|
||||
"MOV.L #0x872E0, R15 \n\t" \
|
||||
"MOV.B #1, [R15] \n\t" \
|
||||
"MOV.L [R15], R15 \n\t" \
|
||||
::: "R15" \
|
||||
#define portYIELD() \
|
||||
__asm volatile \
|
||||
( \
|
||||
"MOV.L #0x872E0, R15 \n" \
|
||||
"MOV.B #1, [R15] \n" \
|
||||
"MOV.L [R15], R15 \n" \
|
||||
::: "R15" \
|
||||
)
|
||||
|
||||
#define portYIELD_FROM_ISR( x ) if( ( x ) != pdFALSE ) { portYIELD(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue