<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2011-03-11)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-03-11 Joel Sherrill <joel.sherrilL@OARcorp.com>

        * sp08/Makefile.am, sp08/init.c, sp08/sp08.scn, sp09/screen07.c,
        sp09/sp09.scn: Improve coverage. Change mode while system not up and
        broadcast a message that is too large.
        * sp08/system.h, sp08/task1.c: Removed.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/ChangeLog.diff?r1=text&tr1=1.439&r2=text&tr2=1.440&diff_format=h">M</a></td><td width='1%'>1.440</td><td width='100%'>testsuites/sptests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp08/Makefile.am.diff?r1=text&tr1=1.23&r2=text&tr2=1.24&diff_format=h">M</a></td><td width='1%'>1.24</td><td width='100%'>testsuites/sptests/sp08/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp08/init.c.diff?r1=text&tr1=1.13&r2=text&tr2=1.14&diff_format=h">M</a></td><td width='1%'>1.14</td><td width='100%'>testsuites/sptests/sp08/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp08/sp08.scn.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>testsuites/sptests/sp08/sp08.scn</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp08/system.h?rev=1.17&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.17</font></td><td width='100%'><font color="#880000">testsuites/sptests/sp08/system.h</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp08/task1.c?rev=1.10&content-type=text/vnd.viewcvs-markup">R</a></td><td width='1%'><font color="#880000">1.10</font></td><td width='100%'><font color="#880000">testsuites/sptests/sp08/task1.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp09/screen07.c.diff?r1=text&tr1=1.23&r2=text&tr2=1.24&diff_format=h">M</a></td><td width='1%'>1.24</td><td width='100%'>testsuites/sptests/sp09/screen07.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp09/sp09.scn.diff?r1=text&tr1=1.26&r2=text&tr2=1.27&diff_format=h">M</a></td><td width='1%'>1.27</td><td width='100%'>testsuites/sptests/sp09/sp09.scn</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/sptests/ChangeLog:1.439 rtems/testsuites/sptests/ChangeLog:1.440
--- rtems/testsuites/sptests/ChangeLog:1.439    Fri Mar 11 10:39:27 2011
+++ rtems/testsuites/sptests/ChangeLog  Fri Mar 11 14:26:59 2011
</font><font color='#997700'>@@ -1,5 +1,12 @@
</font> 2011-03-11        Joel Sherrill <joel.sherrilL@OARcorp.com>
 
<font color='#000088'>+   * sp08/Makefile.am, sp08/init.c, sp08/sp08.scn, sp09/screen07.c,
+       sp09/sp09.scn: Improve coverage. Change mode while system not up and
+       broadcast a message that is too large.
+       * sp08/system.h, sp08/task1.c: Removed.
+
+2011-03-11     Joel Sherrill <joel.sherrilL@OARcorp.com>
+
</font>   * Makefile.am, configure.ac: Add sp73.  This is a new test designed
        to improve coverage of the thread yield logic.
        * sp73/.cvsignore, sp73/Makefile.am, sp73/init.c, sp73/sp73.doc,

<font color='#006600'>diff -u rtems/testsuites/sptests/sp08/Makefile.am:1.23 rtems/testsuites/sptests/sp08/Makefile.am:1.24
--- rtems/testsuites/sptests/sp08/Makefile.am:1.23      Fri Apr  3 07:48:12 2009
+++ rtems/testsuites/sptests/sp08/Makefile.am   Fri Mar 11 14:26:59 2011
</font><font color='#997700'>@@ -2,10 +2,8 @@
</font> ## $Id$
 ##
 
<font color='#880000'>-MANAGERS = io semaphore clock
-
</font> rtems_tests_PROGRAMS = sp08
<font color='#880000'>-sp08_SOURCES = init.c task1.c system.h
</font><font color='#000088'>+sp08_SOURCES = init.c
</font> 
 dist_rtems_tests_DATA = sp08.scn
 dist_rtems_tests_DATA += sp08.doc
<font color='#997700'>@@ -14,8 +12,6 @@
</font> include $(top_srcdir)/../automake/compile.am
 include $(top_srcdir)/../automake/leaf.am
 
<font color='#880000'>-sp08_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
-
</font> AM_CPPFLAGS += -I$(top_srcdir)/../support/include
 
 LINK_OBJS = $(sp08_OBJECTS) $(sp08_LDADD)

