2007-12-17 Chris Johns <chrisj@rtems.org>

* testsuites/samples/fileio/init.c: Change shell_* to
	rtems_shell_*. Add the mount file-system type of msdos.
This commit is contained in:
Chris Johns
2007-12-17 00:40:20 +00:00
parent ba72882bff
commit d2a488f7dd
2 changed files with 10 additions and 5 deletions

View File

@@ -104,9 +104,8 @@ void fileio_start_shell(void)
printf(" =========================\n");
printf(" starting shell\n");
printf(" =========================\n");
shell_init("SHLL",RTEMS_MINIMUM_STACK_SIZE * 4,100,"/dev/console",
B9600 | CS8,
0);
rtems_shell_init("SHLL",RTEMS_MINIMUM_STACK_SIZE * 4,100,"/dev/console",
0, 0);
rtems_task_suspend(RTEMS_SELF);
}
@@ -616,7 +615,7 @@ int main_usercmd(int argc, char **argv)
return 0;
}
shell_cmd_t Shell_USERCMD_Command = {
rtems_shell_cmd_t Shell_USERCMD_Command = {
"usercmd", /* name */
"usercmd n1 [n2 [n3...]] # echo arguments", /* usage */
"user", /* topic */
@@ -625,7 +624,7 @@ shell_cmd_t Shell_USERCMD_Command = {
NULL /* next */
};
shell_alias_t Shell_USERECHO_Alias = {
rtems_shell_alias_t Shell_USERECHO_Alias = {
"usercmd", /* command */
"userecho" /* alias */
};
@@ -635,6 +634,7 @@ shell_alias_t Shell_USERECHO_Alias = {
#define CONFIGURE_SHELL_USER_ALIASES &Shell_USERECHO_Alias
#define CONFIGURE_SHELL_COMMANDS_INIT
#define CONFIGURE_SHELL_COMMANDS_ALL
#define CONFIGURE_SHELL_MOUNT_MSDOS
#include <rtems/shellconfig.h>