change log for rtems (2011-09-16)

rtems-vc at rtems.org rtems-vc at rtems.org
Fri Sep 16 10:10:29 UTC 2011


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

	* libmisc/shell/shell-wait-for-input.c: New file.
	* libmisc/Makefile.am: Reflect change above.
	* libmisc/shell/shell.h: Declare rtems_shell_wait_for_input().

M 1.2923  cpukit/ChangeLog
M   1.91  cpukit/libmisc/Makefile.am
A    1.1  cpukit/libmisc/shell/shell-wait-for-input.c
M   1.29  cpukit/libmisc/shell/shell.h

diff -u rtems/cpukit/ChangeLog:1.2922 rtems/cpukit/ChangeLog:1.2923
--- rtems/cpukit/ChangeLog:1.2922	Thu Sep 15 12:09:15 2011
+++ rtems/cpukit/ChangeLog	Fri Sep 16 04:16:31 2011
@@ -1,3 +1,9 @@
+2011-09-16	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* libmisc/shell/shell-wait-for-input.c: New file.
+	* libmisc/Makefile.am: Reflect change above.
+	* libmisc/shell/shell.h: Declare rtems_shell_wait_for_input().
+
 2011-09-15	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* score/include/rtems/score/thread.h: Ensure CBS builds with POSIX

diff -u rtems/cpukit/libmisc/Makefile.am:1.90 rtems/cpukit/libmisc/Makefile.am:1.91
--- rtems/cpukit/libmisc/Makefile.am:1.90	Fri May 13 08:46:43 2011
+++ rtems/cpukit/libmisc/Makefile.am	Fri Sep 16 04:16:32 2011
@@ -103,7 +103,8 @@
     shell/hexdump-odsyntax.c shell/hexdump-parse.c shell/hexsyntax.c \
     shell/main_time.c shell/main_mknod.c \
     shell/main_setenv.c shell/main_getenv.c shell/main_unsetenv.c \
-    shell/main_mkrfs.c shell/main_debugrfs.c
+    shell/main_mkrfs.c shell/main_debugrfs.c \
+    shell/shell-wait-for-input.c
 
 if LIBNETWORKING
 libshell_a_SOURCES += \

diff -u /dev/null rtems/cpukit/libmisc/shell/shell-wait-for-input.c:1.1
--- /dev/null	Fri Sep 16 05:10:28 2011
+++ rtems/cpukit/libmisc/shell/shell-wait-for-input.c	Fri Sep 16 04:16:32 2011
@@ -0,0 +1,87 @@
+/*
+ * Copyright (c) 2011 embedded brains GmbH.  All rights reserved.
+ *
+ *  embedded brains GmbH
+ *  Obere Lagerstr. 30
+ *  82178 Puchheim
+ *  Germany
+ *  <rtems at embedded-brains.de>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <rtems/shell.h>
+
+#include <termios.h>
+#include <unistd.h>
+
+static rtems_status_code change_serial_settings(int fd, struct termios *term)
+{
+  rtems_status_code sc = RTEMS_UNSATISFIED;
+  int rv = tcgetattr(fd, term);
+
+  if (rv == 0) {
+    struct termios new_term = *term;
+
+    new_term.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON);
+    new_term.c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN);
+    new_term.c_cflag &= ~(CSIZE | PARENB);
+    new_term.c_cflag |= CS8;
+
+    new_term.c_cc [VMIN] = 0;
+    new_term.c_cc [VTIME] = 10;
+
+    rv = tcsetattr(fd, TCSANOW, &new_term);
+    if (rv == 0) {
+      sc = RTEMS_SUCCESSFUL;
+    }
+  }
+
+  return sc;
+}
+
+static rtems_status_code restore_serial_settings(int fd, struct termios *term)
+{
+  int rv = tcsetattr(fd, TCSANOW, term);
+
+  return rv == 0 ? RTEMS_SUCCESSFUL : RTEMS_UNSATISFIED;
+}
+
+rtems_status_code rtems_shell_wait_for_input(
+  int fd,
+  int timeout_in_seconds,
+  rtems_shell_wait_for_input_notification notification,
+  void *notification_arg
+)
+{
+  struct termios term;
+  rtems_status_code sc = change_serial_settings(fd, &term);
+
+  if (sc == RTEMS_SUCCESSFUL) {
+    bool input_detected = false;
+    int i = 0;
+
+    for (i = 0; i < timeout_in_seconds && !input_detected; ++i) {
+      char c;
+
+      (*notification)(fd, timeout_in_seconds - i, notification_arg);
+
+      input_detected = read(fd, &c, sizeof(c)) > 0;
+    }
+
+    sc = restore_serial_settings(fd, &term);
+    if (sc == RTEMS_SUCCESSFUL) {
+      sc = input_detected ? RTEMS_SUCCESSFUL : RTEMS_TIMEOUT;
+    }
+  }
+
+  return sc;
+}

diff -u rtems/cpukit/libmisc/shell/shell.h:1.28 rtems/cpukit/libmisc/shell/shell.h:1.29
--- rtems/cpukit/libmisc/shell/shell.h:1.28	Wed Jul 22 10:17:37 2009
+++ rtems/cpukit/libmisc/shell/shell.h	Fri Sep 16 04:16:32 2011
@@ -285,6 +285,26 @@
  */
 void rtems_shell_mount_del_fsys(rtems_shell_filesystems_t* fs);
 
