Changeset 13dc9c6 in rtems


Ignore:
Timestamp:
Jun 8, 2010, 2:13:27 PM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
68cd765
Parents:
dd4df85
Message:

2010-06-08 Sebastian Huber <sebastian.huber@…>

  • sp16/task1.c: Update for heap extend changes.
Location:
testsuites/sptests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    rdd4df85 r13dc9c6  
     12010-06-08      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * sp16/task1.c: Update for heap extend changes.
     4
    152010-06-08      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
    26
  • testsuites/sptests/sp16/task1.c

    rdd4df85 r13dc9c6  
    230230    status,
    231231    RTEMS_UNSATISFIED,
    232     "rtems_task_get_segment with no memory left"
    233   );
    234   puts( "TA1 - rtems_task_get_segment - RTEMS_UNSATISFIED" );
    235 
    236   puts( "TA1 - rtems_region_extend - extend region 4 by 4K" );
     232    "rtems_region_get_segment with no memory left"
     233  );
     234  puts( "TA1 - rtems_region_get_segment - RTEMS_UNSATISFIED" );
     235
     236  puts( "TA1 - rtems_region_extend - extend region 4 by 1" );
    237237  status = rtems_region_extend(
    238238    Region_id[ 4 ],
    239239    &Area_4[4096],
    240     4096
     240    1
     241  );
     242  fatal_directive_status(
     243    status,
     244    RTEMS_INVALID_ADDRESS,
     245    "rtems_region_extend with too small memory area"
     246  );
     247  puts( "TA1 - rtems_region_extend - RTEMS_INVALID_ADDRESS" );
     248
     249  puts( "TA1 - rtems_region_extend - extend region 4 by 4K - 1" );
     250  status = rtems_region_extend(
     251    Region_id[ 4 ],
     252    (char *) &Area_4[4096] + 1,
     253    4096 - 1
    241254  );
    242255  directive_failed( status, "rtems_region_extend" );
Note: See TracChangeset for help on using the changeset viewer.