From 07e7a7f8ce2f1f7570dc048d1e46fbfdeefb79ca Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 7 May 2014 08:13:44 +0200 Subject: score: Documentation --- cpukit/score/include/rtems/score/isrlock.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'cpukit/score/include/rtems/score/isrlock.h') diff --git a/cpukit/score/include/rtems/score/isrlock.h b/cpukit/score/include/rtems/score/isrlock.h index d36b604047..80a8a0b38a 100644 --- a/cpukit/score/include/rtems/score/isrlock.h +++ b/cpukit/score/include/rtems/score/isrlock.h @@ -69,6 +69,9 @@ typedef struct { /** * @brief Initializer for static initialization of ISR locks. + * + * @param _name The name for the interrupt lock. It must be a string. The + * name is only used if profiling is enabled. */ #if defined( RTEMS_SMP ) #define ISR_LOCK_INITIALIZER( name ) \ @@ -84,8 +87,9 @@ typedef struct { * Concurrent initialization leads to unpredictable results. * * @param[in,out] lock The ISR lock control. - * @param[in] name The name for the ISR lock. This name must be persistent - * throughout the life time of this lock. + * @param[in] _name The name for the ISR lock. This name must be a + * string persistent throughout the life time of this lock. The name is only + * used if profiling is enabled. */ static inline void _ISR_lock_Initialize( ISR_lock_Control *lock, -- cgit v1.2.3