2016-02-26 22:31:34 -08:00
|
|
|
#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
|
|
|
|
|
2016-02-27 12:34:36 -05:00
|
|
|
/** Called very early, before global initialization. */
|
2016-02-26 22:31:34 -08:00
|
|
|
extern "C"
|
|
|
|
void
|
|
|
|
kearly()
|
|
|
|
{ }
|
|
|
|
|
|
|
|
|
2016-02-27 12:34:36 -05:00
|
|
|
/** The beginning of the world... */
|
2016-02-26 22:31:34 -08:00
|
|
|
extern "C"
|
|
|
|
void
|
|
|
|
kmain()
|
|
|
|
{ }
|