diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -4,6 +4,8 @@ #include "print.h" #include "init.h" #include "boot.h" +#include "tcb.h" +#include "init.h" #include "device/portio_uart.h" #include "device/processor.h" #include "device/initrd.h" @@ -18,6 +20,15 @@ struct jove_ObjectDirectory _initDirectory = { } }; +static void +_jove_tasking_main(void) +{ + init_load(); + + kprintf("Reached end of kernel task!\n"); + hcf(); +} + void _jove_main(void) { @@ -32,6 +43,7 @@ _jove_main(void) initrd_setup(); #endif + tcb_init(_jove_tasking_main); kprintf("Reached end of kernel main!\n"); hcf(); } |