+typedef void (*rtems_shell_wait_for_input_notification)(
+  int fd,
+  int seconds_remaining,
+  void *arg
+);
+
+/**
+ * @brief Waits for input.
+ *
+ * @retval RTEMS_SUCCESSFUL Input detected.
+ * @retval RTEMS_TIMEOUT Timeout expired.
+ * @retval RTEMS_UNSATISFIED Cannot change or restore termios attributes.
+ */
+rtems_status_code rtems_shell_wait_for_input(
+  int fd,
+  int timeout_in_seconds,
+  rtems_shell_wait_for_input_notification notification,
+  void *notification_arg
+);
+
 #ifdef __cplusplus
 }
 #endif


 *sh*:
2011-09-16	Sebastian Huber <Sebastian.Huber at embedded-brains.de>

	* fileio/fileio.scn: New file.
	* capture/init.c, fileio/init.c: Use rtems_shell_wait_for_input().

M  1.194  testsuites/samples/ChangeLog
M    1.8  testsuites/samples/capture/init.c
A    1.1  testsuites/samples/fileio/fileio.scn
M   1.35  testsuites/samples/fileio/init.c

diff -u rtems/testsuites/samples/ChangeLog:1.193 rtems/testsuites/samples/ChangeLog:1.194
--- rtems/testsuites/samples/ChangeLog:1.193	Mon Aug 29 12:18:42 2011
+++ rtems/testsuites/samples/ChangeLog	Fri Sep 16 04:23:19 2011
@@ -1,3 +1,8 @@
+2011-09-16	Sebastian Huber <Sebastian.Huber at embedded-brains.de>
+
+	* fileio/fileio.scn: New file.
+	* capture/init.c, fileio/init.c: Use rtems_shell_wait_for_input().
+
 2011-08-29	Joel Sherrill <joel.sherrilL at OARcorp.com>
 
 	* ticker/system.h: Remove unneeded include.

diff -u rtems/testsuites/samples/capture/init.c:1.7 rtems/testsuites/samples/capture/init.c:1.8
--- rtems/testsuites/samples/capture/init.c:1.7	Tue Feb 22 04:54:32 2011
+++ rtems/testsuites/samples/capture/init.c	Fri Sep 16 04:23:19 2011
@@ -33,9 +33,18 @@
 #include <rtems.h>
 #include <rtems/capture-cli.h>
 #include <rtems/monitor.h>
+#include <rtems/shell.h>
 
 volatile int can_proceed = 1;
 
+static void notification(int fd, int seconds_remaining, void *arg)
+{
+  printf(
+    "Press any key to start capture engine (%is remaining)\n",
+    seconds_remaining
+  );
+}
+
 rtems_task Init(
   rtems_task_argument ignored
 )
@@ -43,27 +52,40 @@
 #if BSP_SMALL_MEMORY
   printf("NO Capture Engine. MEMORY TOO SMALL");
 #else
+  rtems_status_code   status;
   rtems_task_priority old_priority;
   rtems_mode          old_mode;
 
-  /* lower the task priority to allow created tasks to execute */
-
-  rtems_task_set_priority(RTEMS_SELF, 20, &old_priority);
-  rtems_task_mode(RTEMS_PREEMPT,  RTEMS_PREEMPT_MASK, &old_mode);
+  puts( "\n\n*** TEST CAPTURE ENGINE ***" );
 
-  printf( "\n*** CAPTURE ENGINE TEST ***\n" );
+  status = rtems_shell_wait_for_input(
+    STDIN_FILENO,
+    20,
+    notification,
+    NULL
+  );
+  if (status == RTEMS_SUCCESSFUL) {
+    /* lower the task priority to allow created tasks to execute */
+
+    rtems_task_set_priority(RTEMS_SELF, 20, &old_priority);
+    rtems_task_mode(RTEMS_PREEMPT,  RTEMS_PREEMPT_MASK, &old_mode);
+
+    while (!can_proceed)
+    {
+      printf ("Sleeping\n");
+      usleep (1000000);
+    }
+
+    rtems_monitor_init (0);
+    rtems_capture_cli_init (0);
+
+    setup_tasks_to_watch ();
+
+    rtems_task_delete (RTEMS_SELF);
+  } else {
+    puts( "*** END OF TEST CAPTURE ENGINE ***" );
 
-  while (!can_proceed)
-  {
-    printf ("Sleeping\n");
-    usleep (1000000);
+    exit( 0 );
   }
-
-  rtems_monitor_init (0);
-  rtems_capture_cli_init (0);
-
-  setup_tasks_to_watch ();
-
-  rtems_task_delete (RTEMS_SELF);
 #endif
 }

diff -u /dev/null rtems/testsuites/samples/fileio/fileio.scn:1.1
--- /dev/null	Fri Sep 16 05:10:28 2011
+++ rtems/testsuites/samples/fileio/fileio.scn	Fri Sep 16 04:23:19 2011
@@ -0,0 +1,22 @@
+*** TEST FILE I/O SAMPLE ***
+Press any key to start file I/O sample (20s remaining)
+Press any key to start file I/O sample (19s remaining)
+Press any key to start file I/O sample (18s remaining)
+Press any key to start file I/O sample (17s remaining)
+Press any key to start file I/O sample (16s remaining)
+Press any key to start file I/O sample (15s remaining)
+Press any key to start file I/O sample (14s remaining)
+Press any key to start file I/O sample (13s remaining)
+Press any key to start file I/O sample (12s remaining)
+Press any key to start file I/O sample (11s remaining)
+Press any key to start file I/O sample (10s remaining)
+Press any key to start file I/O sample (9s remaining)
+Press any key to start file I/O sample (8s remaining)
+Press any key to start file I/O sample (7s remaining)
+Press any key to start file I/O sample (6s remaining)
+Press any key to start file I/O sample (5s remaining)
+Press any key to start file I/O sample (4s remaining)
+Press any key to start file I/O sample (3s remaining)
+Press any key to start file I/O sample (2s remaining)
+Press any key to start file I/O sample (1s remaining)
+*** END OF TEST FILE I/O SAMPLE ***

diff -u rtems/testsuites/samples/fileio/init.c:1.34 rtems/testsuites/samples/fileio/init.c:1.35
--- rtems/testsuites/samples/fileio/init.c:1.34	Sun Jul  3 19:34:00 2011
+++ rtems/testsuites/samples/fileio/init.c	Fri Sep 16 04:23:19 2011
@@ -43,6 +43,7 @@
 #include <rtems/ramdisk.h>
 #include <rtems/nvdisk.h>
 #include <rtems/nvdisk-sram.h>
+#include <rtems/shell.h>
 
 #if FILEIO_BUILD
 
@@ -226,7 +227,6 @@
 #define USE_SHELL
 
 #ifdef USE_SHELL
-#include <rtems/shell.h>
 
 int
 shell_nvdisk_trace (int argc, char* argv[])
@@ -1213,6 +1213,15 @@
   fileio_menu();
 }
 
+static void
+notification (int fd, int seconds_remaining, void *arg)
+{
+  printf(
+    "Press any key to start file I/O sample (%is remaining)\n",
+    seconds_remaining
+  );
+}
+
 /*
  * RTEMS Startup Task
  */
@@ -1223,22 +1232,34 @@
   rtems_id   Task_id;
   rtems_status_code status;
 
-  puts( "\n\n*** FILE I/O SAMPLE AND TEST ***" );
+  puts( "\n\n*** TEST FILE I/O SAMPLE ***" );
 
-  Task_name = rtems_build_name('F','M','N','U');
-
-  status = rtems_task_create(
-    Task_name, 1, RTEMS_MINIMUM_STACK_SIZE * 2,
-    RTEMS_DEFAULT_MODES ,
-    RTEMS_FLOATING_POINT | RTEMS_DEFAULT_ATTRIBUTES, &Task_id
+  status = rtems_shell_wait_for_input(
+    STDIN_FILENO,
+    20,
+    notification,
+    NULL
   );
-  directive_failed( status, "create" ); 
+  if (status == RTEMS_SUCCESSFUL) {
+    Task_name = rtems_build_name('F','M','N','U');
 
-  status = rtems_task_start( Task_id, fileio_task, 1 );
-  directive_failed( status, "start" ); 
+    status = rtems_task_create(
+      Task_name, 1, RTEMS_MINIMUM_STACK_SIZE * 2,
+      RTEMS_DEFAULT_MODES ,
+      RTEMS_FLOATING_POINT | RTEMS_DEFAULT_ATTRIBUTES, &Task_id
+    );
+    directive_failed( status, "create" ); 
+
+    status = rtems_task_start( Task_id, fileio_task, 1 );
+    directive_failed( status, "start" ); 
+
+    status = rtems_task_delete( RTEMS_SELF );
+    directive_failed( status, "delete" ); 
+  } else {
+    puts( "*** END OF TEST FILE I/O SAMPLE ***" );
 
-  status = rtems_task_delete( RTEMS_SELF );
-  directive_failed( status, "delete" ); 
+    rtems_test_exit( 0 );
+  }
 }
 
 #if defined(USE_SHELL)


 *sh*:
2011-09-16	Sebastian Huber <Sebastian.Huber at embedded-brains.de>

	* monitor/monitor.scn, termios/termios.scn: New files.
	* monitor/init.c, termios01/init.c: Use rtems_shell_wait_for_input().

M  1.276  testsuites/libtests/ChangeLog
M   1.12  testsuites/libtests/monitor/init.c
A    1.1  testsuites/libtests/monitor/monitor.scn
M   1.18  testsuites/libtests/termios/init.c
A    1.1  testsuites/libtests/termios/termios.scn

diff -u rtems/testsuites/libtests/ChangeLog:1.275 rtems/testsuites/libtests/ChangeLog:1.276
--- rtems/testsuites/libtests/ChangeLog:1.275	Fri Sep  2 08:41:55 2011
+++ rtems/testsuites/libtests/ChangeLog	Fri Sep 16 04:24:52 2011
@@ -1,3 +1,8 @@
+2011-09-16	Sebastian Huber <Sebastian.Huber at embedded-brains.de>
+
+	* monitor/monitor.scn, termios/termios.scn: New files.
+	* monitor/init.c, termios01/init.c: Use rtems_shell_wait_for_input().
+
 2011-09-02	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
 	* stackchk/init.c, stackchk/system.h, stackchk/stackchk.scn: Print end

diff -u rtems/testsuites/libtests/monitor/init.c:1.11 rtems/testsuites/libtests/monitor/init.c:1.12
--- rtems/testsuites/libtests/monitor/init.c:1.11	Tue Feb 22 01:34:07 2011
+++ rtems/testsuites/libtests/monitor/init.c	Fri Sep 16 04:24:52 2011
@@ -21,6 +21,7 @@
 #include "system.h"
 
 #include <rtems/monitor.h>
+#include <rtems/shell.h>
 
 rtems_task_priority Priorities[6] = { 0,   1,   1,   3,   4,   5 };
 
@@ -36,7 +37,13 @@
   }
 }
 
-
+static void notification(int fd, int seconds_remaining, void *arg)
+{
+  printf(
+    "Press any key to enter monitor (%is remaining)\n",
+    seconds_remaining
+  );
+}
 
 rtems_task Init(
   rtems_task_argument argument
@@ -45,7 +52,7 @@
   uint32_t    index;
   rtems_status_code status;
 
-  puts( "\n\n*** MONITOR TASK TEST ***" );
+  puts( "\n\n*** TEST MONITOR ***" );
 
   Task_name[ 1 ] =  rtems_build_name( 'T', 'A', '1', ' ' );
   Task_name[ 2 ] =  rtems_build_name( 'T', 'A', '2', ' ' );
@@ -70,8 +77,20 @@
     directive_failed( status, "rtems_task_start loop" );
   }
 
-  rtems_monitor_init( 0 );
+  status = rtems_shell_wait_for_input(
+    STDIN_FILENO,
+    20,
+    notification,
+    NULL
+  );
+  if (status == RTEMS_SUCCESSFUL) {
+    rtems_monitor_init( 0 );
+
+    status = rtems_task_delete( RTEMS_SELF );
+    directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
+  } else {
+    puts( "*** END OF TEST MONITOR ***" );
 
-  status = rtems_task_delete( RTEMS_SELF );
-  directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
+    rtems_test_exit( 0 );
+  }
 }

diff -u /dev/null rtems/testsuites/libtests/monitor/monitor.scn:1.1
--- /dev/null	Fri Sep 16 05:10:28 2011
+++ rtems/testsuites/libtests/monitor/monitor.scn	Fri Sep 16 04:24:52 2011
@@ -0,0 +1,22 @@
+*** TEST MONITOR ***
+Press any key to enter monitor (20s remaining)
+Press any key to enter monitor (19s remaining)
+Press any key to enter monitor (18s remaining)
+Press any key to enter monitor (17s remaining)
+Press any key to enter monitor (16s remaining)
+Press any key to enter monitor (15s remaining)
+Press any key to enter monitor (14s remaining)
+Press any key to enter monitor (13s remaining)
+Press any key to enter monitor (12s remaining)
+Press any key to enter monitor (11s remaining)
+Press any key to enter monitor (10s remaining)
+Press any key to enter monitor (9s remaining)
+Press any key to enter monitor (8s remaining)
+Press any key to enter monitor (7s remaining)
+Press any key to enter monitor (6s remaining)
+Press any key to enter monitor (5s remaining)
+Press any key to enter monitor (4s remaining)
+Press any key to enter monitor (3s remaining)
+Press any key to enter monitor (2s remaining)
+Press any key to enter monitor (1s remaining)
+*** END OF TEST MONITOR ***

