mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-07-04 19:37:15 -04:00
Compare commits
3 commits
8001eccacb
...
7357b6267b
Author | SHA1 | Date | |
---|---|---|---|
|
7357b6267b | ||
|
d03233f209 | ||
|
dc7bd942d7 |
|
@ -1059,8 +1059,8 @@
|
|||
configRUN_TIME_COUNTER_TYPE * pulTotalRunTime ) /* PRIVILEGED_FUNCTION */
|
||||
{
|
||||
UBaseType_t uxReturn = 0;
|
||||
UBaseType_t xIsTaskStatusArrayWriteable = pdFALSE;
|
||||
UBaseType_t xIsTotalRunTimeWriteable = pdFALSE;
|
||||
BaseType_t xIsTaskStatusArrayWriteable = pdFALSE;
|
||||
BaseType_t xIsTotalRunTimeWriteable = pdFALSE;
|
||||
uint32_t ulArraySize = ( uint32_t ) uxArraySize;
|
||||
uint32_t ulTaskStatusSize = ( uint32_t ) sizeof( TaskStatus_t );
|
||||
|
||||
|
|
3
tasks.c
3
tasks.c
|
@ -3676,6 +3676,9 @@ static BaseType_t prvCreateIdleTasks( void )
|
|||
/* Assign idle task to each core before SMP scheduler is running. */
|
||||
xIdleTaskHandles[ xCoreID ]->xTaskRunState = xCoreID;
|
||||
pxCurrentTCBs[ xCoreID ] = xIdleTaskHandles[ xCoreID ];
|
||||
#if ( configUSE_CORE_AFFINITY == 1 )
|
||||
vTaskCoreAffinitySet(xIdleTaskHandles[ xCoreID ], 1 << xCoreID);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue