proc: fix errors, enter userspace

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-21 04:33:35 -04:00
commit c7fa9a75fa
15 changed files with 86 additions and 8 deletions

View file

@ -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();