From 52ce8e2ff81aa5144953768a1bb72aff25c90fa5 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 19 Dec 2007 14:37:06 +0000 Subject: 2007-12-19 Joel Sherrill * init.c: Shell now has some commands that require filesystems with bdbuf support. --- telnetd/ChangeLog | 5 +++++ telnetd/init.c | 25 +++++++++++++++++-------- 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/telnetd/ChangeLog b/telnetd/ChangeLog index e3016f0..6a1f14d 100644 --- a/telnetd/ChangeLog +++ b/telnetd/ChangeLog @@ -1,3 +1,8 @@ +2007-12-19 Joel Sherrill + + * init.c: Shell now has some commands that require filesystems with + bdbuf support. + 2007-11-09 Joel Sherrill * init.c: Test improved. diff --git a/telnetd/init.c b/telnetd/init.c index f57d565..b931e90 100644 --- a/telnetd/init.c +++ b/telnetd/init.c @@ -7,18 +7,29 @@ #define USE_RTEMS_SHELL +/* + * Configuration parameters + */ + #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER #define CONFIGURE_RTEMS_INIT_TASKS_TABLE + #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20 #define CONFIGURE_MAXIMUM_PTYS 8 + +#if defined(USE_RTEMS_SHELL) + #define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK +#endif #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM -#define CONFIGURE_MEMORY_OVERHEAD 256 -#define CONFIGURE_MESSAGE_BUFFER_MEMORY 32 * 1024 -#define CONFIGURE_MAXIMUM_SEMAPHORES 40 -#define CONFIGURE_MAXIMUM_TASKS 20 -#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 20 +#define STACK_CHECKER_ON + +#define CONFIGURE_MEMORY_OVERHEAD 256 +#define CONFIGURE_MESSAGE_BUFFER_MEMORY (32 * 1024) +#define CONFIGURE_MAXIMUM_SEMAPHORES 40 +#define CONFIGURE_MAXIMUM_TASKS 20 +#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 20 #define CONFIGURE_MICROSECONDS_PER_TICK 1000 @@ -33,8 +44,6 @@ #define CONFIGURE_MAXIMUM_DRIVERS 10 #define CONFIGURE_INIT -#define STACK_CHECKER_ON - #include #include #include @@ -148,7 +157,7 @@ void rtemsShell( ) { printk("============== Starting Shell ==============\n"); - shell_shell_loop( NULL ); + rtems_shell_main_loop( NULL ); printk("============== Exiting Shell ==============\n"); } -- cgit v1.2.3