Barest of bare bones

This commit is contained in:
Eryn Wells 2016-02-26 22:31:34 -08:00
parent 3350ea2151
commit d71037a775
5 changed files with 149 additions and 0 deletions

27
main.cc Normal file
View file

@ -0,0 +1,27 @@
#include <stddef.h>
#include <stdint.h>
#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()
{ }
/**
* The beginning of the world...
*/
extern "C"
void
kmain()
{ }