diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-03-30 17:05:04 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-03-30 17:05:04 +0000 |
commit | 9fb97de7bf7eae530f6383b70b79b7ccc3f2ad5e (patch) | |
tree | 6cad20073c2022e89d0c2c83a8cdc1e2456da0ad | |
parent | 2009-03-30 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-9fb97de7bf7eae530f6383b70b79b7ccc3f2ad5e.tar.bz2 |
2009-03-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shell/confinit.t: New argument sequence for rtems_shell_init().
-rw-r--r-- | doc/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <sebastian.huber@embedded-brains.de> + + * shell/confinit.t: New argument sequence for rtems_shell_init(). + 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com> * 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 |