diff -u rtems/testsuites/libtests/termios/init.c:1.17 rtems/testsuites/libtests/termios/init.c:1.18
--- rtems/testsuites/libtests/termios/init.c:1.17	Tue Feb 22 01:34:08 2011
+++ rtems/testsuites/libtests/termios/init.c	Fri Sep 16 04:24:52 2011
@@ -43,6 +43,7 @@
 rtems_task Init (rtems_task_argument argument);
 
 #include <rtems/confdefs.h>
+#include <rtems/shell.h>
 
 #include <stdio.h>
 #include <unistd.h>
@@ -711,6 +712,13 @@
   printf( "Enter your choice (1 to 5 or 9, followed by a carriage return): " );
 }
 
+static void notification( int fd, int seconds_remaining, void *arg )
+{
+  printf(
+    "Press any key to check the termios input capabilities (%is remaining)\n",
+    seconds_remaining
+  );
+}
 
 /*
  * RTEMS Startup Task
@@ -718,61 +726,74 @@
 rtems_task
 Init (rtems_task_argument ignored)
 {
+  rtems_status_code status;
   char c ;
   struct termios orig_termios, test_termios;
 
-  printf( "\n\n*** TEST OF TERMIOS INPUT CAPABILITIES ***\n" );
-
-  if( tcgetattr( fileno( stdin ), &orig_termios ) < 0 ) {
-    perror( "tcgetattr() failed" );
-    rtems_test_exit( 0 );
-  }
-
-  test_termios = orig_termios;
+  puts( "\n\n*** TEST TERMIOS INPUT CAPABILITIES ***" );
 
-  usage();
-  for(;;) {
-    switch( c = getchar() ) {
-      case '1':
-        printf( "\nResetting the line to the original termios setting\n\n" );
-        test_termios = orig_termios;
-        if( tcsetattr( fileno( stdin ), TCSADRAIN, &test_termios ) < 0 ) {
-          perror( "tcsetattr() failed" );
-          rtems_test_exit( 1 );
-        }
-        usage();
-        break;
-
-      case '2':
-        print_termios( &test_termios );
-        usage();
-        break;
-
-      case '3':
-        change_line_settings( &test_termios );
-        usage();
-        break;
+  status = rtems_shell_wait_for_input(
+    STDIN_FILENO,
+    20,
+    notification,
+    NULL
+  );
+  if (status == RTEMS_SUCCESSFUL) {
+    if( tcgetattr( fileno( stdin ), &orig_termios ) < 0 ) {
+      perror( "tcgetattr() failed" );
+      rtems_test_exit( 0 );
+    }
 
-      case '4':
-        canonical_input( &test_termios );
-        usage();
-        break;
+    test_termios = orig_termios;
 
-      case '5':
-        raw_input( &test_termios );
-        usage();
-        break;
+    usage();
+    for(;;) {
+      switch( c = getchar() ) {
+        case '1':
+          printf( "\nResetting the line to the original termios setting\n\n" );
+          test_termios = orig_termios;
+          if( tcsetattr( fileno( stdin ), TCSADRAIN, &test_termios ) < 0 ) {
+            perror( "tcsetattr() failed" );
+            rtems_test_exit( 1 );
+          }
+          usage();
+          break;
+
+        case '2':
+          print_termios( &test_termios );
+          usage();
+          break;
+
+        case '3':
+          change_line_settings( &test_termios );
+          usage();
+          break;
+
+        case '4':
+          canonical_input( &test_termios );
+          usage();
+          break;
+
+        case '5':
+          raw_input( &test_termios );
+          usage();
+          break;
 
-      case '9':
-        rtems_test_exit( 1 );
+        case '9':
+          rtems_test_exit( 1 );
 
-      case '\n':
-        break;
+        case '\n':
+          break;
 
-      default:
-        printf( "\n%c is not a valid choice. Try again\n\n", c );
-        usage();
-        break;
+        default:
+          printf( "\n%c is not a valid choice. Try again\n\n", c );
+          usage();
+          break;
+      }
     }
+  } else {
+    puts( "*** END OF TEST TERMIOS INPUT CAPABILITIES ***" );
+
+    rtems_test_exit( 0 );
   }
 }

diff -u /dev/null rtems/testsuites/libtests/termios/termios.scn:1.1
--- /dev/null	Fri Sep 16 05:10:29 2011
+++ rtems/testsuites/libtests/termios/termios.scn	Fri Sep 16 04:24:52 2011
@@ -0,0 +1,22 @@
+*** TEST TERMIOS INPUT CAPABILITIES ***
+Press any key to check the termios input capabilities (20s remaining)
+Press any key to check the termios input capabilities (19s remaining)
+Press any key to check the termios input capabilities (18s remaining)
+Press any key to check the termios input capabilities (17s remaining)
+Press any key to check the termios input capabilities (16s remaining)
+Press any key to check the termios input capabilities (15s remaining)
+Press any key to check the termios input capabilities (14s remaining)
+Press any key to check the termios input capabilities (13s remaining)
+Press any key to check the termios input capabilities (12s remaining)
+Press any key to check the termios input capabilities (11s remaining)
+Press any key to check the termios input capabilities (10s remaining)
+Press any key to check the termios input capabilities (9s remaining)
+Press any key to check the termios input capabilities (8s remaining)
+Press any key to check the termios input capabilities (7s remaining)
+Press any key to check the termios input capabilities (6s remaining)
+Press any key to check the termios input capabilities (5s remaining)
+Press any key to check the termios input capabilities (4s remaining)
+Press any key to check the termios input capabilities (3s remaining)
+Press any key to check the termios input capabilities (2s remaining)
+Press any key to check the termios input capabilities (1s remaining)
+*** END OF TEST TERMIOS INPUT CAPABILITIES ***


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

	* rtems/score/arm.h: More CPU_MODEL_NAME variants.

M  1.131  cpukit/score/cpu/arm/ChangeLog
M   1.20  cpukit/score/cpu/arm/rtems/score/arm.h

diff -u rtems/cpukit/score/cpu/arm/ChangeLog:1.130 rtems/cpukit/score/cpu/arm/ChangeLog:1.131
--- rtems/cpukit/score/cpu/arm/ChangeLog:1.130	Wed May 18 00:18:22 2011
+++ rtems/cpukit/score/cpu/arm/ChangeLog	Fri Sep 16 04:47:09 2011
@@ -1,3 +1,7 @@
+2011-09-16	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* rtems/score/arm.h: More CPU_MODEL_NAME variants.
+
 2011-05-18	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* Makefile.am: Reformat.

diff -u rtems/cpukit/score/cpu/arm/rtems/score/arm.h:1.19 rtems/cpukit/score/cpu/arm/rtems/score/arm.h:1.20
--- rtems/cpukit/score/cpu/arm/rtems/score/arm.h:1.19	Mon May 10 15:29:13 2010
+++ rtems/cpukit/score/cpu/arm/rtems/score/arm.h	Fri Sep 16 04:47:09 2011
@@ -66,6 +66,15 @@
 #elif defined(__ARM_ARCH_6J__)
 #  define CPU_MODEL_NAME  "ARMv6J"
 
+#elif defined(__ARM_ARCH_6M__)
+#  define CPU_MODEL_NAME  "ARMv6M"
+
+#elif defined(__ARM_ARCH_7__)
+#  define CPU_MODEL_NAME  "ARMv7"
+
+#elif defined(__ARM_ARCH_7M__)
+#  define CPU_MODEL_NAME  "ARMv7M"
+
 #elif defined(__ARM_ARCH_7A__)
 #  define CPU_MODEL_NAME  "ARMv7A"
 



--

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/20110916/56dd105b/attachment.html>


More information about the vc mailing list