change log for examples-v2 (2011-03-03)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu Mar 3 18:10:04 UTC 2011


 *joel*:
2011-03-03	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* classic_signal/test.c: Example clean up.

M    1.3  classic_api/ChangeLog
M    1.2  classic_api/classic_signal/test.c

diff -u examples-v2/classic_api/ChangeLog:1.2 examples-v2/classic_api/ChangeLog:1.3
--- examples-v2/classic_api/ChangeLog:1.2	Thu Apr  8 08:21:44 2010
+++ examples-v2/classic_api/ChangeLog	Thu Mar  3 12:00:29 2011
@@ -1,3 +1,7 @@
+2011-03-03	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* classic_signal/test.c: Example clean up.
+
 2010-04-08	Joel Sherrill <joel.sherrilL at OARcorp.com>
 
 	* classic_signal/Makefile: Change executable name from hello.

diff -u examples-v2/classic_api/classic_signal/test.c:1.1 examples-v2/classic_api/classic_signal/test.c:1.2
--- examples-v2/classic_api/classic_signal/test.c:1.1	Thu Aug  6 15:25:58 2009
+++ examples-v2/classic_api/classic_signal/test.c	Thu Mar  3 12:00:30 2011
@@ -51,7 +51,7 @@
   rtems_interval        start;
   rtems_interval        now;
 
-  puts( "\n\n*** SIGNAL FROM TST TEST ***" );
+  puts( "\n\n*** SIGNAL FROM TSR TEST ***" );
 
   main_task = rtems_task_self();
 
@@ -96,7 +96,6 @@
 }
 
 /* configuration information */
-
 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
 
@@ -106,5 +105,4 @@
 #define CONFIGURE_MAXIMUM_TIMERS            1
 
 #define CONFIGURE_INIT
-
 #include <rtems/confdefs.h>


 *joel*:
2011-03-03	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* both_hello/test.c, hello_world_c/test.c, posix_hello_world/test.c:
	Example clean up.

M    1.3  hello/ChangeLog
M    1.3  hello/both_hello/test.c
M    1.2  hello/hello_world_c/test.c
M    1.2  hello/posix_hello_world/test.c

diff -u examples-v2/hello/ChangeLog:1.2 examples-v2/hello/ChangeLog:1.3
--- examples-v2/hello/ChangeLog:1.2	Tue Apr  6 16:26:17 2010
+++ examples-v2/hello/ChangeLog	Thu Mar  3 12:00:33 2011
@@ -1,3 +1,8 @@
+2011-03-03	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* both_hello/test.c, hello_world_c/test.c, posix_hello_world/test.c:
+	Example clean up.
+
 2010-04-06	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* both_hello/test.c: Add unistd.h

diff -u examples-v2/hello/both_hello/test.c:1.2 examples-v2/hello/both_hello/test.c:1.3
--- examples-v2/hello/both_hello/test.c:1.2	Tue Apr  6 16:26:17 2010
+++ examples-v2/hello/both_hello/test.c	Thu Mar  3 12:00:33 2011
@@ -3,7 +3,6 @@
  */
 
 #include <bsp.h>
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
@@ -37,7 +36,5 @@
 #define CONFIGURE_MAXIMUM_POSIX_THREADS 1
 
 #define CONFIGURE_INIT
-
 #include <rtems/confdefs.h>
-
 /* end of file */

diff -u examples-v2/hello/hello_world_c/test.c:1.1 examples-v2/hello/hello_world_c/test.c:1.2
--- examples-v2/hello/hello_world_c/test.c:1.1	Thu Aug  6 15:25:58 2009
+++ examples-v2/hello/hello_world_c/test.c	Thu Mar  3 12:00:33 2011
@@ -5,7 +5,6 @@
  */
 
 #include <bsp.h>
-
 #include <stdlib.h>
 #include <stdio.h>
 
@@ -29,7 +28,5 @@
 #define CONFIGURE_MAXIMUM_TASKS 1
 
 #define CONFIGURE_INIT
-
 #include <rtems/confdefs.h>
-
 /* end of file */

diff -u examples-v2/hello/posix_hello_world/test.c:1.1 examples-v2/hello/posix_hello_world/test.c:1.2
--- examples-v2/hello/posix_hello_world/test.c:1.1	Thu Aug  6 15:25:58 2009
+++ examples-v2/hello/posix_hello_world/test.c	Thu Mar  3 12:00:33 2011
@@ -3,7 +3,6 @@
  */
 
 #include <bsp.h>
-
 #include <stdio.h>
 #include <stdlib.h>
 
@@ -24,11 +23,8 @@
 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
 
 #define CONFIGURE_POSIX_INIT_THREAD_TABLE
-
 #define CONFIGURE_MAXIMUM_POSIX_THREADS 1
 
 #define CONFIGURE_INIT
-
 #include <rtems/confdefs.h>
-
 /* end of file */


 *joel*:
2011-03-03	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* event_server/init.c, msg_server/init.c, sem_server/init.c,
	timer/init.c, timer_server/init.c: Example clean up.

M   1.12  led/ChangeLog
M    1.4  led/event_server/init.c
M    1.4  led/msg_server/init.c
M    1.4  led/sem_server/init.c
M    1.4  led/timer/init.c
M    1.3  led/timer_server/init.c

