* sp16/task1.c: Update for heap extend changes.
This commit is contained in:
Sebastian Huber
2010-06-08 14:13:27 +00:00
parent dd4df85bbb
commit 13dc9c6ae7
2 changed files with 21 additions and 4 deletions
+4
View File
@@ -1,3 +1,7 @@
2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sp16/task1.c: Update for heap extend changes.
2010-06-08 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* spfifo01/init.c, spfifo01/spfifo01.scn: Update for IMFS API changes.
+17 -4
View File
@@ -229,15 +229,28 @@ rtems_test_pause();
fatal_directive_status(
status,
RTEMS_UNSATISFIED,
"rtems_task_get_segment with no memory left"
"rtems_region_get_segment with no memory left"
);
puts( "TA1 - rtems_task_get_segment - RTEMS_UNSATISFIED" );
puts( "TA1 - rtems_region_get_segment - RTEMS_UNSATISFIED" );
puts( "TA1 - rtems_region_extend - extend region 4 by 4K" );
puts( "TA1 - rtems_region_extend - extend region 4 by 1" );
status = rtems_region_extend(
Region_id[ 4 ],
&Area_4[4096],
4096
1
);
fatal_directive_status(
status,
RTEMS_INVALID_ADDRESS,
"rtems_region_extend with too small memory area"
);
puts( "TA1 - rtems_region_extend - RTEMS_INVALID_ADDRESS" );
puts( "TA1 - rtems_region_extend - extend region 4 by 4K - 1" );
status = rtems_region_extend(
Region_id[ 4 ],
(char *) &Area_4[4096] + 1,
4096 - 1
);
directive_failed( status, "rtems_region_extend" );