Changeset 74e8ad7 in rtems


Ignore:
Timestamp:
Nov 20, 2008, 9:11:38 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.9
Children:
cc107c9
Parents:
00615127
Message:

2008-11-20 Joel Sherrill <joel.sherrill@…>

PR 1340/cpukit

  • sapi/inline/rtems/chain.inl: Add rtems_chain_initialize to public chain API.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r00615127 r74e8ad7  
     12008-11-20      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        PR 1340/cpukit
     4        * sapi/inline/rtems/chain.inl: Add rtems_chain_initialize to public
     5        chain API.
     6
    172008-11-13      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • cpukit/sapi/inline/rtems/chain.inl

    r00615127 r74e8ad7  
    3838
    3939/**
     40 *  @brief Initialize a Chain Header
     41 *
     42 *  This routine initializes @a the_chain structure to manage the
     43 *  contiguous array of @a number_nodes nodes which starts at
     44 *  @a starting_address.  Each node is of @a node_size bytes.
     45 *
     46 *  @param[in] the_chain specifies the chain to initialize
     47 *  @param[in] starting_address is the starting address of the array
     48 *         of elements
     49 *  @param[in] number_nodes is the number of nodes that will be in the chain
     50 *  @param[in] node_size is the size of each node
     51 */
     52RTEMS_INLINE_ROUTINE void rtems_chain_initialize(
     53  rtems_chain_control *the_chain,
     54  void                *starting_address,
     55  size_t               number_nodes,
     56  size_t               node_size
     57)
     58{
     59  _Chain_Initialize( the_chain, starting_address, number_nodes, node_size );
     60}
     61
     62/**
    4063 *  @brief Initialize this Chain as Empty
    4164 *
Note: See TracChangeset for help on using the changeset viewer.