diff options
author | Christian Mauderer <Christian.Mauderer@embedded-brains.de> | 2014-03-19 17:17:39 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-20 09:10:26 +0100 |
commit | 6cd4a5ca2e2211c4008d99fc272412c9b03c86ce (patch) | |
tree | 74d90861edc8f206824e462710679b69b46b2aa6 /cpukit/libmisc/shell/shell.h | |
parent | tests/libtests: Use <rtems/test.h> (diff) | |
download | rtems-6cd4a5ca2e2211c4008d99fc272412c9b03c86ce.tar.bz2 |
cpukit/shell: Replace task variables with posix keys.
Use posix keys for current shell environment instead of task variables. With
this patch the shell needs one posix-key and one posix-key-value-pair
configured.
Update documentation for the shell.
Adapt samples/fileio:
- Add necessary objects.
- Add login function and custom device name for better testing of the shell.
Diffstat (limited to 'cpukit/libmisc/shell/shell.h')
-rw-r--r-- | cpukit/libmisc/shell/shell.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libmisc/shell/shell.h b/cpukit/libmisc/shell/shell.h index 079ef667af..af09ac3a38 100644 --- a/cpukit/libmisc/shell/shell.h +++ b/cpukit/libmisc/shell/shell.h @@ -205,8 +205,8 @@ bool rtems_shell_main_loop( rtems_shell_env_t *rtems_shell_env ); -extern rtems_shell_env_t rtems_global_shell_env; -extern rtems_shell_env_t *rtems_current_shell_env; +rtems_shell_env_t *rtems_shell_get_current_env(void); +#define rtems_current_shell_env rtems_shell_get_current_env() /* * The types of file systems we can mount. We have them broken out |