From 9fb97de7bf7eae530f6383b70b79b7ccc3f2ad5e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 30 Mar 2009 17:05:04 +0000 Subject: 2009-03-30 Sebastian Huber * shell/confinit.t: New argument sequence for rtems_shell_init(). --- doc/ChangeLog | 4 ++++ doc/shell/confinit.t | 27 +++++++++++++++------------ 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index 16828be634..7f1d8722cb 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,7 @@ +2009-03-30 Sebastian Huber + + * shell/confinit.t: New argument sequence for rtems_shell_init(). + 2009-03-02 Joel Sherrill * user/.cvsignore: Add Object ID PDF files. diff --git a/doc/shell/confinit.t b/doc/shell/confinit.t index 4de3987323..65bae96ba9 100644 --- a/doc/shell/confinit.t +++ b/doc/shell/confinit.t @@ -191,12 +191,14 @@ void start_shell(void) printf(" starting shell\n"); printf(" =========================\n"); rtems_shell_init( - "SHLL", /* task name */ - RTEMS_MINIMUM_STACK_SIZE * 4, /* task stack size */ - 100, /* task priority */ - "/dev/console", /* device name */ - 0, /* run forever */ - 1 /* wait for shell to terminate */ + "SHLL", /* task name */ + RTEMS_MINIMUM_STACK_SIZE * 4, /* task stack size */ + 100, /* task priority */ + "/dev/console", /* device name */ + false, /* run forever */ + true, /* wait for shell to terminate */ + rtems_shell_login_check /* login check function, + use NULL to disable a login check */ ); @} @end smallexample @@ -228,13 +230,14 @@ publicly available related to initialization and configuration. @findex rtems_shell_init @example -rtems_status_code rtems_shell_init ( - char *task_name, - uint32_t task_stacksize, +rtems_status_code rtems_shell_init( + const char *task_name, + size_t task_stacksize, rtems_task_priority task_priority, - char *devname, - tcflag_t tcflag, - int forever + const char *devname, + bool forever, + bool wait, + rtems_login_check login_check ); @end example -- cgit v1.2.3