aarch64: clone: Return from clone syscall

No CLONE_STACK functionality yet.
This commit is contained in:
Robin Randhawa
2021-01-17 10:12:42 +00:00
parent 67ec6c23e7
commit ae0aebd036

View File

@@ -129,7 +129,8 @@ pub fn syscall(a: usize, b: usize, c: usize, d: usize, e: usize, f: usize, bp: u
#[cfg(target_arch = "aarch64")]
{
//TODO: CLONE_STACK
clone(b, bp).map(ContextId::into)
let ret = clone(b, bp).map(ContextId::into);
ret
}
#[cfg(target_arch = "x86_64")]