1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-24 10:26:20 +04:00
osblog/risc_v/src/userspace/startlib/start.S

15 lines
227 B
ArmAsm
Raw Normal View History

.section .text.init
.global _start
_start:
.option push
.option norelax
la gp, __global_pointer$
.option pop
call main
# Exit system call after main
li a0, 93
j make_syscall
.type _start, function
.size _start, .-_start