1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-24 02:16:19 +04:00
osblog/risc_v/userspace/startlib/syscall.S

15 lines
203 B
ArmAsm
Raw Normal View History

.section .text
.global make_syscall
make_syscall:
mv a7, a0
mv a0, a1
mv a1, a2
mv a2, a3
mv a3, a4
mv a4, a5
mv a5, a6
ecall
ret
.type make_syscall, function
.size make_syscall, .-make_syscall