mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-01 11:53:53 -04:00
Enhancements and Bug Fixes for F1Kx Port (#1169)
Fix FPU stack order issue and Improve FPU checking flow Fix Interrupt depth comparison logic Fix parameter mismatch in portmacro.h file Add comment to explain assembly code
This commit is contained in:
parent
f0d79459d6
commit
d0d55f3031
4 changed files with 35 additions and 29 deletions
|
@ -111,11 +111,11 @@
|
|||
/* Scheduler utilities */
|
||||
|
||||
/* Called at the end of an ISR that can cause a context switch */
|
||||
extern void vPortSetSwitch( BaseType_t vPortSetSwitch );
|
||||
extern void vPortSetSwitch( BaseType_t xSwitchRequired );
|
||||
|
||||
#define portEND_SWITCHING_ISR( xSwitchRequired ) vPortSetSwitch( vPortSetSwitch )
|
||||
#define portEND_SWITCHING_ISR( x ) vPortSetSwitch( x )
|
||||
|
||||
#define portYIELD_FROM_ISR( x ) portEND_SWITCHING_ISR( x )
|
||||
#define portYIELD_FROM_ISR( x ) portEND_SWITCHING_ISR( x )
|
||||
|
||||
/* Use to transfer control from one task to perform other tasks of
|
||||
* higher priority */
|
||||
|
@ -131,7 +131,7 @@
|
|||
#define coreid xPortGET_CORE_ID()
|
||||
|
||||
/* Request the core ID x to yield. */
|
||||
extern void vPortYieldCore( unsigned int coreID );
|
||||
extern void vPortYieldCore( uint32_t coreID );
|
||||
|
||||
#define portYIELD_CORE( x ) vPortYieldCore( x )
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue