From ccefd921e76ba4ca7f3d6b54691315c0718b039c Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Wed, 31 May 2017 21:11:29 +0200 Subject: 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. --- kern/kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/kernel.c') diff --git a/kern/kernel.c b/kern/kernel.c index 05cf8392..1d61b0ca 100644 --- a/kern/kernel.c +++ b/kern/kernel.c @@ -50,8 +50,8 @@ kernel_main(void) work_setup(); llsync_setup(); sref_setup(); - shell_setup(); vm_page_info(); + shell_start(); #ifdef X15_RUN_TEST_MODULE test_setup(); -- cgit v1.2.3