Say hello, kernel!
This commit is contained in:
parent
d8c96e8eed
commit
f750094b13
4 changed files with 66 additions and 6 deletions
|
@ -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... */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue