Say hello, kernel!

This commit is contained in:
Eryn Wells 2016-02-27 13:50:51 -05:00
parent d8c96e8eed
commit f750094b13
4 changed files with 66 additions and 6 deletions

View file

@ -1,5 +1,6 @@
#include <stddef.h>
#include <stdint.h>
#include "Console.hh"
#if defined(__linux__)
#error "This file should be compiled with a cross-compiler, not the Linux system compiler!"
@ -13,7 +14,11 @@
extern "C"
void
kearly()
{ }
{
kernel::Console console;
console.clear(kernel::Console::Color::Blue);
console.writeString("Hello world!");
}
/** The beginning of the world... */