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

17 lines
292 B
C++
Raw Normal View History

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