criu/compel/arch/aarch64/plugins/std/syscalls/syscall-common.S
Cyrill Gorcunov 19fadee9d9 compel: plugins,std -- Implement syscalls in std plugin
And use it in CRIU directly instead:

 - move syscalls into compel/arch/ARCH/plugins/std/syscalls
 - drop old symlinks
 - no build for 32bit on x86 as expected
 - use std.built-in.o inside criu directly (compel_main stub)
 - drop syscalls on x86 criu directory, I copied them already
   in first compel commist, so we can't move them now, but
   delete in place

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2017-03-14 23:58:20 +03:00

19 lines
234 B
ArmAsm

#include "common/asm/linkage.h"
syscall_common:
svc #0
ret
.macro syscall name, nr
ENTRY(\name)
mov x8, \nr
b syscall_common
END(\name)
.endm
ENTRY(__cr_restore_rt)
mov x8, __NR_rt_sigreturn
svc #0
END(__cr_restore_rt)