diff --git a/kernel.c b/kernel.c index 6a6fbbb..04071fd 100644 --- a/kernel.c +++ b/kernel.c @@ -7,6 +7,7 @@ #include "stlio.h" #include "mem.h" #include "tests.h" +#include "shell.h" void kinit() { //gdt_configure(); @@ -20,5 +21,6 @@ void kinit() { // Should kmain return, we fall back to the loader which then just keeps in a hung state void kmain() { kinit(); - test_read(); + clear_fb(); + jmain(); } diff --git a/tests.c b/tests.c index 0bdf098..68acfa2 100644 --- a/tests.c +++ b/tests.c @@ -2,6 +2,7 @@ #include "stlio.h" #include "tests.h" #include "serial.h" +#include "shell.h" void test_serial_write() { char* serial1 = "0123456789abcdef0123456789abcdef"; @@ -16,8 +17,6 @@ void test_write(void) { void test_dispatcher(void) { clear_fb(); - test_write(); - test_write(); } void test_read(void) { char buf[5];