aarch64: Fix clone_ret

FIXME: Explain the magic numbers here later.
This commit is contained in:
Robin Randhawa
2021-01-18 21:47:28 +00:00
parent 95bd8f2013
commit c188a60871

View File

@@ -265,16 +265,6 @@ pub struct SyscallStack {
#[naked]
pub unsafe extern fn clone_ret() {
llvm_asm!("ldp x29, x30, [sp], #16");
llvm_asm!("add sp, sp, #16");
llvm_asm!("ldp x29, x30, [sp], #0x60");
llvm_asm!("mov x0, 0");
}
/*
#[naked]
pub unsafe extern fn clone_ret() {
llvm_asm!("add sp, sp, #16");
llvm_asm!("ldp x29, x30, [sp], #16");
llvm_asm!("mov x0, 0");
}
*/