File tree 29 files changed +4
-36
lines changed
ARMv8M/non_secure/portable/GCC
29 files changed +4
-36
lines changed Original file line number Diff line number Diff line change 895
895
#define portDONT_DISCARD
896
896
#endif
897
897
898
- #ifndef portNORETURN
899
- #define portNORETURN
900
- #endif
901
-
902
898
#ifndef configUSE_TIME_SLICING
903
899
#define configUSE_TIME_SLICING 1
904
900
#endif
Original file line number Diff line number Diff line change 51
51
#define portARCH_NAME "Cortex-M23"
52
52
#define portHAS_BASEPRI 0
53
53
#define portDONT_DISCARD __attribute__( ( used ) )
54
- #define portNORETURN __attribute__( ( noreturn ) )
55
54
/*-----------------------------------------------------------*/
56
55
57
56
/* ARMv8-M common port configurations. */
Original file line number Diff line number Diff line change 51
51
#define portARCH_NAME "Cortex-M23"
52
52
#define portHAS_BASEPRI 0
53
53
#define portDONT_DISCARD __attribute__( ( used ) )
54
- #define portNORETURN __attribute__( ( noreturn ) )
55
54
/*-----------------------------------------------------------*/
56
55
57
56
/* ARMv8-M common port configurations. */
Original file line number Diff line number Diff line change 51
51
#define portARCH_NAME "Cortex-M33"
52
52
#define portHAS_BASEPRI 1
53
53
#define portDONT_DISCARD __attribute__( ( used ) )
54
- #define portNORETURN __attribute__( ( noreturn ) )
55
54
/*-----------------------------------------------------------*/
56
55
57
56
/* ARMv8-M common port configurations. */
Original file line number Diff line number Diff line change 51
51
#define portARCH_NAME "Cortex-M33"
52
52
#define portHAS_BASEPRI 1
53
53
#define portDONT_DISCARD __attribute__( ( used ) )
54
- #define portNORETURN __attribute__( ( noreturn ) )
55
54
/*-----------------------------------------------------------*/
56
55
57
56
/* ARMv8-M common port configurations. */
Original file line number Diff line number Diff line change 51
51
#define portARCH_NAME "Cortex-M35P"
52
52
#define portHAS_BASEPRI 1
53
53
#define portDONT_DISCARD __attribute__( ( used ) )
54
- #define portNORETURN __attribute__( ( noreturn ) )
55
54
/*-----------------------------------------------------------*/
56
55
57
56
/* ARMv8-M common port configurations. */
Original file line number Diff line number Diff line change 56
56
#define portARCH_NAME "Cortex-M55"
57
57
#define portHAS_BASEPRI 1
58
58
#define portDONT_DISCARD __attribute__( ( used ) )
59
- #define portNORETURN __attribute__( ( noreturn ) )
60
59
/*-----------------------------------------------------------*/
61
60
62
61
/* ARMv8-M common port configurations. */
Original file line number Diff line number Diff line change 56
56
#define portARCH_NAME "Cortex-M85"
57
57
#define portHAS_BASEPRI 1
58
58
#define portDONT_DISCARD __attribute__( ( used ) )
59
- #define portNORETURN __attribute__( ( noreturn ) )
60
59
/*-----------------------------------------------------------*/
61
60
62
61
/* ARMv8-M common port configurations. */
Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ typedef unsigned long UBaseType_t;
79
79
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
80
80
#define portBYTE_ALIGNMENT 8
81
81
#define portDONT_DISCARD __attribute__( ( used ) )
82
- #define portNORETURN __attribute__( ( noreturn ) )
83
82
/*-----------------------------------------------------------*/
84
83
85
84
Original file line number Diff line number Diff line change 51
51
#define portARCH_NAME "Cortex-M23"
52
52
#define portHAS_BASEPRI 0
53
53
#define portDONT_DISCARD __attribute__( ( used ) )
54
- #define portNORETURN __attribute__( ( noreturn ) )
55
54
/*-----------------------------------------------------------*/
56
55
57
56
/* ARMv8-M common port configurations. */
Original file line number Diff line number Diff line change 51
51
#define portARCH_NAME "Cortex-M23"
52
52
#define portHAS_BASEPRI 0
53
53
#define portDONT_DISCARD __attribute__( ( used ) )
54
- #define portNORETURN __attribute__( ( noreturn ) )
55
54
/*-----------------------------------------------------------*/
56
55
57
56
/* ARMv8-M common port configurations. */
Original file line number Diff line number Diff line change 79
79
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
80
80
#define portBYTE_ALIGNMENT 8
81
81
#define portDONT_DISCARD __attribute__( ( used ) )
82
- #define portNORETURN __attribute__( ( noreturn ) )
83
82
/*-----------------------------------------------------------*/
84
83
85
84
/* Scheduler utilities. */
Original file line number Diff line number Diff line change 51
51
#define portARCH_NAME "Cortex-M33"
52
52
#define portHAS_BASEPRI 1
53
53
#define portDONT_DISCARD __attribute__( ( used ) )
54
- #define portNORETURN __attribute__( ( noreturn ) )
55
54
/*-----------------------------------------------------------*/
56
55
57
56
/* ARMv8-M common port configurations. */
Original file line number Diff line number Diff line change 51
51
#define portARCH_NAME "Cortex-M33"
52
52
#define portHAS_BASEPRI 1
53
53
#define portDONT_DISCARD __attribute__( ( used ) )
54
- #define portNORETURN __attribute__( ( noreturn ) )
55
54
/*-----------------------------------------------------------*/
56
55
57
56
/* ARMv8-M common port configurations. */
Original file line number Diff line number Diff line change 51
51
#define portARCH_NAME "Cortex-M35P"
52
52
#define portHAS_BASEPRI 1
53
53
#define portDONT_DISCARD __attribute__( ( used ) )
54
- #define portNORETURN __attribute__( ( noreturn ) )
55
54
/*-----------------------------------------------------------*/
56
55
57
56
/* ARMv8-M common port configurations. */
Original file line number Diff line number Diff line change 51
51
#define portARCH_NAME "Cortex-M35P"
52
52
#define portHAS_BASEPRI 1
53
53
#define portDONT_DISCARD __attribute__( ( used ) )
54
- #define portNORETURN __attribute__( ( noreturn ) )
55
54
/*-----------------------------------------------------------*/
56
55
57
56
/* ARMv8-M common port configurations. */
Original file line number Diff line number Diff line change 115
115
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
116
116
#define portBYTE_ALIGNMENT 8
117
117
#define portDONT_DISCARD __attribute__( ( used ) )
118
- #define portNORETURN __attribute__( ( noreturn ) )
119
118
/*-----------------------------------------------------------*/
120
119
121
120
/* SVC numbers for various services. */
Original file line number Diff line number Diff line change 82
82
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
83
83
#define portBYTE_ALIGNMENT 8
84
84
#define portDONT_DISCARD __attribute__( ( used ) )
85
- #define portNORETURN __attribute__( ( noreturn ) )
86
85
/*-----------------------------------------------------------*/
87
86
88
87
/* Scheduler utilities. */
Original file line number Diff line number Diff line change @@ -203,7 +203,6 @@ typedef struct MPU_SETTINGS
203
203
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
204
204
#define portBYTE_ALIGNMENT 8
205
205
#define portDONT_DISCARD __attribute__( ( used ) )
206
- #define portNORETURN __attribute__( ( noreturn ) )
207
206
/*-----------------------------------------------------------*/
208
207
209
208
/* SVC numbers for various services. */
Original file line number Diff line number Diff line change 56
56
#define portARCH_NAME "Cortex-M55"
57
57
#define portHAS_BASEPRI 1
58
58
#define portDONT_DISCARD __attribute__( ( used ) )
59
- #define portNORETURN __attribute__( ( noreturn ) )
60
59
/*-----------------------------------------------------------*/
61
60
62
61
/* ARMv8-M common port configurations. */
Original file line number Diff line number Diff line change 56
56
#define portARCH_NAME "Cortex-M55"
57
57
#define portHAS_BASEPRI 1
58
58
#define portDONT_DISCARD __attribute__( ( used ) )
59
- #define portNORETURN __attribute__( ( noreturn ) )
60
59
/*-----------------------------------------------------------*/
61
60
62
61
/* ARMv8-M common port configurations. */
Original file line number Diff line number Diff line change 79
79
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
80
80
#define portBYTE_ALIGNMENT 8
81
81
#define portDONT_DISCARD __attribute__( ( used ) )
82
- #define portNORETURN __attribute__( ( noreturn ) )
83
82
/*-----------------------------------------------------------*/
84
83
85
84
/* Scheduler utilities. */
Original file line number Diff line number Diff line change 56
56
#define portARCH_NAME "Cortex-M85"
57
57
#define portHAS_BASEPRI 1
58
58
#define portDONT_DISCARD __attribute__( ( used ) )
59
- #define portNORETURN __attribute__( ( noreturn ) )
60
59
/*-----------------------------------------------------------*/
61
60
62
61
/* ARMv8-M common port configurations. */
Original file line number Diff line number Diff line change 56
56
#define portARCH_NAME "Cortex-M85"
57
57
#define portHAS_BASEPRI 1
58
58
#define portDONT_DISCARD __attribute__( ( used ) )
59
- #define portNORETURN __attribute__( ( noreturn ) )
60
59
/*-----------------------------------------------------------*/
61
60
62
61
/* ARMv8-M common port configurations. */
Original file line number Diff line number Diff line change @@ -70,8 +70,6 @@ typedef unsigned long TickType_t;
70
70
/*-----------------------------------------------------------*/
71
71
72
72
/* Architecture specifics. */
73
- #define portNORETURN __attribute__( ( noreturn ) )
74
-
75
73
#define portSTACK_GROWTH ( -1 )
76
74
#define portHAS_STACK_OVERFLOW_CHECKING ( 1 )
77
75
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
@@ -114,7 +112,7 @@ extern void vPortCancelThread( void *pxTaskToDelete );
114
112
#define portCLEAN_UP_TCB ( pxTCB ) vPortCancelThread( pxTCB )
115
113
/*-----------------------------------------------------------*/
116
114
117
- #define portTASK_FUNCTION_PROTO ( vFunction , pvParameters ) void vFunction( void *pvParameters )
115
+ #define portTASK_FUNCTION_PROTO ( vFunction , pvParameters ) void vFunction( void *pvParameters ) __attribute__( ( noreturn ) )
118
116
#define portTASK_FUNCTION ( vFunction , pvParameters ) void vFunction( void *pvParameters )
119
117
/*-----------------------------------------------------------*/
120
118
Original file line number Diff line number Diff line change 80
80
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
81
81
#define portBYTE_ALIGNMENT 8
82
82
#define portDONT_DISCARD __attribute__( ( used ) )
83
- #define portNORETURN __attribute__( ( noreturn ) )
84
83
/* We have to use PICO_DIVIDER_DISABLE_INTERRUPTS as the source of truth rathern than our config,
85
84
* as our FreeRTOSConfig.h header cannot be included by ASM code - which is what this affects in the SDK */
86
85
#define portUSE_DIVIDER_SAVE_RESTORE !PICO_DIVIDER_DISABLE_INTERRUPTS
Original file line number Diff line number Diff line change 335
335
/* -----------------------------------------------------------*/
336
336
337
337
/* Architecture specifics. */
338
- #define portNORETURN __attribute__ ( ( noreturn ) )
339
-
340
338
#define portSTACK_GROWTH ( -1 )
341
339
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
342
340
#define portBYTE_ALIGNMENT 4
Original file line number Diff line number Diff line change @@ -432,7 +432,7 @@ static void prvInitialiseTaskLists( void ) PRIVILEGED_FUNCTION;
432
432
* void prvIdleTask( void *pvParameters );
433
433
*
434
434
*/
435
- static portTASK_FUNCTION_PROTO ( prvIdleTask , pvParameters ) portNORETURN PRIVILEGED_FUNCTION ;
435
+ static portTASK_FUNCTION_PROTO ( prvIdleTask , pvParameters ) PRIVILEGED_FUNCTION ;
436
436
437
437
/*
438
438
* Utility to free all memory allocated by the scheduler to hold a TCB,
@@ -3486,7 +3486,7 @@ void vTaskMissedYield( void )
3486
3486
*
3487
3487
*/
3488
3488
3489
- portTASK_FUNCTION ( prvIdleTask , pvParameters )
3489
+ static portTASK_FUNCTION ( prvIdleTask , pvParameters )
3490
3490
{
3491
3491
/* Stop warnings. */
3492
3492
( void ) pvParameters ;
Original file line number Diff line number Diff line change 158
158
* task. Other tasks communicate with the timer service task using the
159
159
* xTimerQueue queue.
160
160
*/
161
- static portTASK_FUNCTION_PROTO ( prvTimerTask , pvParameters ) portNORETURN PRIVILEGED_FUNCTION ;
161
+ static portTASK_FUNCTION_PROTO ( prvTimerTask , pvParameters ) PRIVILEGED_FUNCTION ;
162
162
163
163
/*
164
164
* Called by the timer service task to interpret and process a command it
You can’t perform that action at this time.
0 commit comments