blob: 8d2783f2c923b1c2f49843b87587ec80eb68d79f [file] [log] [blame]
#include "vga.h"
#include "log.h"
#include "io.h"
#include "descriptor_tables.h"
#include "timer.h"
int kmain(void *mboot)
{
vga_clear();
vga_set_color(LIGHT_BLUE, BLACK);
vga_write("Hello!\nWelcome to Bluejay OS\n");
vga_set_color(WHITE, BLACK);
init_descriptor_tables();
vga_set_color(LIGHT_GREEN, BLACK);
vga_write("Setup complete!\n");
vga_set_color(WHITE, BLACK);
asm volatile("sti");
init_timer(50);
while (1)
{}
return 0xCAFEBABE;
}