aboutsummaryrefslogtreecommitdiff
path: root/src/bringelle.c
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2021-04-09 10:29:23 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2021-04-09 10:29:23 +0200
commitf6323421e22c3585c58b54658a11e1e4706cc8fa (patch)
treef317b7129dc4350fd088b59a43c1b6e80cd5c39b /src/bringelle.c
parent8fee35522dee033863f68c1d2b45f5fe988de9eb (diff)
Cleaning code and provide minimal libc
Diffstat (limited to 'src/bringelle.c')
-rw-r--r--src/bringelle.c18
1 files changed, 5 insertions, 13 deletions
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);
}