change log for rtems (2011-03-10)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu Mar 10 17:10:38 UTC 2011


 *sh*:
2011-03-10	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* sp07/init.c: Improve coverage.

M  1.438  testsuites/sptests/ChangeLog
M   1.21  testsuites/sptests/sp07/init.c

diff -u rtems/testsuites/sptests/ChangeLog:1.437 rtems/testsuites/sptests/ChangeLog:1.438
--- rtems/testsuites/sptests/ChangeLog:1.437	Wed Mar  9 14:11:55 2011
+++ rtems/testsuites/sptests/ChangeLog	Thu Mar 10 10:36:51 2011
@@ -1,3 +1,7 @@
+2011-03-10	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* sp07/init.c: Improve coverage.
+
 2011-03-09	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* spwkspace/init.c: Adjust test to account for recent heap change on

diff -u rtems/testsuites/sptests/sp07/init.c:1.20 rtems/testsuites/sptests/sp07/init.c:1.21
--- rtems/testsuites/sptests/sp07/init.c:1.20	Tue Feb 22 01:36:58 2011
+++ rtems/testsuites/sptests/sp07/init.c	Thu Mar 10 10:36:51 2011
@@ -16,6 +16,40 @@
 #define CONFIGURE_INIT
 #include "system.h"
 
+static void Task_harmless_extension_one(
+  rtems_tcb *unused_one
+)
+{
+  /* Do nothing */
+}
+
+static void Task_harmless_extension_two(
+  rtems_tcb *unused_one,
+  rtems_tcb *unused_two
+)
+{
+  /* Do nothing */
+}
+
+static bool Task_harmless_extension_true_two(
+  rtems_tcb *unused_one,
+  rtems_tcb *unused_two
+)
+{
+  return true;
+}
+
+static const rtems_extensions_table Harmless_extensions = {
+  Task_harmless_extension_true_two,
+  Task_harmless_extension_two,
+  Task_harmless_extension_two,
+  Task_harmless_extension_two,
+  Task_harmless_extension_two,
+  Task_harmless_extension_one,
+  Task_harmless_extension_one,
+  NULL
+};
+
 rtems_extensions_table Extensions = {
   Task_create_extension,     /* task create user extension */
   Task_start_extension,      /* task start user extension */
@@ -99,6 +133,14 @@
     "rtems_extension_ident"
   );
 
+  puts( "rtems_extension_create - harmless -- OK" );
+  status = rtems_extension_create(
+    Extension_name[ 2 ],
+    &Harmless_extensions,
+    &Extension_id[ 2 ]
+  );
+  directive_failed( status, "rtems_extension_create #3" );
+
   Task_name[ 1 ] = rtems_build_name( 'T', 'A', '1', ' ' );
   Task_name[ 2 ] = rtems_build_name( 'T', 'A', '2', ' ' );
   Task_name[ 3 ] = rtems_build_name( 'T', 'A', '3', ' ' );


 *sh*:
2011-03-10	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* sapi/include/rtems/extension.h: Documentation.

M 1.2769  cpukit/ChangeLog
M   1.24  cpukit/sapi/include/rtems/extension.h

diff -u rtems/cpukit/ChangeLog:1.2768 rtems/cpukit/ChangeLog:1.2769
--- rtems/cpukit/ChangeLog:1.2768	Wed Mar  9 10:19:36 2011
+++ rtems/cpukit/ChangeLog	Thu Mar 10 10:39:13 2011
@@ -1,3 +1,7 @@
+2011-03-10	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* sapi/include/rtems/extension.h: Documentation.
+
 2011-03-09	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* score/src/threadget.c: Remove conditional since this path can be

diff -u rtems/cpukit/sapi/include/rtems/extension.h:1.23 rtems/cpukit/sapi/include/rtems/extension.h:1.24
--- rtems/cpukit/sapi/include/rtems/extension.h:1.23	Tue Jan 26 09:01:55 2010
+++ rtems/cpukit/sapi/include/rtems/extension.h	Thu Mar 10 10:39:14 2011
@@ -149,13 +149,13 @@
  * - Task creation
  * - Task start
  * - Task restart
- * - Task exit
  * - Task context switch
  * - Post task context switch
  * - Task begins to execute
  *
  * At the following system events, the extensions are invoked in reverse order:
  *
+ * - Task exit
  * - Task deletion
  * - Fatal error detection
  *



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110310/ec1feeae/attachment-0001.html>


More information about the vc mailing list