File tree Expand file tree Collapse file tree 3 files changed +0
-45
lines changed Expand file tree Collapse file tree 3 files changed +0
-45
lines changed Original file line number Diff line number Diff line change 243
243
#define INCLUDE_uxTaskGetStackHighWaterMark2 0
244
244
#endif
245
245
246
- #ifndef INCLUDE_pxTaskGetStackStart
247
- #define INCLUDE_pxTaskGetStackStart 0
248
- #endif
249
-
250
246
#ifndef INCLUDE_eTaskGetState
251
247
#define INCLUDE_eTaskGetState 0
252
248
#endif
523
519
#define traceMOVED_TASK_TO_OVERFLOW_DELAYED_LIST ()
524
520
#endif
525
521
526
- #ifndef traceMOVED_TASK_TO_SUSPENDED_LIST
527
- #define traceMOVED_TASK_TO_SUSPENDED_LIST ( pxTCB )
528
- #endif
529
-
530
522
#ifndef traceQUEUE_CREATE
531
523
#define traceQUEUE_CREATE ( pxNewQueue )
532
524
#endif
Original file line number Diff line number Diff line change @@ -1597,27 +1597,6 @@ UBaseType_t uxTaskGetStackHighWaterMark( TaskHandle_t xTask ) PRIVILEGED_FUNCTIO
1597
1597
*/
1598
1598
configSTACK_DEPTH_TYPE uxTaskGetStackHighWaterMark2 ( TaskHandle_t xTask ) PRIVILEGED_FUNCTION ;
1599
1599
1600
- /**
1601
- * task.h
1602
- * @code{c}
1603
- * uint8_t* pxTaskGetStackStart( TaskHandle_t xTask);
1604
- * @endcode
1605
- *
1606
- * INCLUDE_pxTaskGetStackStart must be set to 1 in FreeRTOSConfig.h for
1607
- * this function to be available.
1608
- *
1609
- * Returns the start of the stack associated with xTask. That is,
1610
- * the highest stack memory address on architectures where the stack grows down
1611
- * from high memory, and the lowest memory address on architectures where the
1612
- * stack grows up from low memory.
1613
- *
1614
- * @param xTask Handle of the task associated with the stack returned.
1615
- * Set xTask to NULL to return the stack of the calling task.
1616
- *
1617
- * @return A pointer to the start of the stack.
1618
- */
1619
- uint8_t * pxTaskGetStackStart ( TaskHandle_t xTask ) PRIVILEGED_FUNCTION ;
1620
-
1621
1600
/* When using trace macros it is sometimes necessary to include task.h before
1622
1601
* FreeRTOS.h. When this is done TaskHookFunction_t will not yet have been defined,
1623
1602
* so the following two prototypes will cause a compilation error. This can be
Original file line number Diff line number Diff line change @@ -1708,7 +1708,6 @@ static void prvAddNewTaskToReadyList( TCB_t * pxNewTCB )
1708
1708
mtCOVERAGE_TEST_MARKER ();
1709
1709
}
1710
1710
1711
- traceMOVED_TASK_TO_SUSPENDED_LIST (pxTCB );
1712
1711
vListInsertEnd ( & xSuspendedTaskList , & ( pxTCB -> xStateListItem ) );
1713
1712
1714
1713
#if ( configUSE_TASK_NOTIFICATIONS == 1 )
@@ -3989,21 +3988,6 @@ static void prvCheckTasksWaitingTermination( void )
3989
3988
#endif /* INCLUDE_uxTaskGetStackHighWaterMark */
3990
3989
/*-----------------------------------------------------------*/
3991
3990
3992
- #if (INCLUDE_pxTaskGetStackStart == 1 )
3993
- uint8_t * pxTaskGetStackStart ( TaskHandle_t xTask )
3994
- {
3995
- TCB_t * pxTCB ;
3996
- UBaseType_t uxReturn ;
3997
- (void )uxReturn ;
3998
-
3999
- pxTCB = prvGetTCBFromHandle ( xTask );
4000
- return ( uint8_t * ) pxTCB -> pxStack ;
4001
- }
4002
-
4003
- #endif /* INCLUDE_pxTaskGetStackStart */
4004
- /*-----------------------------------------------------------*/
4005
-
4006
-
4007
3991
#if ( INCLUDE_vTaskDelete == 1 )
4008
3992
4009
3993
static void prvDeleteTCB ( TCB_t * pxTCB )
You can’t perform that action at this time.
0 commit comments