Initial commit

This commit is contained in:
2025-03-14 17:22:59 +03:00
commit d5b504e815
12 changed files with 589 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#include "../include/isr.h"
#include "../include/screen.h"
/* Check if the compiler thinks you are targeting the wrong operating system. */
/*#if defined(__linux__)
#error "You are not using a cross-compiler, you will most certainly run into trouble"
#endif
*/
/* This tutorial will only work for the 32-bit ix86 targets. */
/*#if !defined(__i386__)
#error "This tutorial needs to be compiled with a ix86-elf compiler"
#endif
*/
void kmain()
{
terminal_initialize();
terminal_writestring("KatauOS booting up");
isr_install();
terminal_writestring("Kernel init sequence completed");
return;
}