mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
@@ -237,6 +237,12 @@ static T_fixture RtemsSemValPerf_Fixture = {
|
||||
.initial_context = &RtemsSemValPerf_Instance
|
||||
};
|
||||
|
||||
/**
|
||||
* @defgroup RtemsSemReqPerfMtxPiObtain spec:/rtems/sem/req/perf-mtx-pi-obtain
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Obtain the available mutex.
|
||||
*/
|
||||
@@ -289,6 +295,15 @@ static bool RtemsSemReqPerfMtxPiObtain_Teardown_Wrap(
|
||||
return RtemsSemReqPerfMtxPiObtain_Teardown( ctx, delta, tic, toc, retry );
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @defgroup RtemsSemReqPerfMtxPiRelease \
|
||||
* spec:/rtems/sem/req/perf-mtx-pi-release
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Obtain the mutex.
|
||||
*/
|
||||
@@ -351,6 +366,15 @@ static bool RtemsSemReqPerfMtxPiRelease_Teardown_Wrap(
|
||||
return RtemsSemReqPerfMtxPiRelease_Teardown( ctx, delta, tic, toc, retry );
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @defgroup RtemsSemReqPerfMtxPiReleaseOne \
|
||||
* spec:/rtems/sem/req/perf-mtx-pi-release-one
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Let one task wait on the mutex.
|
||||
*/
|
||||
@@ -427,7 +451,16 @@ static bool RtemsSemReqPerfMtxPiReleaseOne_Teardown_Wrap(
|
||||
);
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
#if defined(RTEMS_SMP)
|
||||
/**
|
||||
* @defgroup RtemsSemReqPerfMtxPiReleaseOtherCpu \
|
||||
* spec:/rtems/sem/req/perf-mtx-pi-release-other-cpu
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Move worker to scheduler B.
|
||||
*/
|
||||
@@ -526,8 +559,17 @@ static void RtemsSemReqPerfMtxPiReleaseOtherCpu_Cleanup(
|
||||
{
|
||||
SetScheduler( ctx->worker_id, SCHEDULER_A_ID, PRIO_HIGH );
|
||||
}
|
||||
|
||||
/** @} */
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @defgroup RtemsSemReqPerfMtxPiReleasePreempt \
|
||||
* spec:/rtems/sem/req/perf-mtx-pi-release-preempt
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Let one task wait on the mutex.
|
||||
*/
|
||||
@@ -605,6 +647,14 @@ static bool RtemsSemReqPerfMtxPiReleasePreempt_Teardown_Wrap(
|
||||
);
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @defgroup RtemsSemReqPerfMtxPiTry spec:/rtems/sem/req/perf-mtx-pi-try
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Make the mutex unavailable.
|
||||
*/
|
||||
@@ -667,6 +717,15 @@ static void RtemsSemReqPerfMtxPiTry_Cleanup( RtemsSemValPerf_Context *ctx )
|
||||
Send( ctx, EVENT_RELEASE );
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @defgroup RtemsSemReqPerfMtxPiWaitForever \
|
||||
* spec:/rtems/sem/req/perf-mtx-pi-wait-forever
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Make the mutex unavailable.
|
||||
*/
|
||||
@@ -751,6 +810,15 @@ static bool RtemsSemReqPerfMtxPiWaitForever_Teardown_Wrap(
|
||||
);
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @defgroup RtemsSemReqPerfMtxPiWaitTimed \
|
||||
* spec:/rtems/sem/req/perf-mtx-pi-wait-timed
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Make the mutex unavailable.
|
||||
*/
|
||||
@@ -825,6 +893,8 @@ static bool RtemsSemReqPerfMtxPiWaitTimed_Teardown_Wrap(
|
||||
return RtemsSemReqPerfMtxPiWaitTimed_Teardown( ctx, delta, tic, toc, retry );
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @fn void T_case_body_RtemsSemValPerf( void )
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user