Changeset 20f02c6 in rtems


Ignore:
Timestamp:
Nov 28, 2009, 5:58:54 AM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
e447c7d2
Parents:
1c9a4c75
Message:

Whitespace removal.

Location:
cpukit/score/include/rtems/score
Files:
34 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/address.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/address.h
    33 *
  • cpukit/score/include/rtems/score/apimutex.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 * @file
    33 *
  • cpukit/score/include/rtems/score/bitfield.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/bitfield.h
    33 *
     
    3838 *  a highly optimized bit scan without the use of special CPU
    3939 *  instructions.
    40  */ 
     40 */
    4141#ifndef SCORE_INIT
    4242extern const unsigned char __log2table[256];
  • cpukit/score/include/rtems/score/chain.h

    r1c9a4c75 r20f02c6  
    147147 *
    148148 *  This routine inserts @a the_node on a chain immediately following
    149  *  @a after_node. 
     149 *  @a after_node.
    150150 *
    151151 *  @note It disables interrupts to ensure the atomicity
  • cpukit/score/include/rtems/score/context.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/context.h
    33 *
     
    5858 *
    5959 *  @param[in] _the_context will be initialized
    60  *  @param[in] _stack is the lowest physical address of the thread's 
     60 *  @param[in] _stack is the lowest physical address of the thread's
    6161 *         context
    6262 *  @param[in] _size is the size in octets of the thread's context
  • cpukit/score/include/rtems/score/copyrt.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/copyrt.h
    33 *
  • cpukit/score/include/rtems/score/corebarrier.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/corebarrier.h
    33 *
  • cpukit/score/include/rtems/score/coremsg.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/coremsg.h
    33 *
     
    107107}   CORE_message_queue_Disciplines;
    108108
    109 /** 
     109/**
    110110 *  @brief Message Priority for Appending
    111111 *
     
    115115#define  CORE_MESSAGE_QUEUE_SEND_REQUEST   INT_MAX
    116116
    117 /** 
     117/**
    118118 *  @brief Message Priority for Prepending
    119119 *
     
    229229  CORE_message_queue_Buffer         *message_buffers;
    230230  #if defined(RTEMS_SCORE_COREMSG_ENABLE_NOTIFICATION)
    231     /** This is the routine invoked when the message queue transitions 
     231    /** This is the routine invoked when the message queue transitions
    232232     *  from zero (0) messages pending to one (1) message pending.
    233233     */
     
    256256 *
    257257 *  @return true if the message queue can be initialized.  In general,
    258  *         false will only be returned if memory for the pending 
     258 *         false will only be returned if memory for the pending
    259259 *         messages cannot be allocated.
    260260 */
     
    338338 *  @param[in] id is the RTEMS object Id associated with this message queue.
    339339 *         It is used when unblocking a remote thread.
    340  *  @param[in] api_message_queue_mp_support is the routine to invoke if 
     340 *  @param[in] api_message_queue_mp_support is the routine to invoke if
    341341 *         a thread that is unblocked is actually a remote thread.
    342342 *  @param[out] count points to the variable that will contain the
     
    369369 *  @param[in] id is the RTEMS object Id associated with this message queue.
    370370 *         It is used when unblocking a remote thread.
    371  *  @param[in] api_message_queue_mp_support is the routine to invoke if 
     371 *  @param[in] api_message_queue_mp_support is the routine to invoke if
    372372 *         a thread that is unblocked is actually a remote thread.
    373373 *  @param[in] submit_type determines whether the message is prepended,
     
    409409 *  @param[in] timeout is the maximum number of clock ticks that the calling
    410410 *         thread is willing to block if the message queue is empty.
    411  * 
     411 *
    412412 *  @return indication of the successful completion or reason for failure
    413413 *  @note Returns message priority via return are in TCB.
  • cpukit/score/include/rtems/score/coremutex.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/coremutex.h
    33 *
     
    7272  CORE_MUTEX_DISCIPLINES_PRIORITY_CEILING
    7373}   CORE_mutex_Disciplines;
    74  
     74
    7575/**
    7676 *  @brief Mutex method return statuses
     
    196196/*@beief Core Mutex Lock_Chain Struct
    197197 *
    198  * The following defines the control block used to manage lock chain of 
     198 * The following defines the control block used to manage lock chain of
    199199 * priority inheritance mutex.
    200200 */
     
    246246  CORE_mutex_order_list   queue;
    247247#endif
    248  
     248
    249249}   CORE_mutex_Control;
    250250
     
    311311   *  The default is to favor speed and inlining this definitely saves
    312312   *  a few instructions.  This is very important for mutex performance.
    313    * 
     313   *
    314314   *  @param[in] _mutex will attempt to lock
    315315   *  @param[in] _level_p is the interrupt level holder
     
    350350 *  @note If the mutex is called from an interrupt service routine,
    351351 *        with context switching disabled, or before multitasking,
    352  *        then a fatal error is generated. 
     352 *        then a fatal error is generated.
    353353 *
    354354 *  The logic on this routine is as follows:
    355355 *
    356356 *  * If incorrect system state
    357  *      return an error 
     357 *      return an error
    358358 *  * If mutex is available without any contention or blocking
    359359 *      obtain it with interrupts disabled and returned
    360360 *  * If the caller is willing to wait
    361  *      then they are blocked. 
     361 *      then they are blocked.
    362362 */
    363363
  • cpukit/score/include/rtems/score/corerwlock.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/corerwlock.h
    33 *
  • cpukit/score/include/rtems/score/coresem.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/coresem.h
    33 *
  • cpukit/score/include/rtems/score/corespinlock.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/corespinlock.h
    33 *
     
    5151  CORE_SPINLOCK_NOT_HOLDER,
    5252  /** This status indicates that a thread reached the limit of time it
    53    *  was willing to wait on the spin lock. 
     53   *  was willing to wait on the spin lock.
    5454   */
    5555  CORE_SPINLOCK_TIMEOUT,
    5656  /** This status indicates that a thread is currently waiting for this
    57    *  spin lock. 
     57   *  spin lock.
    5858   */
    5959  CORE_SPINLOCK_IS_BUSY,
     
    9393typedef struct {
    9494  /** XXX may not be needed */
    95   CORE_spinlock_Attributes  Attributes; 
     95  CORE_spinlock_Attributes  Attributes;
    9696
    9797  /** This field is the lock.
  • cpukit/score/include/rtems/score/interr.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/interr.h
    33 *
  • cpukit/score/include/rtems/score/isr.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/isr.h
    33 *
     
    200200 *
    201201 *  It should be called at the end of interrupt processing.  The interrupt nest
    202  *  level must be zero before calling this routine. 
     202 *  level must be zero before calling this routine.
    203203 *
    204204 *  This is a high level replacement of _ISR_Dispatch().  It must be invoked
  • cpukit/score/include/rtems/score/mpci.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/mpci.h
    33 *
     
    2424 *
    2525 *  The MPCI Handler encapsulates functionality which is related to the
    26  *  generation, receipt, and processing of remote operations in a 
     26 *  generation, receipt, and processing of remote operations in a
    2727 *  multiprocessor system.  This handler contains the message passing
    2828 *  support for making remote service calls as well as the server thread
     
    6868/**
    6969 *  This type defines the prototype for the get packet entry point
    70  *  in an Multiprocessor Communications Interface.  The single 
     70 *  in an Multiprocessor Communications Interface.  The single
    7171 *  parameter will point to the packet allocated.
    7272 */
     
    7777/**
    7878 *  This type defines the prototype for the return packet entry point
    79  *  in an Multiprocessor Communications Interface.  The single 
     79 *  in an Multiprocessor Communications Interface.  The single
    8080 *  parameter will point to a packet previously allocated by the
    8181 *  get packet MPCI entry.
     
    8787/**
    8888 *  This type defines the prototype for send get packet entry point
    89  *  in an Multiprocessor Communications Interface.  The single 
     89 *  in an Multiprocessor Communications Interface.  The single
    9090 *  parameter will point to a packet previously allocated by the
    9191 *  get packet entry point that has been filled in by the caller.
     
    9898/**
    9999 *  This type defines the prototype for the receive packet entry point
    100  *  in an Multiprocessor Communications Interface.  The single 
     100 *  in an Multiprocessor Communications Interface.  The single
    101101 *  parameter will point to a packet allocated and filled in by the
    102102 *  receive packet handler.  The caller will block until a packet is
     
    119119  uint32_t                   default_timeout;
    120120  /** This field contains the maximum size of a packet supported by this
    121    *  MPCI layer.  This size places a limit on the size of a message 
     121   *  MPCI layer.  This size places a limit on the size of a message
    122122   *  which can be transmitted over this interface.
    123123   **/
     
    162162   */
    163163  uint32_t                         maximum_nodes;
    164   /** This field is the maximum number of concurrently existent 
     164  /** This field is the maximum number of concurrently existent
    165165   *  globally offered objects.
    166166   */
     
    222222 *  @param[in] the_class is the class indicator for packets which will
    223223 *             be processed by @a the_packet_processor method.
    224  *  @param[in] the_packet_processor is a pointer to a method which is 
     224 *  @param[in] the_packet_processor is a pointer to a method which is
    225225 *             invoked when packets with @a the_class are received.
    226226 */
     
    310310 *
    311311 *  @return This method returns a pointer to the thread which was if unblocked
    312  *          or NULL if the waiting thread no longer exists. 
     312 *          or NULL if the waiting thread no longer exists.
    313313 */
    314314Thread_Control *_MPCI_Process_response (
  • cpukit/score/include/rtems/score/mppkt.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/mppkt.h
    33 *
  • cpukit/score/include/rtems/score/object.h

    r1c9a4c75 r20f02c6  
    553553/**
    554554 *  This macro is used to build a thirty-two bit style name from
    555  *  four characters.  The most significant byte will be the 
     555 *  four characters.  The most significant byte will be the
    556556 *  character @a _C1.
    557557 *
     
    606606 *  @param[in] id will contain the Id if the search is successful.
    607607 *
    608  *  @return This method returns one of the values from the 
     608 *  @return This method returns one of the values from the
    609609 *          @ref Objects_Name_or_id_lookup_errors enumeration to indicate
    610610 *          successful or failure.  On success @a id will contain the Id of
     
    627627 *  @param[in] id will contain the Id if the search is successful.
    628628 *
    629  *  @return This method returns one of the values from the 
     629 *  @return This method returns one of the values from the
    630630 *          @ref Objects_Name_or_id_lookup_errors enumeration to indicate
    631631 *          successful or failure.  On success @a id will contain the Id of
     
    647647 *  @param[in] name will contain the name of the object, if found.
    648648 *
    649  *  @return This method returns one of the values from the 
     649 *  @return This method returns one of the values from the
    650650 *          @ref Objects_Name_or_id_lookup_errors enumeration to indicate
    651651 *          successful or failure.  On success @a name will contain the name of
     
    673673 *  @param[in] location will contain an indication of success or failure.
    674674 *
    675  *  @return This method returns one of the values from the 
     675 *  @return This method returns one of the values from the
    676676 *          @ref Objects_Name_or_id_lookup_errors enumeration to indicate
    677677 *          successful or failure.  On success @a id will contain the Id of
     
    704704 *  @param[in] level is the interrupt level being turned.
    705705 *
    706  *  @return This method returns one of the values from the 
     706 *  @return This method returns one of the values from the
    707707 *          @ref Objects_Name_or_id_lookup_errors enumeration to indicate
    708708 *          successful or failure.  On success @a name will contain the name of
     
    733733 *  @return This method returns a pointer to the object associated with ID.
    734734 *
    735  *  @return This method returns one of the values from the 
     735 *  @return This method returns one of the values from the
    736736 *          @ref Objects_Name_or_id_lookup_errors enumeration to indicate
    737737 *          successful or failure.  On success @a id will contain the id of
     
    763763 *  @param[in] location will contain an indication of success or failure.
    764764 *
    765  *  @return This method returns one of the values from the 
     765 *  @return This method returns one of the values from the
    766766 *          @ref Objects_Name_or_id_lookup_errors enumeration to indicate
    767767 *          successful or failure.  On success @a id will contain the Id of
     
    787787 *  @param[in] next_id_p is the Id of the next object we will look at.
    788788 *
    789  *  @return This method returns the pointer to the object located or 
     789 *  @return This method returns the pointer to the object located or
    790790 *          NULL on error.
    791791 */
  • cpukit/score/include/rtems/score/objectmp.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/objectmp.h
    33 *
  • cpukit/score/include/rtems/score/priority.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/priority.h
    33 *
     
    2727 *  thread priorities.  At the SuperCore level 256 priority levels
    2828 *  are supported with lower numbers representing logically more important
    29  *  threads.  The priority level 0 is reserved for internal RTEMS use. 
    30  *  Typically it is assigned to threads which defer internal RTEMS 
     29 *  threads.  The priority level 0 is reserved for internal RTEMS use.
     30 *  Typically it is assigned to threads which defer internal RTEMS
    3131 *  actions from an interrupt to thread level to improve interrupt response.
    3232 *  Priority level 255 is assigned to the IDLE thread and really should not
  • cpukit/score/include/rtems/score/stack.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/stack.h
    33 *
  • cpukit/score/include/rtems/score/states.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/states.h
    33 *
     
    2222 *  @defgroup ScoreStates Thread States Handler
    2323 *
    24  *  This handler encapsulates functionality which relates to the management of 
     24 *  This handler encapsulates functionality which relates to the management of
    2525 *  the state bitmap associated with each thread.
    2626 */
     
    9898                                 STATES_WAITING_FOR_SIGNAL             | \
    9999                                 STATES_WAITING_FOR_BARRIER            | \
    100                                  STATES_WAITING_FOR_RWLOCK             ) 
     100                                 STATES_WAITING_FOR_RWLOCK             )
    101101
    102102/** This macro corresponds to a task waiting which is blocked on
  • cpukit/score/include/rtems/score/sysstate.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 * @file
    33 *
     
    5151
    5252  /**
    53    * @brief The system is attempting to initiate multitasking. 
     53   * @brief The system is attempting to initiate multitasking.
    5454   */
    5555  SYSTEM_STATE_BEGIN_MULTITASKING,
  • cpukit/score/include/rtems/score/thread.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/thread.h
    33 *
     
    9393/**
    9494 *  @brief Type of the numeric argument of a thread entry function with at
    95  *  least one numeric argument. 
     95 *  least one numeric argument.
    9696 *
    9797 *  This numeric argument type designates an unsigned integer type with the
     
    275275  uint32_t              option;
    276276  /** This field will contain the return status from a blocking operation.
    277    * 
     277   *
    278278   *  @note The following assumes that all API return codes can be
    279279   *        treated as an uint32_t.
     
    281281  uint32_t              return_code;
    282282
    283   /** This field is the chain header for the second through Nth tasks 
     283  /** This field is the chain header for the second through Nth tasks
    284284   *  of the same priority blocked waiting on the same object.
    285285   */
     
    378378  bool                                  is_global;
    379379#endif
    380   /** This field is is true if the post task context switch should be 
     380  /** This field is is true if the post task context switch should be
    381381   *  executed for this thread at the next context switch.
    382382   */
  • cpukit/score/include/rtems/score/threadmp.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/threadmp.h
    33 *
     
    2323 *  @defgroup ScoreThreadMP Thread Handler Multiprocessing Support
    2424 *
    25  *  This handler encapsulates functionality which is related to managing 
     25 *  This handler encapsulates functionality which is related to managing
    2626 *  threads in a multiprocessor system configuration.  This handler must
    2727 *  manage proxies which represent remote threads blocking on local
  • cpukit/score/include/rtems/score/threadq.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/threadq.h
    33 *
     
    8282    _timeout, \
    8383    _Thread_queue_Timeout )
    84  
     84
    8585
    8686/** @brief  Thread queue Enqueue
     
    193193  Thread_queue_Control *the_thread_queue,
    194194  Thread_Control       *the_thread,
    195   bool                  requeuing 
     195  bool                  requeuing
    196196);
    197197
     
    274274 * @brief Process Thread Queue Timeout
    275275 *
    276  * This is a shared helper routine which makes it easier to have multiple 
     276 * This is a shared helper routine which makes it easier to have multiple
    277277 * object class specific timeout routines.
    278278 *
  • cpukit/score/include/rtems/score/threadsync.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/threadsync.h
    33 *
    44 *  This include file contains all constants and structures associated
    5  *  with synchronizing a thread blocking operation with potential 
     5 *  with synchronizing a thread blocking operation with potential
    66 *  actions in an ISR.
    77 */
  • cpukit/score/include/rtems/score/timespec.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/timespec.h
    33 *
     
    9090 *  @param[in] time is the timespec instance to validate.
    9191 *
    92  *  @return This method returns true if @a time is valid and 
     92 *  @return This method returns true if @a time is valid and
    9393 *          false otherwise.
    9494 */
     
    104104 *  @param[in] rhs is the right hand side timespec
    105105 *
    106  *  @return This method returns true if @a lhs is less than the @a rhs and 
     106 *  @return This method returns true if @a lhs is less than the @a rhs and
    107107 *          false otherwise.
    108108 */
     
    119119 *  @param[in] rhs is the right hand side timespec
    120120 *
    121  *  @return This method returns true if @a lhs is greater than the @a rhs and 
     121 *  @return This method returns true if @a lhs is greater than the @a rhs and
    122122 *          false otherwise.
    123123 */
     
    134134 *  @param[in] rhs is the right hand side timespec
    135135 *
    136  *  @return This method returns true if @a lhs is equal to  @a rhs and 
     136 *  @return This method returns true if @a lhs is equal to  @a rhs and
    137137 *          false otherwise.
    138138 */
     
    148148 *
    149149 *  @param[in] time is the base time to be added to
    150  *  @param[in] add is the timespec to add to the first argument 
     150 *  @param[in] add is the timespec to add to the first argument
    151151 *
    152152 *  @return This method returns the number of seconds @a time increased by.
     
    203203 *
    204204 *  This routine divides a timespec by an integer value.  The expected
    205  *  use is to assist in benchmark calculations where you typically 
     205 *  use is to assist in benchmark calculations where you typically
    206206 *  divide a duration by a number of iterations.
    207207 *
     
    220220/** @brief Divide Timespec
    221221 *
    222  *  This routine divides a timespec by another timespec.  The 
     222 *  This routine divides a timespec by another timespec.  The
    223223 *  intended use is for calculating percentages to three decimal points.
    224224 *
  • cpukit/score/include/rtems/score/timestamp.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/timestamp.h
    33 *
     
    4949 *
    5050 *  These control which implementation of SuperCore Timestamp is used.
    51  * 
     51 *
    5252 *  if defined(CPU_RTEMS_SCORE_TIMESTAMP_IS_STRUCT_SPEC)
    5353 *     struct timespec is used
     
    6464 *  =============================================
    6565 *
    66  *  On PowerPC/psim, inlined int64_t saves ~50 instructions on each 
     66 *  On PowerPC/psim, inlined int64_t saves ~50 instructions on each
    6767 *    _Thread_Dispatch operation which results in a context switch.
    6868 *    This works out to be about 10% faster dispatches and 7.5% faster
     
    7070 *    and from tm02 and tm26.
    7171 *
    72  *                         timespec  int64  inlined int64 
     72 *                         timespec  int64  inlined int64
    7373 *    dispatch:              446      446      400
    7474 *    blocking sem obtain:   627      626      581
     
    7777 *    The following numbers are in microseconds and from tm02 and tm26.
    7878 *
    79  *                         timespec  int64  inlined int64 
     79 *                         timespec  int64  inlined int64
    8080 *    dispatch:               59       61       53
    8181 *    blocking sem obtain:    98      100       92
     
    8383 *  Inlining appears to have a tendency to increase the size of
    8484 *    some executables.
    85  *  Not inlining reduces the execution improvement but does not seem to 
     85 *  Not inlining reduces the execution improvement but does not seem to
    8686 *    be an improvement on the PowerPC and SPARC. The struct timespec
    8787 *    and the executables with int64 not inlined are about the same size.
     
    169169 *  @param[in] _time points to the timestamp instance to validate.
    170170 *
    171  *  @return This method returns true if @a time is valid and 
     171 *  @return This method returns true if @a time is valid and
    172172 *          false otherwise.
    173173 */
     
    187187 *  @param[in] _rhs points to the right hand side timestamp
    188188 *
    189  *  @return This method returns true if @a _lhs is less than the @a _rhs and 
     189 *  @return This method returns true if @a _lhs is less than the @a _rhs and
    190190 *          false otherwise.
    191191 */
     
    205205 *  @param[in] _rhs points to the right hand side timestamp
    206206 *
    207  *  @return This method returns true if @a _lhs is greater than the @a _rhs and 
     207 *  @return This method returns true if @a _lhs is greater than the @a _rhs and
    208208 *          false otherwise.
    209209 */
     
    223223 *  @param[in] _rhs points to the right hand side timestamp
    224224 *
    225  *  @return This method returns true if @a _lhs is equal to  @a _rhs and 
     225 *  @return This method returns true if @a _lhs is equal to  @a _rhs and
    226226 *          false otherwise.
    227227 */
     
    240240 *
    241241 *  @param[in] _time points to the base time to be added to
    242  *  @param[in] _add points to the timestamp to add to the first argument 
     242 *  @param[in] _add points to the timestamp to add to the first argument
    243243 *
    244244 *  @return This method returns the number of seconds @a time increased by.
     
    256256 *  This routine adds two timestamps.  The second argument is added
    257257 *  to the first.
    258  * 
     258 *
    259259 *  @node This routine places a special requirement on the addition
    260260 *        operation.  It must return the number of units that the
     
    264264 *
    265265 *  @param[in] _time points to the base time to be added to
    266  *  @param[in] _add points to the timestamp to add to the first argument 
     266 *  @param[in] _add points to the timestamp to add to the first argument
    267267 *
    268268 *  @return This method returns the number of seconds @a time increased by.
     
    332332 *
    333333 *  This routine divides a timestamp by an integer value.  The expected
    334  *  use is to assist in benchmark calculations where you typically 
     334 *  use is to assist in benchmark calculations where you typically
    335335 *  divide a duration by a number of iterations.
    336336 *
     
    351351/** @brief Divide Timestamp
    352352 *
    353  *  This routine divides a timestamp by another timestamp.  The 
     353 *  This routine divides a timestamp by another timestamp.  The
    354354 *  intended use is for calculating percentages to three decimal points.
    355355 *
     
    411411  /* in this case we know they are the same type so use simple assignment */
    412412  #define _Timestamp_To_timespec( _timestamp, _timespec  ) \
    413           *(_timespec) = *(_timestamp) 
     413          *(_timespec) = *(_timestamp)
    414414#else
    415415  #define _Timestamp_To_timespec( _timestamp, _timespec  ) \
  • cpukit/score/include/rtems/score/timestamp64.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/timestamp64.h
    33 *
    4  *  This include file contains helpers for manipulating 
     4 *  This include file contains helpers for manipulating
    55 *  64-bit integer timestamps.
    66 */
     
    9797 *  @param[in] _time points to the timestamp instance to validate.
    9898 *
    99  *  @return This method returns true if @a time is valid and 
     99 *  @return This method returns true if @a time is valid and
    100100 *          false otherwise.
    101101 */
     
    110110 *  @param[in] _rhs points to the right hand side timestamp
    111111 *
    112  *  @return This method returns true if @a _lhs is less than the @a _rhs and 
     112 *  @return This method returns true if @a _lhs is less than the @a _rhs and
    113113 *          false otherwise.
    114114 */
     
    130130 *  @param[in] _rhs points to the right hand side timestamp
    131131 *
    132  *  @return This method returns true if @a _lhs is greater than the @a _rhs and 
     132 *  @return This method returns true if @a _lhs is greater than the @a _rhs and
    133133 *          false otherwise.
    134134 */
     
    150150 *  @param[in] _rhs points to the right hand side timestamp
    151151 *
    152  *  @return This method returns true if @a _lhs is equal to  @a _rhs and 
     152 *  @return This method returns true if @a _lhs is equal to  @a _rhs and
    153153 *          false otherwise.
    154154 */
     
    169169 *
    170170 *  @param[in] _time points to the base time to be added to
    171  *  @param[in] _add points to the timestamp to add to the first argument 
     171 *  @param[in] _add points to the timestamp to add to the first argument
    172172 *
    173173 *  @return This method returns the number of seconds @a time increased by.
     
    187187 *  This routine adds two timestamps.  The second argument is added
    188188 *  to the first.
    189  * 
     189 *
    190190 *  @node This routine places a special requirement on the addition
    191191 *        operation.  It must return the number of units that the
     
    195195 *
    196196 *  @param[in] _time points to the base time to be added to
    197  *  @param[in] _add points to the timestamp to add to the first argument 
     197 *  @param[in] _add points to the timestamp to add to the first argument
    198198 *
    199199 *  @return This method returns the number of seconds @a time increased by.
     
    266266 *
    267267 *  This routine divides a timestamp by an integer value.  The expected
    268  *  use is to assist in benchmark calculations where you typically 
     268 *  use is to assist in benchmark calculations where you typically
    269269 *  divide a duration by a number of iterations.
    270270 *
     
    290290/** @brief Divide Timestamp
    291291 *
    292  *  This routine divides a timestamp by another timestamp.  The 
     292 *  This routine divides a timestamp by another timestamp.  The
    293293 *  intended use is for calculating percentages to three decimal points.
    294294 *
  • cpukit/score/include/rtems/score/tod.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/tod.h
    33 *
     
    113113 *  @defgroup ScoreTOD Time Of Day (TOD) Handler
    114114 *
    115  *  This handler encapsulates functionality used to manage time of day. 
     115 *  This handler encapsulates functionality used to manage time of day.
    116116 */
    117117/**@{*/
     
    159159 *
    160160 *  This routine returns the current time of day with potential accuracy
    161  *  to the nanosecond. 
     161 *  to the nanosecond.
    162162 *
    163163 *  @param[in] time is a pointer to the time to be returned
     
    170170 *
    171171 *  This routine returns the system uptime with potential accuracy
    172  *  to the nanosecond. 
     172 *  to the nanosecond.
    173173 *
    174174 *  @param[in] time is a pointer to the uptime to be returned
     
    181181 *
    182182 *  This routine returns the system uptime with potential accuracy
    183  *  to the nanosecond. 
     183 *  to the nanosecond.
    184184 *
    185185 *  @param[in] time is a pointer to the uptime to be returned
  • cpukit/score/include/rtems/score/tqdata.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/tqdata.h
    33 *
  • cpukit/score/include/rtems/score/userext.h

    r1c9a4c75 r20f02c6  
    140140 * _Thread_Stop_multitasking() are not covered by this extension.  The
    141141 * executing thread may run with a minimal setup, for example with a freed task
    142  * stack. 
     142 * stack.
    143143 */
    144144typedef void( *User_extensions_thread_switch_extension )(
  • cpukit/score/include/rtems/score/watchdog.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/watchdog.h
    33 *
     
    5959
    6060/** @brief Watchdog Service Routine Return Type
    61  * 
     61 *
    6262 *  This type defines the return type from a Watchdog Service Routine.
    6363 */
     
    198198 *  This routine removes @a the_watchdog from the watchdog chain on which
    199199 *  it resides and returns the state @a the_watchdog timer was in.
    200  * 
     200 *
    201201 *  @param[in] the_watchdog will be removed
    202202 *  @return the state in which @a the_watchdog was in when removed
     
    243243 *
    244244 *  This routine inserts @a the_watchdog into the @a header watchdog chain
    245  *  for a time of @a units. 
     245 *  for a time of @a units.
    246246 *
    247247 *  @param[in] header is @a the_watchdog list to insert @a the_watchdog on
  • cpukit/score/include/rtems/score/wkspace.h

    r1c9a4c75 r20f02c6  
    1 /** 
     1/**
    22 *  @file  rtems/score/wkspace.h
    33 *
     
    3838/** @brief Executive Workspace Control
    3939 *
    40  *  The is the heap control structure that used to manage the 
     40 *  The is the heap control structure that used to manage the
    4141 *  RTEMS Executive Workspace.
    4242 */
Note: See TracChangeset for help on using the changeset viewer.