towards multi-arch

This commit is contained in:
Christian Dietrich
2021-08-16 10:59:38 +02:00
parent 39c0e0681e
commit a3fa6ea4ab
19 changed files with 488 additions and 38 deletions

View File

@ -0,0 +1,12 @@
#include "boot.h"
asm (
".text" "\n"
".global _start" "\n"
"_start:" "\n"
" la sp, __sp" "\n"
" la t0, __stack_size" "\n"
" add sp, sp, t0" "\n"
" la t0, os_main" "\n"
" jr t0" "\n"
);