Cleaning code and provide minimal libc
This commit is contained in:
parent
8fee35522d
commit
f6323421e2
17 changed files with 132 additions and 69 deletions
|
@ -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);
|
||||
printc("Booting Bringelle...",GREEN);
|
||||
|
||||
// Kernel boot sequence
|
||||
pic_enable_interrupt();
|
||||
|
||||
// Search for bootloader informations
|
||||
MBI_TAG_BL_NAME bl_infos;
|
||||
if(!mb_load_bl_name(&bl_infos)){
|
||||
print(bl_infos.name);
|
||||
print(" detected!\n");
|
||||
}
|
||||
|
||||
printc(" done!\n",GREEN);
|
||||
while(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue