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;
|
|
|
|
};
|
|
|
|
|
2018-01-11 16:25:31 +03:00
|
|
|
#if defined(TARGET_WORDS_BIGENDIAN)
|
|
|
|
#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
|
2014-08-12 22:53:40 +04:00
|
|
|
#define TARGET_MINSIGSTKSZ 2048
|
2014-08-12 22:53:42 +04:00
|
|
|
#define TARGET_MLOCKALL_MCL_CURRENT 1
|
|
|
|
#define TARGET_MLOCKALL_MCL_FUTURE 2
|
2016-02-01 21:38:42 +03:00
|
|
|
|
2018-03-09 20:09:43 +03:00
|
|
|
#define TARGET_PR_SVE_SET_VL 50
|
|
|
|
#define TARGET_PR_SVE_GET_VL 51
|
|
|
|
|
2019-02-05 19:52:39 +03:00
|
|
|
#define TARGET_PR_PAC_RESET_KEYS 54
|
|
|
|
# define TARGET_PR_PAC_APIAKEY (1 << 0)
|
|
|
|
# define TARGET_PR_PAC_APIBKEY (1 << 1)
|
|
|
|
# define TARGET_PR_PAC_APDAKEY (1 << 2)
|
|
|
|
# define TARGET_PR_PAC_APDBKEY (1 << 3)
|
|
|
|
# define TARGET_PR_PAC_APGAKEY (1 << 4)
|
|
|
|
|
2016-06-29 11:47:26 +03:00
|
|
|
#endif /* AARCH64_TARGET_SYSCALL_H */
|