2016-06-29 11:47:26 +03:00
|
|
|
#ifndef AARCH64_TARGET_SYSCALL_H
|
|
|
|
#define AARCH64_TARGET_SYSCALL_H
|
2016-02-01 21:38:42 +03:00
|
|
|
|
2013-09-03 23:12:21 +04:00
|
|
|
struct target_pt_regs {
|
|
|
|
uint64_t regs[31];
|
|
|
|
uint64_t sp;
|
|
|
|
uint64_t pc;
|
|
|
|
uint64_t pstate;
|
|
|
|
};
|
|
|
|
|
2022-03-23 18:57:18 +03:00
|
|
|
#if TARGET_BIG_ENDIAN
|
2018-01-11 16:25:31 +03:00
|
|
|
#define UNAME_MACHINE "aarch64_be"
|
|
|
|
#else
|
2013-09-03 23:12:21 +04:00
|
|
|
#define UNAME_MACHINE "aarch64"
|
2018-01-11 16:25:31 +03:00
|
|
|
#endif
|
2013-09-03 23:12:21 +04:00
|
|
|
#define UNAME_MINIMUM_RELEASE "3.8.0"
|
2014-01-05 02:15:47 +04:00
|
|
|
#define TARGET_CLONE_BACKWARDS
|
2020-08-11 19:45:51 +03:00
|
|
|
#define TARGET_MCL_CURRENT 1
|
|
|
|
#define TARGET_MCL_FUTURE 2
|
|
|
|
#define TARGET_MCL_ONFAULT 4
|
2016-02-01 21:38:42 +03:00
|
|
|
|
2016-06-29 11:47:26 +03:00
|
|
|
#endif /* AARCH64_TARGET_SYSCALL_H */
|