<font color='#006600'>diff -u rtems/testsuites/sptests/sp08/init.c:1.13 rtems/testsuites/sptests/sp08/init.c:1.14
--- rtems/testsuites/sptests/sp08/init.c:1.13   Tue Feb 22 01:36:58 2011
+++ rtems/testsuites/sptests/sp08/init.c        Fri Mar 11 14:26:59 2011
</font><font color='#997700'>@@ -1,17 +1,5 @@
</font><font color='#880000'>-/*  Init
- *
- *  This routine is the initialization task for this test program.
- *  It is a user initialization task and has the responsibility for creating
- *  and starting the tasks that make up the test.  If the time of day
- *  clock is required for the test, it should also be set to a known
- *  value by this function.
- *
- *  Input parameters:
- *    argument - task argument
- *
- *  Output parameters:  NONE
- *
- *  COPYRIGHT (c) 1989-1999.
</font><font color='#000088'>+/*
+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -25,32 +13,286 @@
</font> #include "config.h"
 #endif
 
<font color='#880000'>-#define CONFIGURE_INIT
-#include "system.h"
</font><font color='#000088'>+#include <tmacros.h>
+
+#define PRIxModes_Control<span style="background-color: #FF0000"> </span>        PRIx32
+#define PRIxrtems_mode         PRIxModes_Control
+
+#define put_mode( _comment, _output_mode ) \
+   printf( "%s %08" PRIxrtems_mode "\n", _comment, _output_mode );
</font> 
 rtems_task Init(
   rtems_task_argument argument
 )
 {
<font color='#000088'>+  rtems_mode        previous_mode;
</font>   rtems_status_code status;
 
   puts( "\n\n*** TEST 8 ***" );
 
<font color='#880000'>-  Task_name[ 1 ] =  rtems_build_name( 'T', 'A', '1', ' ' );
</font><font color='#000088'>+/* BEGINNING OF RTEMS_ASR */
+
+  status = rtems_task_mode( RTEMS_ASR, RTEMS_ASR_MASK, &previous_mode );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - RTEMS_ASR                  - previous mode: ",
+    previous_mode
+  );
+
+  status = rtems_task_mode(
+    RTEMS_NO_ASR,
+    RTEMS_ASR_MASK,
+    &previous_mode
+  );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - RTEMS_NO_ASR               - previous mode: ",
+    previous_mode
+  );
+
+  status = rtems_task_mode(
+    RTEMS_NO_ASR,
+    RTEMS_ASR_MASK,
+    &previous_mode
+  );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - RTEMS_NO_ASR               - previous mode: ",
+    previous_mode
+  );
+
+  status = rtems_task_mode(
+    RTEMS_ASR,
+    RTEMS_ASR_MASK,
+    &previous_mode
+  );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - RTEMS_ASR                  - previous mode: ",
+    previous_mode
+  );
+
+/* END OF RTEMS_ASR */
+
+/* BEGINNING OF RTEMS_TIMESLICE */
+
+  status = rtems_task_mode(
+    RTEMS_NO_TIMESLICE,
+    RTEMS_TIMESLICE_MASK,
+    &previous_mode
+  );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - RTEMS_NO_TIMESLICE         - previous mode: ",
+    previous_mode
+  );
+
+  status = rtems_task_mode(
+    RTEMS_TIMESLICE,
+    RTEMS_TIMESLICE_MASK,
+    &previous_mode
+  );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - RTEMS_TIMESLICE            - previous mode: ",
+    previous_mode
+  );
+
+  status = rtems_task_mode(
+    RTEMS_TIMESLICE,
+    RTEMS_TIMESLICE_MASK,
+    &previous_mode
+  );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - RTEMS_TIMESLICE            - previous mode: ",
+    previous_mode
+  );
+
+  status = rtems_task_mode(
+    RTEMS_NO_TIMESLICE,
+    RTEMS_TIMESLICE_MASK,
+    &previous_mode
+  );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - RTEMS_NO_TIMESLICE         - previous mode: ",
+    previous_mode
+  );
+
+/* END OF RTEMS_TIMESLICE */
+
+/* BEGINNING OF RTEMS_PREEMPT */
+
+  status = rtems_task_mode(
+    RTEMS_PREEMPT,
+    RTEMS_PREEMPT_MASK,
+    &previous_mode
+  );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - RTEMS_PREEMPT              - previous mode: ",
+    previous_mode
+  );
+
+  status = rtems_task_mode(
+    RTEMS_NO_PREEMPT,
+    RTEMS_PREEMPT_MASK,
+    &previous_mode
+  );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - RTEMS_NO_PREEMPT           - previous mode: ",
+    previous_mode
+  );
+
+  status = rtems_task_mode(
+    RTEMS_NO_PREEMPT,
+    RTEMS_PREEMPT_MASK,
+    &previous_mode
+  );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - RTEMS_NO_PREEMPT           - previous mode: ",
+    previous_mode
+  );
+
+  status = rtems_task_mode(
+    RTEMS_PREEMPT,
+    RTEMS_PREEMPT_MASK,
+    &previous_mode
+  );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - RTEMS_PREEMPT              - previous mode: ",
+    previous_mode
+  );
+
+/* END OF RTEMS_PREEMPT */
+
+/* BEGINNING OF RTEMS_INTERRUPT_LEVEL */
+
+  status = rtems_task_mode(
+    RTEMS_INTERRUPT_LEVEL(3),
+    RTEMS_INTERRUPT_MASK,
+    &previous_mode
+  );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - RTEMS_INTERRUPT_LEVEL( 3 ) - previous mode: ",
+    previous_mode
+  );
+
+  status = rtems_task_mode(
+    RTEMS_INTERRUPT_LEVEL(5),
+    RTEMS_INTERRUPT_MASK,
+    &previous_mode
+  );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - RTEMS_INTERRUPT_LEVEL( 5 ) - previous mode: ",
+    previous_mode
+  );
+
+/* END OF RTEMS_INTERRUPT_LEVEL */
+
+/* BEGINNING OF COMBINATIONS */
+
+  status = rtems_task_mode(
+    RTEMS_INTERRUPT_LEVEL(3) | RTEMS_NO_ASR |
+      RTEMS_TIMESLICE | RTEMS_NO_PREEMPT,
+    RTEMS_INTERRUPT_MASK | RTEMS_ASR_MASK |
+      RTEMS_TIMESLICE_MASK | RTEMS_PREEMPT_MASK,
+    &previous_mode
+  );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - set all modes        - previous mode: ",
+    previous_mode
+  );
+
+  status = rtems_task_mode(
+    RTEMS_INTERRUPT_LEVEL(3) | RTEMS_NO_ASR |
+      RTEMS_TIMESLICE | RTEMS_NO_PREEMPT,
+    RTEMS_INTERRUPT_MASK | RTEMS_ASR_MASK |
+      RTEMS_TIMESLICE_MASK | RTEMS_PREEMPT_MASK,
+    &previous_mode
+  );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - set all modes        - previous mode: ",
+    previous_mode
+  );
+
+  status = rtems_task_mode(
+    RTEMS_INTERRUPT_LEVEL(0) | RTEMS_ASR | RTEMS_NO_TIMESLICE | RTEMS_PREEMPT,
+    RTEMS_INTERRUPT_MASK | RTEMS_ASR_MASK |
+    RTEMS_TIMESLICE_MASK | RTEMS_PREEMPT_MASK,
+    &previous_mode
+  );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - clear all modes      - previous mode: ",
+    previous_mode
+  );
+
+/* END OF COMBINATIONS */
+
+/* BEGINNING OF CURRENT MODE */
+
+  status = rtems_task_mode(
+    RTEMS_CURRENT_MODE,
+    RTEMS_CURRENT_MODE,
+    &previous_mode
+  );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - get current mode     - previous mode: ",
+    previous_mode
+  );
</font> 
<font color='#880000'>-  status = rtems_task_create(
-    Task_name[ 1 ],
-    1,
-    RTEMS_MINIMUM_STACK_SIZE * 2,
-    RTEMS_DEFAULT_MODES,
-    RTEMS_DEFAULT_ATTRIBUTES,
-    &Task_id[ 1 ]
</font><font color='#000088'>+/* END OF CURRENT MODE */
+
+/* TEST BEING IN A SYSTEM STATE OTHER THAN UP */
+  puts( "TA1 - FORCE system state to before multitasking" );
+  _System_state_Set( SYSTEM_STATE_BEFORE_MULTITASKING );
+
+  puts( "TA1 - enable preemption mode" );
+  status = rtems_task_mode(
+    RTEMS_PREEMPT,
+    RTEMS_PREEMPT_MASK,
+    &previous_mode
+  );
+  directive_failed( status, "rtems_task_mode" );
+  put_mode(
+    "TA1 - rtems_task_mode - RTEMS_PREEMPT              - previous mode: ",
+    previous_mode
+  );
+
+  puts( "TA1 - disable preemption mode" );
+  status = rtems_task_mode(
+    RTEMS_NO_PREEMPT,
+    RTEMS_PREEMPT_MASK,
+    &previous_mode
</font>   );
<font color='#880000'>-  directive_failed( status, "rtems_task_create of TA1" );
</font><font color='#000088'>+  directive_failed( status, "rtems_task_mode" );
</font> 
<font color='#880000'>-  status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
-  directive_failed( status, "rtems_task_start of TA1" );
</font><font color='#000088'>+  puts( "TA1 - Restore system state" );
+  _System_state_Set( SYSTEM_STATE_UP );
</font> 
<font color='#880000'>-  status = rtems_task_delete( RTEMS_SELF );
-  directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
</font><font color='#000088'>+/* END OF TEST BEING IN A SYSTEM STATE OTHER THAN UP */
+
+  puts( "*** END OF TEST 8 ***" );
+  rtems_test_exit( 0 );
</font> }
<font color='#000088'>+
+/* configuration information */
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
+
+#define CONFIGURE_MAXIMUM_TASKS             1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#define CONFIGURE_INIT
+#include <rtems/confdefs.h>
+/* end of file */
</font>
<font color='#006600'>diff -u rtems/testsuites/sptests/sp08/sp08.scn:1.1 rtems/testsuites/sptests/sp08/sp08.scn:1.2
--- rtems/testsuites/sptests/sp08/sp08.scn:1.1  Thu May 11 12:38:16 1995
+++ rtems/testsuites/sptests/sp08/sp08.scn      Fri Mar 11 14:26:59 2011
</font><font color='#997700'>@@ -1,22 +1,36 @@
</font><font color='#880000'>-*** TEST 8 ***
-TA1 - rtems_task_mode - RTEMS_ASR                  - previous mode:  00000000
-TA1 - rtems_task_mode - RTEMS_NO_ASR               - previous mode:  00000000
-TA1 - rtems_task_mode - RTEMS_NO_ASR               - previous mode:  00000400
-TA1 - rtems_task_mode - RTEMS_ASR                  - previous mode:  00000400
-TA1 - rtems_task_mode - RTEMS_NO_TIMESLICE         - previous mode:  00000000
-TA1 - rtems_task_mode - RTEMS_TIMESLICE            - previous mode:  00000000
-TA1 - rtems_task_mode - RTEMS_TIMESLICE            - previous mode:  00000200
-TA1 - rtems_task_mode - RTEMS_NO_TIMESLICE         - previous mode:  00000200
-TA1 - rtems_task_mode - RTEMS_PREEMPT              - previous mode:  00000000
-TA1 - rtems_task_mode - RTEMS_NO_PREEMPT           - previous mode:  00000000
-TA1 - rtems_task_mode - RTEMS_NO_PREEMPT           - previous mode:  00000100
-TA1 - rtems_task_mode - RTEMS_PREEMPT              - previous mode:  00000100
-TA1 - rtems_task_mode - RTEMS_INTERRUPT_LEVEL( 3 ) - previous mode:  00000000
-TA1 - rtems_task_mode - RTEMS_INTERRUPT_LEVEL( 5 ) - previous mode:  00000003
-TA1 - rtems_task_mode - set all modes        - previous mode:  00000005
-TA1 - rtems_task_mode - set all modes        - previous mode:  00000703
-TA1 - rtems_task_mode - clear all modes      - previous mode:  00000703
-TA1 - rtems_task_mode - get current mode     - previous mode:  00000000
-*** END OF TEST 8 ***
-
-NOTE: The interrupt level lines will be different on CPUs with few levels.
</font><font color='#000088'>+<span style="background-color: #FF0000"><CR></span>
+<span style="background-color: #FF0000"><CR></span>
+*** TEST 8 ***<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - RTEMS_ASR                  - previous mode:  00000100<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - RTEMS_NO_ASR               - previous mode:  00000100<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - RTEMS_NO_ASR               - previous mode:  00000500<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - RTEMS_ASR                  - previous mode:  00000500<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - RTEMS_NO_TIMESLICE         - previous mode:  00000100<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - RTEMS_TIMESLICE            - previous mode:  00000100<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - RTEMS_TIMESLICE            - previous mode:  00000300<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - RTEMS_NO_TIMESLICE         - previous mode:  00000300<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - RTEMS_PREEMPT              - previous mode:  00000100<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - RTEMS_NO_PREEMPT           - previous mode:  00000000<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - RTEMS_NO_PREEMPT           - previous mode:  00000100<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - RTEMS_PREEMPT              - previous mode:  00000100<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - RTEMS_INTERRUPT_LEVEL( 3 ) - previous mode:  00000000<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - RTEMS_INTERRUPT_LEVEL( 5 ) - previous mode:  00000000<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - set all modes        - previous mode:  00000000<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - set all modes        - previous mode:  00000700<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - clear all modes      - previous mode:  00000700<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - get current mode     - previous mode:  00000000<span style="background-color: #FF0000"><CR></span>
+TA1 - FORCE system state to before multitasking<span style="background-color: #FF0000"><CR></span>
+TA1 - enable preemption mode<span style="background-color: #FF0000"><CR></span>
+TA1 - rtems_task_mode - RTEMS_PREEMPT              - previous mode:  00000000<span style="background-color: #FF0000"><CR></span>
+TA1 - disable preemption mode<span style="background-color: #FF0000"><CR></span>
+TA1 - Restore system state<span style="background-color: #FF0000"><CR></span>
+*** END OF TEST 8 ***<span style="background-color: #FF0000"><CR></span>
+0  size = 0x000404f6 .
+not load section .debug_frame: addr = 0x00000000  size = 0x00004820 .
+not load section .debug_str: addr = 0x00000000  size = 0x0000f673 .
+not load section .debug_loc: addr = 0x00000000  size = 0x0001c59c .
+not load section .debug_pubtypes: addr = 0x00000000  size = 0x0005eac5 .
+not load section .debug_ranges: addr = 0x00000000  size = 0x000015e0 .
+not load section .ARM.attributes: addr = 0x00000000  size = 0x00000010 .
+call ARMul_InitSymTable,kernel filename is sp08.ralf.<span style="background-color: #FF0000"> </span>
+start addr is set to 0x00000058 by exec file.
</font>
<font color='#006600'>diff -u rtems/testsuites/sptests/sp09/screen07.c:1.23 rtems/testsuites/sptests/sp09/screen07.c:1.24
--- rtems/testsuites/sptests/sp09/screen07.c:1.23       Tue Feb 22 01:36:58 2011
+++ rtems/testsuites/sptests/sp09/screen07.c    Fri Mar 11 14:26:59 2011
</font><font color='#997700'>@@ -349,15 +349,30 @@
</font>   );
   puts( "TA1 - rtems_message_queue_urgent - RTEMS_INVALID_ID" );
 