diff -u examples-v2/led/ChangeLog:1.11 examples-v2/led/ChangeLog:1.12
--- examples-v2/led/ChangeLog:1.11	Thu Apr 29 16:52:00 2010
+++ examples-v2/led/ChangeLog	Thu Mar  3 12:00:34 2011
@@ -1,3 +1,8 @@
+2011-03-03	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* event_server/init.c, msg_server/init.c, sem_server/init.c,
+	timer/init.c, timer_server/init.c: Example clean up.
+
 2010-04-29	Joel Sherrill <joel.sherrilL at OARcorp.com>
 
 	* complex1/main.cc, complex1/menu.cc, complex1/periodic.c,

diff -u examples-v2/led/event_server/init.c:1.3 examples-v2/led/event_server/init.c:1.4
--- examples-v2/led/event_server/init.c:1.3	Thu Dec 17 14:09:11 2009
+++ examples-v2/led/event_server/init.c	Thu Mar  3 12:00:34 2011
@@ -41,7 +41,6 @@
   }
 }
 
-
 rtems_task Init(
   rtems_task_argument argument
 )

diff -u examples-v2/led/msg_server/init.c:1.3 examples-v2/led/msg_server/init.c:1.4
--- examples-v2/led/msg_server/init.c:1.3	Thu Dec 17 14:09:11 2009
+++ examples-v2/led/msg_server/init.c	Thu Mar  3 12:00:34 2011
@@ -55,6 +55,14 @@
 
   LED_INIT();
 
+  status = rtems_message_queue_create(
+    rtems_build_name( 'Q', '1', ' ', ' ' ),
+    1,
+    sizeof(uint32_t),
+    RTEMS_DEFAULT_ATTRIBUTES,
+    &Queue_id
+  );
+
   task_name = rtems_build_name( 'T', 'A', '1', ' ' );
 
   status = rtems_task_create(
@@ -64,14 +72,6 @@
 
   status = rtems_task_start( task_id, Test_task, 1 );
 
-  status = rtems_message_queue_create(
-    rtems_build_name( 'Q', '1', ' ', ' ' ),
-    1,
-    sizeof(uint32_t),
-    RTEMS_DEFAULT_ATTRIBUTES,
-    &Queue_id
-  );
-
   for (count=0; ; count++) {
 
     /* fprintf( stderr, "send 0x%d\n", count ); */

diff -u examples-v2/led/sem_server/init.c:1.3 examples-v2/led/sem_server/init.c:1.4
--- examples-v2/led/sem_server/init.c:1.3	Thu Dec 17 14:09:11 2009
+++ examples-v2/led/sem_server/init.c	Thu Mar  3 12:00:34 2011
@@ -58,8 +58,6 @@
 
   LED_INIT();
 
-  task_name = rtems_build_name( 'T', 'A', '1', ' ' );
-
   status = rtems_semaphore_create(
     rtems_build_name( 'S', 'E', 'M', ' ' ),
     0,  /* created locked */
@@ -69,6 +67,8 @@
   );
   assert( status == RTEMS_SUCCESSFUL );
 
+  task_name = rtems_build_name( 'T', 'A', '1', ' ' );
+
   status = rtems_task_create(
     task_name, 1, RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES,
     RTEMS_DEFAULT_ATTRIBUTES, &task_id
@@ -105,8 +105,6 @@
 }
 
 /**************** START OF CONFIGURATION INFORMATION ****************/
-
-#define CONFIGURE_INIT
 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
 
@@ -117,6 +115,6 @@
 
 #define CONFIGURE_EXTRA_TASK_STACKS         (3 * RTEMS_MINIMUM_STACK_SIZE)
 
+#define CONFIGURE_INIT
 #include <rtems/confdefs.h>
-
 /****************  END OF CONFIGURATION INFORMATION  ****************/

diff -u examples-v2/led/timer/init.c:1.3 examples-v2/led/timer/init.c:1.4
--- examples-v2/led/timer/init.c:1.3	Thu Dec 17 16:07:06 2009
+++ examples-v2/led/timer/init.c	Thu Mar  3 12:00:34 2011
@@ -92,7 +92,6 @@
 
 /**************** START OF CONFIGURATION INFORMATION ****************/
 
-#define CONFIGURE_INIT
 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
 
@@ -103,6 +102,6 @@
 
 #define CONFIGURE_EXTRA_TASK_STACKS         (3 * RTEMS_MINIMUM_STACK_SIZE)
 
+#define CONFIGURE_INIT
 #include <rtems/confdefs.h>
-
 /****************  END OF CONFIGURATION INFORMATION  ****************/

diff -u examples-v2/led/timer_server/init.c:1.2 examples-v2/led/timer_server/init.c:1.3
--- examples-v2/led/timer_server/init.c:1.2	Thu Dec 17 16:07:06 2009
+++ examples-v2/led/timer_server/init.c	Thu Mar  3 12:00:34 2011
@@ -73,7 +73,6 @@
 
 /**************** START OF CONFIGURATION INFORMATION ****************/
 
-#define CONFIGURE_INIT
 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
 
@@ -84,6 +83,6 @@
 
 #define CONFIGURE_EXTRA_TASK_STACKS         (3 * RTEMS_MINIMUM_STACK_SIZE)
 
+#define CONFIGURE_INIT
 #include <rtems/confdefs.h>
-
 /****************  END OF CONFIGURATION INFORMATION  ****************/



--

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/20110303/ffcccdba/attachment-0001.html>


More information about the vc mailing list