mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
Co-authored-by: Yixue Zhao <felicitia2010@gmail.com> Co-authored-by: stove <stove@rivosinc.com> Signed-off-by: Haorong Lu <ancientmodern4@gmail.com> --- - rebased - added a membarrier() to syscall table (fix authored by Cryolitia PukNgae) Signed-off-by: PukNgae Cryolitia <Cryolitia@gmail.com> Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
17 lines
No EOL
227 B
ArmAsm
17 lines
No EOL
227 B
ArmAsm
#include "common/asm/linkage.h"
|
|
|
|
syscall_common:
|
|
ecall
|
|
ret
|
|
|
|
.macro syscall name, nr
|
|
ENTRY(\name)
|
|
li a7, \nr
|
|
j syscall_common
|
|
END(\name)
|
|
.endm
|
|
|
|
ENTRY(__cr_restore_rt)
|
|
li a7, __NR_rt_sigreturn
|
|
ecall
|
|
END(__cr_restore_rt) |