user: implement mlibc as the libc, finally.
It's finally done.. Signed-off-by: kaguya <vpshinomiya@protonmail.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
.section .text
|
||||
.global __mlibc_start_thread
|
||||
__mlibc_start_thread:
|
||||
ld a0, 0x0(sp)
|
||||
ld a1, 0x8(sp)
|
||||
ld a2, 0x10(sp)
|
||||
|
||||
addi sp, sp, 24
|
||||
call __mlibc_enter_thread
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
Reference in New Issue
Block a user