<font color='#880000'>-  status = rtems_message_queue_broadcast( Queue_id[ 1 ], NULL, MESSAGE_SIZE, &count );
</font><font color='#000088'>+  status = rtems_message_queue_broadcast(
+     Queue_id[ 1 ], NULL, MESSAGE_SIZE, &count );
</font>   fatal_directive_status(
     status,
     RTEMS_INVALID_ADDRESS,
     "rtems_message_queue_broadcast with NULL count"
   );
<font color='#880000'>-  puts( "TA1 - rtems_message_queue_broadcast - NULL buffer - RTEMS_INVALID_ADDRESS" );
</font><font color='#000088'>+  puts(
+    "TA1 - rtems_message_queue_broadcast - NULL buffer - RTEMS_INVALID_ADDRESS"
+  );
+
+  status = rtems_message_queue_broadcast(
+     Queue_id[ 1 ], buffer, MESSAGE_SIZE + 1, &count );
+  fatal_directive_status(
+    status,
+    RTEMS_INVALID_SIZE,
+    "rtems_message_queue_broadcast with too large"
+  );
+  puts(
+    "TA1 - rtems_message_queue_broadcast - too large - RTEMS_INVALID_SIZE"
+  );
</font> 
<font color='#880000'>-  status = rtems_message_queue_broadcast( Queue_id[ 1 ], buffer, MESSAGE_SIZE, NULL );
</font><font color='#000088'>+  status = rtems_message_queue_broadcast(
+      Queue_id[ 1 ], buffer, MESSAGE_SIZE, NULL );
</font>   fatal_directive_status(
     status,
     RTEMS_INVALID_ADDRESS,

<font color='#006600'>diff -u rtems/testsuites/sptests/sp09/sp09.scn:1.26 rtems/testsuites/sptests/sp09/sp09.scn:1.27
--- rtems/testsuites/sptests/sp09/sp09.scn:1.26 Mon Aug  9 03:46:56 2010
+++ rtems/testsuites/sptests/sp09/sp09.scn      Fri Mar 11 14:26:59 2011
</font><font color='#997700'>@@ -151,6 +151,7 @@
</font> TA1 - rtems_message_queue_urgent - NULL buffer - RTEMS_INVALID_ADDRESS
 TA1 - rtems_message_queue_urgent - RTEMS_INVALID_ID
 TA1 - rtems_message_queue_broadcast - NULL buffer - RTEMS_INVALID_ADDRESS
<font color='#000088'>+TA1 - rtems_message_queue_broadcast - too large - RTEMS_INVALID_SIZE
</font> TA1 - rtems_message_queue_broadcast - NULL count - RTEMS_INVALID_ADDRESS
 <pause - screen 8>
 TA1 - rtems_message_queue_delete - Q 1 - RTEMS_SUCCESSFUL
<font color='#997700'>@@ -174,9 +175,8 @@
</font> TA3 - rtems_message_queue_receive - woke up with RTEMS_OBJECT_WAS_DELETED
 TA3 - rtems_task_delete - delete self - RTEMS_SUCCESSFUL
 <pause - screen 9>
<font color='#880000'>-TA1 - rtems_interrupt_catch - RTEMS_INVALID_NUMBER
-TA1 - rtems_interrupt_catch - bad handler RTEMS_INVALID_ADDRESS
-TA1 - rtems_interrupt_catch - old isr RTEMS_INVALID_ADDRESS
</font><font color='#000088'>+TA1 - rtems_interrupt_catch - bad handler RTEMS_INVALID_ADDRESS -- SKIPPED
+TA1 - rtems_interrupt_catch - old isr RTEMS_INVALID_ADDRESS - SKIPPED
</font> TA1 - rtems_signal_send - RTEMS_INVALID_ID
 TA1 - rtems_signal_send - RTEMS_INVALID_NUMBER
 TA1 - rtems_signal_send - RTEMS_NOT_DEFINED
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-03-11 Joel Sherrill <joel.sherrilL@OARcorp.com>

        * sp08/sp08.scn: Convert to UNIX CR/LF.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/ChangeLog.diff?r1=text&tr1=1.440&r2=text&tr2=1.441&diff_format=h">M</a></td><td width='1%'>1.441</td><td width='100%'>testsuites/sptests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp08/sp08.scn.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>testsuites/sptests/sp08/sp08.scn</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/sptests/ChangeLog:1.440 rtems/testsuites/sptests/ChangeLog:1.441
--- rtems/testsuites/sptests/ChangeLog:1.440    Fri Mar 11 14:26:59 2011
+++ rtems/testsuites/sptests/ChangeLog  Fri Mar 11 14:28:03 2011
</font><font color='#997700'>@@ -1,5 +1,9 @@
</font> 2011-03-11        Joel Sherrill <joel.sherrilL@OARcorp.com>
 
<font color='#000088'>+   * sp08/sp08.scn: Convert to UNIX CR/LF.
+
+2011-03-11     Joel Sherrill <joel.sherrilL@OARcorp.com>
+
</font>   * sp08/Makefile.am, sp08/init.c, sp08/sp08.scn, sp09/screen07.c,
        sp09/sp09.scn: Improve coverage. Change mode while system not up and
        broadcast a message that is too large.

<font color='#006600'>diff -u rtems/testsuites/sptests/sp08/sp08.scn:1.2 rtems/testsuites/sptests/sp08/sp08.scn:1.3
--- rtems/testsuites/sptests/sp08/sp08.scn:1.2  Fri Mar 11 14:26:59 2011
+++ rtems/testsuites/sptests/sp08/sp08.scn      Fri Mar 11 14:28:03 2011
</font><font color='#997700'>@@ -1,30 +1,28 @@
</font><font color='#880000'>-<span style="background-color: #FF0000"><CR></span>
-<span style="background-color: #FF0000"><CR></span>
-*** TEST 8 ***<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - RTEMS_ASR                  - previous mode:  00000100<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - RTEMS_NO_ASR               - previous mode:  00000100<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - RTEMS_NO_ASR               - previous mode:  00000500<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - RTEMS_ASR                  - previous mode:  00000500<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - RTEMS_NO_TIMESLICE         - previous mode:  00000100<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - RTEMS_TIMESLICE            - previous mode:  00000100<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - RTEMS_TIMESLICE            - previous mode:  00000300<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - RTEMS_NO_TIMESLICE         - previous mode:  00000300<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - RTEMS_PREEMPT              - previous mode:  00000100<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - RTEMS_NO_PREEMPT           - previous mode:  00000000<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - RTEMS_NO_PREEMPT           - previous mode:  00000100<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - RTEMS_PREEMPT              - previous mode:  00000100<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - RTEMS_INTERRUPT_LEVEL( 3 ) - previous mode:  00000000<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - RTEMS_INTERRUPT_LEVEL( 5 ) - previous mode:  00000000<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - set all modes        - previous mode:  00000000<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - set all modes        - previous mode:  00000700<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - clear all modes      - previous mode:  00000700<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - get current mode     - previous mode:  00000000<span style="background-color: #FF0000"><CR></span>
-TA1 - FORCE system state to before multitasking<span style="background-color: #FF0000"><CR></span>
-TA1 - enable preemption mode<span style="background-color: #FF0000"><CR></span>
-TA1 - rtems_task_mode - RTEMS_PREEMPT              - previous mode:  00000000<span style="background-color: #FF0000"><CR></span>
-TA1 - disable preemption mode<span style="background-color: #FF0000"><CR></span>
-TA1 - Restore system state<span style="background-color: #FF0000"><CR></span>
-*** END OF TEST 8 ***<span style="background-color: #FF0000"><CR></span>
</font><font color='#000088'>+*** TEST 8 ***
+TA1 - rtems_task_mode - RTEMS_ASR                  - previous mode:  00000100
+TA1 - rtems_task_mode - RTEMS_NO_ASR               - previous mode:  00000100
+TA1 - rtems_task_mode - RTEMS_NO_ASR               - previous mode:  00000500
+TA1 - rtems_task_mode - RTEMS_ASR                  - previous mode:  00000500
+TA1 - rtems_task_mode - RTEMS_NO_TIMESLICE         - previous mode:  00000100
+TA1 - rtems_task_mode - RTEMS_TIMESLICE            - previous mode:  00000100
+TA1 - rtems_task_mode - RTEMS_TIMESLICE            - previous mode:  00000300
+TA1 - rtems_task_mode - RTEMS_NO_TIMESLICE         - previous mode:  00000300
+TA1 - rtems_task_mode - RTEMS_PREEMPT              - previous mode:  00000100
+TA1 - rtems_task_mode - RTEMS_NO_PREEMPT           - previous mode:  00000000
+TA1 - rtems_task_mode - RTEMS_NO_PREEMPT           - previous mode:  00000100
+TA1 - rtems_task_mode - RTEMS_PREEMPT              - previous mode:  00000100
+TA1 - rtems_task_mode - RTEMS_INTERRUPT_LEVEL( 3 ) - previous mode:  00000000
+TA1 - rtems_task_mode - RTEMS_INTERRUPT_LEVEL( 5 ) - previous mode:  00000000
+TA1 - rtems_task_mode - set all modes        - previous mode:  00000000
+TA1 - rtems_task_mode - set all modes        - previous mode:  00000700
+TA1 - rtems_task_mode - clear all modes      - previous mode:  00000700
+TA1 - rtems_task_mode - get current mode     - previous mode:  00000000
+TA1 - FORCE system state to before multitasking
+TA1 - enable preemption mode
+TA1 - rtems_task_mode - RTEMS_PREEMPT              - previous mode:  00000000
+TA1 - disable preemption mode
+TA1 - Restore system state
+*** END OF TEST 8 ***
</font> 0  size = 0x000404f6 .
 not load section .debug_frame: addr = 0x00000000  size = 0x00004820 .
 not load section .debug_str: addr = 0x00000000  size = 0x0000f673 .
</pre>
<p> </p>
<a name='cs3'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-03-11 Joel Sherrill <joel.sherrilL@OARcorp.com>

        * sp58/init.c, sp58/sp58.scn: Account for case where left hand side
        seconds field is less than.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/ChangeLog.diff?r1=text&tr1=1.441&r2=text&tr2=1.442&diff_format=h">M</a></td><td width='1%'>1.442</td><td width='100%'>testsuites/sptests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp58/init.c.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>testsuites/sptests/sp58/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp58/sp58.scn.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>testsuites/sptests/sp58/sp58.scn</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/sptests/ChangeLog:1.441 rtems/testsuites/sptests/ChangeLog:1.442
--- rtems/testsuites/sptests/ChangeLog:1.441    Fri Mar 11 14:28:03 2011
+++ rtems/testsuites/sptests/ChangeLog  Fri Mar 11 14:36:45 2011
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2011-03-11        Joel Sherrill <joel.sherrilL@OARcorp.com>
 
<font color='#000088'>+   * sp58/init.c, sp58/sp58.scn: Account for case where left hand side
+       seconds field is less than.
+
+2011-03-11     Joel Sherrill <joel.sherrilL@OARcorp.com>
+
</font>   * sp08/sp08.scn: Convert to UNIX CR/LF.
 
 2011-03-11     Joel Sherrill <joel.sherrilL@OARcorp.com>

<font color='#006600'>diff -u rtems/testsuites/sptests/sp58/init.c:1.3 rtems/testsuites/sptests/sp58/init.c:1.4
--- rtems/testsuites/sptests/sp58/init.c:1.3    Tue Feb 22 01:37:01 2011
+++ rtems/testsuites/sptests/sp58/init.c        Fri Mar 11 14:36:45 2011
</font><font color='#997700'>@@ -39,7 +39,23 @@
</font>   _Timespec_Divide( &t1, &zero, &ival_percentage, &fval_percentage );
   rtems_test_assert( ival_percentage == 0 );
   rtems_test_assert( fval_percentage == 0 );
<font color='#000088'>+}
</font> 
<font color='#000088'>+void timespec_greater_than_lhs_sec_less(void)
+{
+  struct timespec   lhs;
+  struct timespec   rhs;
+  bool              rc;
+
+  lhs.tv_sec  = 100;
+  lhs.tv_nsec = 0;
+
+  rhs.tv_sec  = 101;
+  rhs.tv_nsec = 0;
+
+  puts( "Init - _Timespec_Greater_than - lhs seconds less" );
+  rc = _Timespec_Greater_than( &lhs, &rhs );
+  rtems_test_assert( rc == false );
</font> }
 
 rtems_task Init(
<font color='#997700'>@@ -49,6 +65,7 @@
</font>   puts( "\n\n*** TEST 58 ***" );
 
   timespec_divide_by_zero();
<font color='#000088'>+  timespec_greater_than_lhs_sec_less();
</font> 
   puts( "*** END OF TEST 58 ***" );
   rtems_test_exit(0);

<font color='#006600'>diff -u rtems/testsuites/sptests/sp58/sp58.scn:1.1 rtems/testsuites/sptests/sp58/sp58.scn:1.2
--- rtems/testsuites/sptests/sp58/sp58.scn:1.1  Thu Jul  9 13:21:58 2009
+++ rtems/testsuites/sptests/sp58/sp58.scn      Fri Mar 11 14:36:45 2011
</font><font color='#997700'>@@ -1,3 +1,4 @@
</font> *** TEST 58 ***
 Init - _Timespec_Divide - by zero
<font color='#000088'>+Init - _Timespec_Greater_than - lhs seconds less
</font> *** END OF TEST 58 ***
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>