Welcome to mirror list, hosted at ThFree Co, Russian Federation.

syscall-common.S « syscalls « std « plugins « aarch64 « arch « compel - github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aeb89ea888c08b29da1bbd8707a8498ff5886494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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)