[rtems commit] sptests/sp09: Change allocation sizes

Sebastian Huber sebh at rtems.org
Tue Jun 25 15:01:50 UTC 2013


Module:    rtems
Branch:    master
Commit:    3948a0b381db58b7c455f076eeb48360a3fd1897
Changeset: http://git.rtems.org/rtems/commit/?id=3948a0b381db58b7c455f076eeb48360a3fd1897

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Jun 25 11:14:17 2013 +0200

sptests/sp09: Change allocation sizes

This avoids problems with debugging enabled.

---

 testsuites/sptests/sp09/screen12.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testsuites/sptests/sp09/screen12.c b/testsuites/sptests/sp09/screen12.c
index ffac351..ec252c0 100644
--- a/testsuites/sptests/sp09/screen12.c
+++ b/testsuites/sptests/sp09/screen12.c
@@ -265,7 +265,7 @@ void Screen12()
 
   status = rtems_region_get_segment(
      Region_id[ 1 ],
-     384,
+     REGION_LENGTH / 2,
      RTEMS_DEFAULT_OPTIONS,
      RTEMS_NO_TIMEOUT,
      &segment_address_1
@@ -290,7 +290,7 @@ void Screen12()
   puts( "TA1 - rtems_region_get_segment - timeout in 3 seconds" );
   status = rtems_region_get_segment(
     Region_id[ 1 ],
-    128,
+    REGION_LENGTH / 2,
     RTEMS_DEFAULT_OPTIONS,
     3 * rtems_clock_get_ticks_per_second(),
     &segment_address_3




More information about the vc mailing list