summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-07-16 17:08:41 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-07-16 17:08:41 +0000
commit72cb077f397e79543fd33f6d2258bb6307948015 (patch)
treef085ca119e895e1f21e9c5485c3bea9be468756b /testsuites
parent2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-72cb077f397e79543fd33f6d2258bb6307948015.tar.bz2
2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c: New argument sequence for rtems_shell_init(). Also split on multiple lines and document each parameter.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/samples/ChangeLog5
-rw-r--r--testsuites/samples/fileio/init.c11
2 files changed, 13 insertions, 3 deletions
diff --git a/testsuites/samples/ChangeLog b/testsuites/samples/ChangeLog
index 3cc0570417..0e1bbe5332 100644
--- a/testsuites/samples/ChangeLog
+++ b/testsuites/samples/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * fileio/init.c: New argument sequence for rtems_shell_init(). Also
+ split on multiple lines and document each parameter.
+
2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* minimum/init.c: Disable confdefs.h debug.
diff --git a/testsuites/samples/fileio/init.c b/testsuites/samples/fileio/init.c
index 982ac6e9e4..2b2734dd6e 100644
--- a/testsuites/samples/fileio/init.c
+++ b/testsuites/samples/fileio/init.c
@@ -151,9 +151,14 @@ void fileio_start_shell(void)
printf(" =========================\n");
printf(" starting shell\n");
printf(" =========================\n");
- rtems_shell_init("SHLL",RTEMS_MINIMUM_STACK_SIZE * 4,100,"/dev/console",
- 0, 1);
- rtems_task_suspend(RTEMS_SELF);
+ rtems_shell_init(
+ "SHLL", /* task_name */
+ RTEMS_MINIMUM_STACK_SIZE * 4, /* task_stacksize */
+ 100, /* task_priority */
+ "/dev/console", /* devname */
+ 0, /* forever */
+ 1 /* wait */
+ );
}
#endif /* USE_SHELL */