From 3969e204033d3dea12a0f4f7b61cabcc700868cb Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 10 Dec 2021 18:37:44 +0100 Subject: spec: Do not use RTEMS_INLINE_ROUTINE --- spec/rtems/ratemon/req/cancel.yml | 4 ++-- spec/rtems/ratemon/req/period.yml | 14 +++++++------- spec/rtems/timer/req/cancel.yml | 2 +- spec/rtems/timer/req/fire-after.yml | 2 +- spec/rtems/timer/req/fire-when.yml | 2 +- spec/rtems/timer/req/reset.yml | 4 ++-- spec/rtems/timer/req/server-fire-after.yml | 4 ++-- spec/rtems/timer/req/server-fire-when.yml | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/spec/rtems/ratemon/req/cancel.yml b/spec/rtems/ratemon/req/cancel.yml index ecfaef34..2d1d032c 100644 --- a/spec/rtems/ratemon/req/cancel.yml +++ b/spec/rtems/ratemon/req/cancel.yml @@ -348,7 +348,7 @@ test-support: | ctx->status = rtems_rate_monotonic_cancel( ctx->id_param ); } - RTEMS_INLINE_ROUTINE void WorkerTask( unsigned int argument ) + static void WorkerTask( unsigned int argument ) { RtemsRatemonReqCancel_Context *ctx = (RtemsRatemonReqCancel_Context *) argument; @@ -361,7 +361,7 @@ test-support: | T_rsc_success( rtems_task_suspend( RTEMS_SELF ) ); } - RTEMS_INLINE_ROUTINE void WorkerTaskAction( void *ctx_in ) + static void WorkerTaskAction( void *ctx_in ) { rtems_status_code status; rtems_event_set event_set; diff --git a/spec/rtems/ratemon/req/period.yml b/spec/rtems/ratemon/req/period.yml index f9dbdde4..b5730869 100644 --- a/spec/rtems/ratemon/req/period.yml +++ b/spec/rtems/ratemon/req/period.yml @@ -511,7 +511,7 @@ test-support: | return status; } - RTEMS_INLINE_ROUTINE void CreatePeriod( void *ctx_in ) + static void CreatePeriod( void *ctx_in ) { RtemsRatemonReqPeriod_Context *ctx = ctx_in; rtems_status_code status; @@ -522,25 +522,25 @@ test-support: | T_rsc_success( status ); } - RTEMS_INLINE_ROUTINE void DeletePeriod( void *ctx_in ) + static void DeletePeriod( void *ctx_in ) { RtemsRatemonReqPeriod_Context *ctx = ctx_in; T_rsc_success( rtems_rate_monotonic_delete( ctx->period_id ) ); } - RTEMS_INLINE_ROUTINE void CancelPeriod( void *ctx_in ) + static void CancelPeriod( void *ctx_in ) { RtemsRatemonReqPeriod_Context *ctx = ctx_in; T_rsc_success( rtems_rate_monotonic_cancel( ctx->period_id ) ); } - RTEMS_INLINE_ROUTINE void CallPeriod( void *ctx_in ) + static void CallPeriod( void *ctx_in ) { RtemsRatemonReqPeriod_Context *ctx = ctx_in; T_rsc_success( CallPeriodFunction( ctx, ctx->period_id, period_length ) ); } - RTEMS_INLINE_ROUTINE void CallPeriodTimeout( void *ctx_in ) + static void CallPeriodTimeout( void *ctx_in ) { RtemsRatemonReqPeriod_Context *ctx = ctx_in; rtems_status_code status; @@ -548,13 +548,13 @@ test-support: | T_rsc( status, RTEMS_TIMEOUT ); } - RTEMS_INLINE_ROUTINE void DoAction( void *ctx_in ) + static void DoAction( void *ctx_in ) { RtemsRatemonReqPeriod_Context *ctx = ctx_in; ctx->status = CallPeriodFunction( ctx, ctx->id_param, ctx->length_param ); } - RTEMS_INLINE_ROUTINE void WorkerTask( unsigned int argument ) + static void WorkerTask( unsigned int argument ) { RtemsRatemonReqPeriod_Context *ctx = (RtemsRatemonReqPeriod_Context *) argument; diff --git a/spec/rtems/timer/req/cancel.yml b/spec/rtems/timer/req/cancel.yml index 2d6a3aad..df410bb4 100644 --- a/spec/rtems/timer/req/cancel.yml +++ b/spec/rtems/timer/req/cancel.yml @@ -344,7 +344,7 @@ test-support: | T_rsc_success( rtems_clock_set( &tod_fire ) ); } - RTEMS_INLINE_ROUTINE void TimerServiceRoutine( + static void TimerServiceRoutine( rtems_id timer_id, void *user_data ) diff --git a/spec/rtems/timer/req/fire-after.yml b/spec/rtems/timer/req/fire-after.yml index cb14adc5..056de7a6 100644 --- a/spec/rtems/timer/req/fire-after.yml +++ b/spec/rtems/timer/req/fire-after.yml @@ -524,7 +524,7 @@ test-support: | return ticks_fired; } - RTEMS_INLINE_ROUTINE void TimerServiceRoutine( + static void TimerServiceRoutine( rtems_id timer_id, void *user_data ) diff --git a/spec/rtems/timer/req/fire-when.yml b/spec/rtems/timer/req/fire-when.yml index aa3b5fae..47a23f5d 100644 --- a/spec/rtems/timer/req/fire-when.yml +++ b/spec/rtems/timer/req/fire-when.yml @@ -587,7 +587,7 @@ test-support: | } } - RTEMS_INLINE_ROUTINE void TimerServiceRoutine( + static void TimerServiceRoutine( rtems_id timer_id, void *user_data ) diff --git a/spec/rtems/timer/req/reset.yml b/spec/rtems/timer/req/reset.yml index 6dd514ac..cf66dbc5 100644 --- a/spec/rtems/timer/req/reset.yml +++ b/spec/rtems/timer/req/reset.yml @@ -521,7 +521,7 @@ test-support: | return ticks_fired; } - RTEMS_INLINE_ROUTINE void TimerServiceRoutineA( + static void TimerServiceRoutineA( rtems_id timer_id, void *user_data ) @@ -532,7 +532,7 @@ test-support: | ctx->routine_user_data = user_data; } - RTEMS_INLINE_ROUTINE void TimerServiceRoutineB( + static void TimerServiceRoutineB( rtems_id timer_id, void *user_data ) diff --git a/spec/rtems/timer/req/server-fire-after.yml b/spec/rtems/timer/req/server-fire-after.yml index bbe9bf9b..92c59496 100644 --- a/spec/rtems/timer/req/server-fire-after.yml +++ b/spec/rtems/timer/req/server-fire-after.yml @@ -580,7 +580,7 @@ test-support: | return ticks_fired; } - RTEMS_INLINE_ROUTINE void TimerServiceRoutine( + static void TimerServiceRoutine( rtems_id timer_id, void *user_data ) @@ -594,7 +594,7 @@ test-support: | * This service routine is used reach branch coverage in an if-statement * which only serves performance optimization. */ - RTEMS_INLINE_ROUTINE void TimerServiceRoutineCover( + static void TimerServiceRoutineCover( rtems_id timer_cover_id, void *user_data ) diff --git a/spec/rtems/timer/req/server-fire-when.yml b/spec/rtems/timer/req/server-fire-when.yml index 5dfc2f56..97f4dbac 100644 --- a/spec/rtems/timer/req/server-fire-when.yml +++ b/spec/rtems/timer/req/server-fire-when.yml @@ -604,7 +604,7 @@ test-support: | } } - RTEMS_INLINE_ROUTINE void TimerServiceRoutine( + static void TimerServiceRoutine( rtems_id timer_id, void *user_data ) -- cgit v1.2.3