Add fsDevInit and fsDevExit to crt0.s

This commit is contained in:
shinyquagsire23 2016-07-31 15:21:18 -07:00
parent 8567820fa8
commit a7bf479c33

View File

@ -2,7 +2,17 @@
.extern exit
.global _start
_start:
stwu 1, -0x8(1)
stw 3, 0(1)
stw 4, 4(1)
bl fsDevInit
lwz 3, 0(1)
lwz 4, 4(1)
bl main
stw 3, 0(1)
bl fsDevExit
lwz 3, 0(1)
addi 1, 1, 0x8
b exit
.global __wrap___eabi