Updated crt0 to loop endlessly
Ported swi wrappers