diff options
Diffstat (limited to 'lib/mlibc/sysdeps/managarm/aarch64/thread_entry.S')
-rw-r--r-- | lib/mlibc/sysdeps/managarm/aarch64/thread_entry.S | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/mlibc/sysdeps/managarm/aarch64/thread_entry.S b/lib/mlibc/sysdeps/managarm/aarch64/thread_entry.S new file mode 100644 index 0000000..4cfcb4c --- /dev/null +++ b/lib/mlibc/sysdeps/managarm/aarch64/thread_entry.S @@ -0,0 +1,11 @@ + +.section .text +.global __mlibc_start_thread +__mlibc_start_thread: + ldp x0, x1, [sp] + ldr x2, [sp, #16] + add sp, sp, #24 + bl __mlibc_enter_thread + +.section .note.GNU-stack,"",%progbits + |