proc: fix errors, enter userspace
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
b279d0a06a
commit
c7fa9a75fa
15 changed files with 86 additions and 8 deletions
|
|
@ -34,7 +34,7 @@
|
|||
#include <lib/list.h>
|
||||
#include <lib/rbtree.h>
|
||||
|
||||
#define P_STACK_SIZE 0x8000
|
||||
#define P_STACK_SIZE 0x10000
|
||||
|
||||
typedef void (*initcall_t)(void);
|
||||
|
||||
|
|
@ -85,7 +85,10 @@ static void kmain()
|
|||
|
||||
struct tty *tee = tty_tee_create("broadcast");
|
||||
tty_tee_add(tee, serial_tty);
|
||||
tty_tee_add(tee, visual_tty);
|
||||
|
||||
if (visual_tty)
|
||||
tty_tee_add(tee, visual_tty);
|
||||
|
||||
tty_printf = tee;
|
||||
|
||||
do_initcalls();
|
||||
|
|
|
|||
Loading…
Reference in a new issue