Merge tag 'for-upstream' of git://repo.or.cz/qemu/kevin into staging
[qemu.git] / linux-user / aarch64 / target_syscall.h
1 #ifndef AARCH64_TARGET_SYSCALL_H
2 #define AARCH64_TARGET_SYSCALL_H
3
4 struct target_pt_regs {
5 uint64_t regs[31];
6 uint64_t sp;
7 uint64_t pc;
8 uint64_t pstate;
9 };
10
11 #if TARGET_BIG_ENDIAN
12 #define UNAME_MACHINE "aarch64_be"
13 #else
14 #define UNAME_MACHINE "aarch64"
15 #endif
16 #define UNAME_MINIMUM_RELEASE "3.8.0"
17 #define TARGET_CLONE_BACKWARDS
18 #define TARGET_MCL_CURRENT 1
19 #define TARGET_MCL_FUTURE 2
20 #define TARGET_MCL_ONFAULT 4
21
22 #endif /* AARCH64_TARGET_SYSCALL_H */