mtgos-kernel/kernel/arch/arm/3ds9/start.cpp
Morten Delenk d0736af522 added broken raspi2 port
fixed all arm ports
2017-07-20 09:26:35 +01:00

16 lines
322 B
C++

#include "../../../hw/3ds9/picafb/picafb.hpp"
#include "../../../hw/3ds9/vectorinit/vectorinit.hpp"
#include <base.hpp>
#include <config.h>
PICAfb term;
void main();
extern "C" void start() { main();
for(;;);
}
void drivers_init() {
setMainTTY(&term);
--term;
initVectors();
asm volatile("svc #0");
}