diff options
author | Richard Braun <rbraun@sceen.net> | 2017-05-31 21:11:29 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-05-31 21:11:29 +0200 |
commit | ccefd921e76ba4ca7f3d6b54691315c0718b039c (patch) | |
tree | 537221be8c7add94eb226401020126f6904e65ad /kern/shell.h | |
parent | a9ce9f79a324e1b8d6d299bc4e43f02f71d0eb7f (diff) |
kern/shell: separate initialization into two steps
The shell must be able to register commands early. As a result, it's now
initialized in two steps, one of which starts the shell thread.
Diffstat (limited to 'kern/shell.h')
-rw-r--r-- | kern/shell.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kern/shell.h b/kern/shell.h index 5ff4920d..a33abbef 100644 --- a/kern/shell.h +++ b/kern/shell.h @@ -56,6 +56,11 @@ void shell_cmd_init(struct shell_cmd *cmd, const char *name, void shell_setup(void); /* + * Start the shell thread. + */ +void shell_start(void); + +/* * Register a shell command. * * The command name must be unique. It must not include characters outside |