main: add tty layer to kmain
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
57d3962d5c
commit
7c7d052286
1 changed files with 8 additions and 0 deletions
|
|
@ -68,6 +68,14 @@ static void kmain()
|
||||||
/* start the kernel */
|
/* start the kernel */
|
||||||
devfs_init();
|
devfs_init();
|
||||||
device_layer_init();
|
device_layer_init();
|
||||||
|
tty_layer_init();
|
||||||
|
|
||||||
|
/* init main fallback tty */
|
||||||
|
struct tty *main_tty = NULL;
|
||||||
|
serial_port_tty_init(&main_tty);
|
||||||
|
|
||||||
|
tty_printf = main_tty;
|
||||||
|
|
||||||
do_initcalls();
|
do_initcalls();
|
||||||
|
|
||||||
/* do nothing, for now :) */
|
/* do nothing, for now :) */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue