[rtems-central commit] spec: Do not use RTEMS_INLINE_ROUTINE
Sebastian Huber
sebh at rtems.org
Wed Dec 22 15:24:14 UTC 2021
Module: rtems-central
Branch: master
Commit: 3969e204033d3dea12a0f4f7b61cabcc700868cb
Changeset: http://git.rtems.org/rtems-central/commit/?id=3969e204033d3dea12a0f4f7b61cabcc700868cb
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Dec 10 18:37:44 2021 +0100
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 ecfaef3..2d1d032 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 f9dbdde..b573086 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 2d6a3aa..df410bb 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 cb14adc..056de7a 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 aa3b5fa..47a23f5 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 6dd514a..cf66dbc 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 bbe9bf9..92c5949 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 5dfc2f5..97f4dba 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
)
More information about the vc
mailing list