2016-06-29 10:47:26 +02:00
|
|
|
#ifndef AARCH64_TARGET_SYSCALL_H
|
|
|
|
#define AARCH64_TARGET_SYSCALL_H
|
2016-02-01 19:38:42 +01:00
|
|
|
|
2013-09-03 21:12:21 +02:00
|
|
|
struct target_pt_regs {
|
|
|
|
uint64_t regs[31];
|
|
|
|
uint64_t sp;
|
|
|
|
uint64_t pc;
|
|
|
|
uint64_t pstate;
|
|
|
|
};
|
|
|
|
|
2018-01-11 14:25:31 +01:00
|
|
|
#if defined(TARGET_WORDS_BIGENDIAN)
|
|
|
|
#define UNAME_MACHINE "aarch64_be"
|
|
|
|
#else
|
2013-09-03 21:12:21 +02:00
|
|
|
#define UNAME_MACHINE "aarch64"
|
2018-01-11 14:25:31 +01:00
|
|
|
#endif
|
2013-09-03 21:12:21 +02:00
|
|
|
#define UNAME_MINIMUM_RELEASE "3.8.0"
|
2014-01-04 23:15:47 +01:00
|
|
|
#define TARGET_CLONE_BACKWARDS
|
2014-08-12 20:53:40 +02:00
|
|
|
#define TARGET_MINSIGSTKSZ 2048
|
2014-08-12 20:53:42 +02:00
|
|
|
#define TARGET_MLOCKALL_MCL_CURRENT 1
|
|
|
|
#define TARGET_MLOCKALL_MCL_FUTURE 2
|
2016-02-01 19:38:42 +01:00
|
|
|
|
2018-03-09 18:09:43 +01:00
|
|
|
#define TARGET_PR_SVE_SET_VL 50
|
|
|
|
#define TARGET_PR_SVE_GET_VL 51
|
|
|
|
|
2019-01-25 23:57:12 +01:00
|
|
|
void arm_init_pauth_key(ARMPACKey *key);
|
|
|
|
|
2016-06-29 10:47:26 +02:00
|
|
|
#endif /* AARCH64_TARGET_SYSCALL_H */
|