mtgos-mtgos-3ds9/kernel/arch/x86/pc/start.cpp

12 lines
192 B
C++
Raw Normal View History

2017-04-24 17:47:39 +00:00
#include <base.hpp>
2017-04-24 16:38:22 +00:00
#include "../../../hw/pc/cgaterm/cgaterm.hpp"
2017-04-24 17:47:39 +00:00
CGATerm term;
void main();
2017-04-24 16:38:22 +00:00
extern "C" void start() {
2017-04-24 17:47:39 +00:00
main();
}
void drivers_init() {
setMainTTY(&term);
--term;
2017-04-24 16:38:22 +00:00
}