Changeset e65f596 in rtems


Ignore:
Timestamp:
Dec 1, 2008, 5:31:11 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
d1200785
Parents:
63ca296
Message:

2008-12-01 Joel Sherrill <joel.sherrill@…>

  • rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/support.h, rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c, rtems/src/workspace.c: Revert ssize_t patch.
Location:
cpukit
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r63ca296 re65f596  
     12008-12-01      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * rtems/include/rtems/rtems/region.h,
     4        rtems/include/rtems/rtems/support.h,
     5        rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
     6        rtems/src/workspace.c: Revert ssize_t patch.
     7
    182008-11-26      Joel Sherrill <joel.sherrill@oarcorp.com>
    29
  • cpukit/rtems/include/rtems/rtems/region.h

    r63ca296 re65f596  
    6767
    6868typedef struct {
    69   /**
    70    * This field is the object management portion of a Region instance.
    71    */
    7269  Objects_Control       Object;
    73 
    74   /**
    75    * This is the set of threads blocked waiting on memory.
    76    */
    77   Thread_queue_Control  Wait_queue;
    78 
    79   /**
    80    * This is the physical starting address of the Region area.
    81    */
    82   void                 *starting_address;
    83 
    84   /**
    85    * This is the physical length (in bytes) of the Region memory.
    86    */
    87   uint32_t              length;
    88 
    89   /**
    90    * This is the physical page size (in bytes) of each allocated segment.
    91    */
    92   uint32_t              page_size;
    93 
    94   /**
    95    * This is the maximum segment size (in bytes) that can ever be allocated
    96    * from this Region.  It is calculated at creation time.
    97    */
    98   uint32_t              maximum_segment_size;
    99 
    100   /**
    101    *  This is the Classic API attribute provided to the create directive.
    102    *  It is translated into behavioral attributes on the SuperCore Heap
    103    *  instance.
    104    */
     70  Thread_queue_Control  Wait_queue;            /* waiting threads        */
     71  void                 *starting_address;      /* physical start addr    */
     72  uint32_t              length;                /* physical length(bytes) */
     73  uint32_t              page_size;             /* in bytes               */
     74  uint32_t              maximum_segment_size;  /* in bytes               */
    10575  rtems_attribute       attribute_set;
    106 
    107   /**
    108    * This is the number of blocks currently allocated from this Region.
    109    */
    110   uint32_t              number_of_used_blocks;
    111 
    112   /**
    113    * This is the Heap instance which implements the core functionality
    114    * of a Region instance.
    115    */
     76  uint32_t              number_of_used_blocks; /* blocks allocated       */
    11677  Heap_Control          Memory;
    11778}  Region_Control;
     
    241202  Objects_Id         id,
    242203  void              *segment,
    243   ssize_t           *size
     204  size_t            *size
    244205);
    245206
     
    283244  Objects_Id  id,
    284245  void       *segment,
    285   ssize_t     size,
    286   ssize_t    *old_size
     246  size_t      size,
     247  size_t     *old_size
    287248);
    288249
  • cpukit/rtems/include/rtems/rtems/support.h

    r63ca296 re65f596  
    8080 */
    8181bool rtems_workspace_allocate(
    82   ssize_t   bytes,
    83   void    **pointer
     82  size_t   bytes,
     83  void   **pointer
    8484);
    8585
  • cpukit/rtems/src/regiongetsegmentsize.c

    r63ca296 re65f596  
    4646  Objects_Id         id,
    4747  void              *segment,
    48   ssize_t           *size
     48  size_t            *size
    4949)
    5050{
  • cpukit/rtems/src/regionresizesegment.c

    r63ca296 re65f596  
    4747  Objects_Id  id,
    4848  void       *segment,
    49   ssize_t     size,
    50   ssize_t    *old_size
     49  size_t      size,
     50  size_t     *old_size
    5151)
    5252{
  • cpukit/rtems/src/workspace.c

    r63ca296 re65f596  
    4040 */
    4141bool rtems_workspace_allocate(
    42   ssize_t   bytes,
    43   void    **pointer
     42  size_t   bytes,
     43  void   **pointer
    4444)
    4545{
Note: See TracChangeset for help on using the changeset viewer.