#include #include #include "Console.hh" #if defined(__linux__) #error "This file should be compiled with a cross-compiler, not the Linux system compiler!" #endif #if !defined(__i386__) #error "This file should be compiled with an ix86-elf compiler!" #endif /** Called very early, before global initialization. */ extern "C" void kearly() { kernel::Console console; console.clear(kernel::Console::Color::Blue); console.writeString("Hello world!\n"); console.writeString("a\nb\nc\n"); console.writeString("abc\tdef\tghi\tjkl\tmno\n"); } /** The beginning of the world... */ extern "C" void kmain() { }