From f6323421e22c3585c58b54658a11e1e4706cc8fa Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Fri, 9 Apr 2021 10:29:23 +0200 Subject: Cleaning code and provide minimal libc --- src/bringelle.c | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'src/bringelle.c') diff --git a/src/bringelle.c b/src/bringelle.c index f6b099c..5431ad4 100644 --- a/src/bringelle.c +++ b/src/bringelle.c @@ -1,23 +1,15 @@ -#include "utils/print.h" -#include "utils/asm.h" +#include "libc/stdio.h" #include "utils/pic.h" -#include "utils/8042.h" #include "boot/multiboot.h" -extern char *name_addr; - void bringelle(){ clear(); - printc("Booting Bringelle...\n",GREEN); - pic_enable_interrupt(); + printc("Booting Bringelle...",GREEN); - // Search for bootloader informations - MBI_TAG_BL_NAME bl_infos; - if(!mb_load_bl_name(&bl_infos)){ - print(bl_infos.name); - print(" detected!\n"); - } + // Kernel boot sequence + pic_enable_interrupt(); + printc(" done!\n",GREEN); while(1); } -- cgit v1.2.3