Files
kaguya 9a9b91c940 user: implement mlibc as the libc, finally.
It's finally done..

Signed-off-by: kaguya <vpshinomiya@protonmail.com>
2026-05-02 03:31:49 -04:00

13 lines
240 B
ArmAsm

.section .text
.global __mlibc_start_thread
__mlibc_start_thread:
ld.d $a0, $sp, 0
ld.d $a1, $sp, 8
ld.d $a2, $sp, 16
addi.d $sp, $sp, 16
bstrins.d $sp, $sp, 3, 0
b __mlibc_enter_thread
break 0
.section .note.GNU-stack,"",%progbits