old-MTGos-old/kernel/hal/x86/init/init.cpp

16 lines
266 B
C++
Raw Normal View History

#include <output.hpp>
#include <serial.hpp>
namespace MTGosHAL {
void main() {
Serial serialOUT(115200);
serialOUT << "This is the debug output of MTGos\n";
}
}
extern "C" void init() {
MTGosHAL::main();
}
extern "C" void __cxa_pure_virtual() {
for(;;);
}