mtgos-kernel/kernel/arch/arm/3ds9/start.cpp

18 lines
356 B
C++
Raw Normal View History

2017-04-29 21:06:24 +00:00
#include "../../../hw/3ds9/picafb/picafb.hpp"
#include "../../../hw/3ds9/vectorinit/vectorinit.hpp"
2017-04-29 21:06:24 +00:00
#include <base.hpp>
#include <config.h>
#include "../../../mmaps/3ds9.mh"
2017-04-29 21:06:24 +00:00
PICAfb term;
void main();
extern "C" void start() { main();
for(;;);
}
2017-04-29 21:06:24 +00:00
void drivers_init() {
setMainTTY(&term);
--term;
initVectors();
asm volatile("svc #0");
2017-04-29 21:06:24 +00:00
}