summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/clock.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-09-02 10:38:29 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-09-05 15:46:32 +0200
commite77006728372b998685ff1e425ed56da46555feb (patch)
tree653196f39d52da901420420bc206cce3d63e506e /cpukit/include/rtems/rtems/clock.h
parentAdd items to Doxygen groups (diff)
downloadrtems-e77006728372b998685ff1e425ed56da46555feb.tar.bz2
rtems: Add constraints for rtems_clock_tick()
Diffstat (limited to '')
-rw-r--r--cpukit/include/rtems/rtems/clock.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/cpukit/include/rtems/rtems/clock.h b/cpukit/include/rtems/rtems/clock.h
index 7247b483db..7b460ea4fb 100644
--- a/cpukit/include/rtems/rtems/clock.h
+++ b/cpukit/include/rtems/rtems/clock.h
@@ -1135,6 +1135,18 @@ static inline bool rtems_clock_tick_before( rtems_interval ticks )
* @par Notes
* The directive is a legacy interface. It should not be called by
* applications directly. A Clock Driver may call this directive.
+ *
+ * @par Constraints
+ * @parblock
+ * The following constraints apply to this directive:
+ *
+ * * The directive may be called from within interrupt context.
+ *
+ * * The directive may be called from within device driver initialization
+ * context.
+ *
+ * * The directive may be called from within task context.
+ * @endparblock
*/
rtems_status_code rtems_clock_tick( void );