mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-22 20:57:45 -04:00
Add async core yield test for SMP (#1247)
Add async core yield test for SMP Add async core yield test for SMP to verify set core affinity implementation
This commit is contained in:
parent
1a82df09df
commit
9febcedd91
5 changed files with 152 additions and 2 deletions
|
@ -65,6 +65,12 @@ void vPortFree( void * pv );
|
|||
*/
|
||||
void commonSetUp( void );
|
||||
|
||||
/**
|
||||
* @brief Common test case asyncrhonous core yield setup function for SMP tests.
|
||||
* This API should be called after commonSetUp().
|
||||
*/
|
||||
void commonAsyncCoreYieldSetup( void );
|
||||
|
||||
/**
|
||||
* @brief Common test case teardown function for SMP tests.
|
||||
*/
|
||||
|
@ -98,6 +104,11 @@ void xTaskIncrementTick_helper( void );
|
|||
*/
|
||||
void vSetCurrentCore( BaseType_t xCoreID );
|
||||
|
||||
/**
|
||||
* @brief Check and execut asynchronous core yield request.
|
||||
*/
|
||||
void vCheckAndExecuteAsyncCoreYield( BaseType_t xCoreID );
|
||||
|
||||
/**
|
||||
* @brief Helper function to create static test task.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue