Changeset 014d541f in rtems


Ignore:
Timestamp:
Aug 4, 2008, 8:45:31 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.8
Children:
c25cea9
Parents:
9f170c9
Message:

2008-08-04 Joel Sherrill <joel.sherrill@…>

PR 1263/doc

  • user/part.t: Improve discussion of alignment and minimum buffer sizes.
Location:
doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/ChangeLog

    r9f170c9 r014d541f  
     12008-08-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        PR 1263/doc
     4        * user/part.t: Improve discussion of alignment and minimum buffer
     5        sizes.
     6
    172008-08-04      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • doc/user/part.t

    r9f170c9 r014d541f  
    11@c
    2 @c  COPYRIGHT (c) 1988-2002.
     2@c  COPYRIGHT (c) 1988-2008.
    33@c  On-Line Applications Research Corporation (OAR).
    44@c  All rights reserved.
     
    4040buffers.  Buffers are obtained from the front of the partition's
    4141free buffer chain and returned to the rear of the same chain.
    42 When a buffer is on the free buffer chain, RTEMS uses eight
    43 bytes of each buffer as the free buffer chain.  When a buffer is
    44 allocated, the entire buffer is available for application use.
     42When a buffer is on the free buffer chain, RTEMS uses two
     43pointers of memory from each buffer as the free buffer chain. 
     44When a buffer is allocated, the entire buffer is available for application use.
    4545Therefore, modifying memory that is outside of an allocated
    4646buffer could destroy the free buffer chain or the contents of an
     
    188188at starting_address and is length bytes in size.  Each allocated
    189189buffer is to be of @code{buffer_size} in bytes.  The assigned
    190 partition id is returned in id.  This partition id is used to
     190partition id is returned in @code{id}.  This partition id is used to
    191191access the partition with other partition related directives.
    192192For control and maintenance of the partition, RTEMS allocates a
     
    198198preempted.
    199199
    200 The starting_address and buffer_size parameters must
    201 be multiples of four.
     200The @code{starting_address} must be properly aligned for the
     201target architecture.
     202
     203Th @code{buffer_size} parameter must be a multiple of
     204the CPU alignment factor.  Additionally, @code{buffer_size}
     205must be large enough to hold two pointers on the target
     206architecture.  This is required for RTEMS to manage the
     207buffers when they are free.
    202208
    203209Memory from the partition is not used by RTEMS to
Note: See TracChangeset for help on using the changeset viewer.