2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 13:58:34 +00:00
criu/arch/x86/syscall-common-x86-64.S
Alexander Kartashov 6f61488f21 x86: moved x86-specific files into the directory arch/x86.
* 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>
2013-01-09 17:02:47 +04:00

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)