mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 13:58:34 +00:00
* The following files goes into the directory arch/x86/include/asm unmodified: - include/atomic.h, - include/linkage.h, - include/memcpy_64.h, - include/types.h, - include/bitops.h, - pie/parasite-head-x86-64.S, - include/processor-flags.h, - include/syscall-x86-64.def. * Changed include directives in the source files that include the headers listed above. * Modified build scripts to reflect the source moves. Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
17 lines
233 B
ArmAsm
17 lines
233 B
ArmAsm
#include "asm/linkage.h"
|
|
|
|
#define SYSCALL(name, opcode) \
|
|
ENTRY(name); \
|
|
movl $opcode, %eax; \
|
|
jmp __syscall_common; \
|
|
END(name)
|
|
|
|
.text
|
|
.align 4
|
|
|
|
ENTRY(__syscall_common)
|
|
movq %rcx, %r10
|
|
syscall
|
|
ret
|
|
END(__syscall_common)
|