Syncboot/kernel/kernel.c

23 lines
433 B
C
Raw Normal View History

//#include <stdio.h>
#include <kernel/tty.h>
#include <kernel/gdt.h>
2019-04-01 01:18:48 +00:00
int kernel_main(void) {
//Prepare the GDT
gdt_install()
2019-04-01 01:18:48 +00:00
//Prepare the screen, and blank it out.
screen_initialize();
//Print a copyright message.
term_writes("(c)");
term_setcolor(GREEN);
term_writes(" Project");
term_setcolor(RED);
term_writes("RED");
term_setcolor(WHITE);
term_writes(", 2019\n");
2019-04-01 01:18:48 +00:00
for(;;) {}
return 0;
}