Changeset 60a23875 in rtems


Ignore:
Timestamp:
Apr 8, 2016, 6:13:49 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
c39da818
Parents:
acf7cf3b
git-author:
Sebastian Huber <sebastian.huber@…> (04/08/16 06:13:49)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/12/16 05:36:19)
Message:

rtems: Delete Region_Control::length

Location:
cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/monitor/mon-region.c

    racf7cf3b r60a23875  
    2424    canonical_region->attribute = rtems_region->attribute_set;
    2525    canonical_region->start_addr = (void *) heap->area_begin;
    26     canonical_region->length = rtems_region->length;
     26    canonical_region->length = heap->area_end - heap->area_begin;
    2727    canonical_region->page_size = rtems_region->page_size;
    2828    canonical_region->max_seg_size = rtems_region->maximum_segment_size;
  • cpukit/rtems/include/rtems/rtems/region.h

    racf7cf3b r60a23875  
    6161  Thread_queue_Control  Wait_queue;            /* waiting threads        */
    6262  const Thread_queue_Operations *wait_operations;
    63   uintptr_t             length;                /* physical length(bytes) */
    6463  uintptr_t             page_size;             /* in bytes               */
    6564  uintptr_t             maximum_segment_size;  /* in bytes               */
  • cpukit/rtems/src/regioncreate.c

    racf7cf3b r60a23875  
    8888        return_status = RTEMS_INVALID_SIZE;
    8989      } else {
    90         the_region->length        = length;
    9190        the_region->page_size     = page_size;
    9291        the_region->attribute_set = attribute_set;
  • cpukit/rtems/src/regionextend.c

    racf7cf3b r60a23875  
    4949
    5050  if ( amount_extended > 0 ) {
    51     the_region->length               += amount_extended;
    5251    the_region->maximum_segment_size += amount_extended;
    5352    status = RTEMS_SUCCESSFUL;
Note: See TracChangeset for help on using the changeset viewer.