Skip to content

Commit 2d90cf8

Browse files
committed
Merge branch 'merge-main-2' into smp-dev-complete-merge-candidate-history
2 parents 3742ae8 + b213ad8 commit 2d90cf8

File tree

4 files changed

+12
-14
lines changed

4 files changed

+12
-14
lines changed

include/FreeRTOS.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,6 @@
12021202
#define xTaskParameters TaskParameters_t
12031203
#define xTaskStatusType TaskStatus_t
12041204
#define xTimerHandle TimerHandle_t
1205-
#define xCoRoutineHandle CoRoutineHandle_t
12061205
#define pdTASK_HOOK_CODE TaskHookFunction_t
12071206
#define portTICK_RATE_MS portTICK_PERIOD_MS
12081207
#define pcTaskGetTaskName pcTaskGetName

portable/ThirdParty/GCC/RP2040/library.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
add_library(FreeRTOS-Kernel-Core INTERFACE)
88
target_sources(FreeRTOS-Kernel-Core INTERFACE
9-
${FREERTOS_KERNEL_PATH}/croutine.c
109
${FREERTOS_KERNEL_PATH}/event_groups.c
1110
${FREERTOS_KERNEL_PATH}/list.c
1211
${FREERTOS_KERNEL_PATH}/queue.c

tasks.c

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3498,7 +3498,7 @@ BaseType_t xTaskResumeAll( void )
34983498
* appropriate ready list. */
34993499
while( listLIST_IS_EMPTY( &xPendingReadyList ) == pdFALSE )
35003500
{
3501-
pxTCB = listGET_OWNER_OF_HEAD_ENTRY( ( &xPendingReadyList ) ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
3501+
pxTCB = listGET_OWNER_OF_HEAD_ENTRY( ( &xPendingReadyList ) ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
35023502
listREMOVE_ITEM( &( pxTCB->xEventListItem ) );
35033503
portMEMORY_BARRIER();
35043504
listREMOVE_ITEM( &( pxTCB->xStateListItem ) );
@@ -3689,11 +3689,11 @@ char * pcTaskGetName( TaskHandle_t xTaskToQuery ) /*lint !e971 Unqualified char
36893689

36903690
if( listCURRENT_LIST_LENGTH( pxList ) > ( UBaseType_t ) 0 )
36913691
{
3692-
listGET_OWNER_OF_NEXT_ENTRY( pxFirstTCB, pxList ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
3692+
listGET_OWNER_OF_NEXT_ENTRY( pxFirstTCB, pxList ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
36933693

36943694
do
36953695
{
3696-
listGET_OWNER_OF_NEXT_ENTRY( pxNextTCB, pxList ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
3696+
listGET_OWNER_OF_NEXT_ENTRY( pxNextTCB, pxList ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
36973697

36983698
/* Check each character in the name looking for a match or
36993699
* mismatch. */
@@ -4122,7 +4122,7 @@ BaseType_t xTaskIncrementTick( void )
41224122
* item at the head of the delayed list. This is the time
41234123
* at which the task at the head of the delayed list must
41244124
* be removed from the Blocked state. */
4125-
pxTCB = listGET_OWNER_OF_HEAD_ENTRY( pxDelayedTaskList ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
4125+
pxTCB = listGET_OWNER_OF_HEAD_ENTRY( pxDelayedTaskList ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
41264126
xItemValue = listGET_LIST_ITEM_VALUE( &( pxTCB->xStateListItem ) );
41274127

41284128
if( xConstTickCount < xItemValue )
@@ -4475,7 +4475,7 @@ BaseType_t xTaskIncrementTick( void )
44754475

44764476
/* Select a new task to run using either the generic C or port
44774477
* optimised asm code. */
4478-
taskSELECT_HIGHEST_PRIORITY_TASK(); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
4478+
taskSELECT_HIGHEST_PRIORITY_TASK(); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
44794479
traceTASK_SWITCHED_IN();
44804480

44814481
/* After the new task is switched in, update the global errno. */
@@ -4692,7 +4692,7 @@ BaseType_t xTaskRemoveFromEventList( const List_t * const pxEventList )
46924692
*
46934693
* This function assumes that a check has already been made to ensure that
46944694
* pxEventList is not empty. */
4695-
pxUnblockedTCB = listGET_OWNER_OF_HEAD_ENTRY( pxEventList ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
4695+
pxUnblockedTCB = listGET_OWNER_OF_HEAD_ENTRY( pxEventList ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
46964696
configASSERT( pxUnblockedTCB );
46974697
listREMOVE_ITEM( &( pxUnblockedTCB->xEventListItem ) );
46984698

@@ -4775,7 +4775,7 @@ void vTaskRemoveFromUnorderedEventList( ListItem_t * pxEventListItem,
47754775

47764776
/* Remove the event list form the event flag. Interrupts do not access
47774777
* event flags. */
4778-
pxUnblockedTCB = listGET_LIST_ITEM_OWNER( pxEventListItem ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
4778+
pxUnblockedTCB = listGET_LIST_ITEM_OWNER( pxEventListItem ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
47794779
configASSERT( pxUnblockedTCB );
47804780
listREMOVE_ITEM( pxEventListItem );
47814781

@@ -5349,7 +5349,7 @@ static void prvCheckTasksWaitingTermination( void )
53495349
taskENTER_CRITICAL();
53505350
{
53515351
{
5352-
pxTCB = listGET_OWNER_OF_HEAD_ENTRY( ( &xTasksWaitingTermination ) ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
5352+
pxTCB = listGET_OWNER_OF_HEAD_ENTRY( ( &xTasksWaitingTermination ) ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
53535353
( void ) uxListRemove( &( pxTCB->xStateListItem ) );
53545354
--uxCurrentNumberOfTasks;
53555355
--uxDeletedTasksWaitingCleanUp;
@@ -5370,7 +5370,7 @@ static void prvCheckTasksWaitingTermination( void )
53705370
* waiting to enter the critical section. */
53715371
if( uxDeletedTasksWaitingCleanUp > ( UBaseType_t ) 0U )
53725372
{
5373-
pxTCB = listGET_OWNER_OF_HEAD_ENTRY( ( &xTasksWaitingTermination ) ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
5373+
pxTCB = listGET_OWNER_OF_HEAD_ENTRY( ( &xTasksWaitingTermination ) ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
53745374

53755375
if( pxTCB->xTaskRunState == taskTASK_NOT_RUNNING )
53765376
{
@@ -5523,15 +5523,15 @@ static void prvCheckTasksWaitingTermination( void )
55235523

55245524
if( listCURRENT_LIST_LENGTH( pxList ) > ( UBaseType_t ) 0 )
55255525
{
5526-
listGET_OWNER_OF_NEXT_ENTRY( pxFirstTCB, pxList ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
5526+
listGET_OWNER_OF_NEXT_ENTRY( pxFirstTCB, pxList ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
55275527

55285528
/* Populate an TaskStatus_t structure within the
55295529
* pxTaskStatusArray array for each task that is referenced from
55305530
* pxList. See the definition of TaskStatus_t in task.h for the
55315531
* meaning of each TaskStatus_t structure member. */
55325532
do
55335533
{
5534-
listGET_OWNER_OF_NEXT_ENTRY( pxNextTCB, pxList ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
5534+
listGET_OWNER_OF_NEXT_ENTRY( pxNextTCB, pxList ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
55355535
vTaskGetInfo( ( TaskHandle_t ) pxNextTCB, &( pxTaskStatusArray[ uxTask ] ), pdTRUE, eState );
55365536
uxTask++;
55375537
} while( pxNextTCB != pxFirstTCB );

timers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@
582582
static void prvProcessExpiredTimer( const TickType_t xNextExpireTime,
583583
const TickType_t xTimeNow )
584584
{
585-
Timer_t * const pxTimer = ( Timer_t * ) listGET_OWNER_OF_HEAD_ENTRY( pxCurrentTimerList ); /*lint !e9087 !e9079 void * is used as this macro is used with tasks and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
585+
Timer_t * const pxTimer = ( Timer_t * ) listGET_OWNER_OF_HEAD_ENTRY( pxCurrentTimerList ); /*lint !e9087 !e9079 void * is used as this macro is used with tasks too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
586586

587587
/* Remove the timer from the list of active timers. A check has already
588588
* been performed to ensure the list is not empty. */

0 commit comments

Comments
 (0)