Markus Armbruster | 3622634 | 2016-06-29 10:47:26 +0200 | [diff] [blame] | 1 | #ifndef AARCH64_TARGET_SYSCALL_H |
| 2 | #define AARCH64_TARGET_SYSCALL_H |
Lluís Vilanova | 460c579 | 2016-02-01 19:38:42 +0100 | [diff] [blame] | 3 | |
Alexander Graf | 99033ca | 2013-09-03 20:12:21 +0100 | [diff] [blame] | 4 | struct target_pt_regs { |
| 5 | uint64_t regs[31]; |
| 6 | uint64_t sp; |
| 7 | uint64_t pc; |
| 8 | uint64_t pstate; |
| 9 | }; |
| 10 | |
Michael Weiser | cb3aa5f | 2018-01-11 13:25:31 +0000 | [diff] [blame] | 11 | #if defined(TARGET_WORDS_BIGENDIAN) |
| 12 | #define UNAME_MACHINE "aarch64_be" |
| 13 | #else |
Alexander Graf | 99033ca | 2013-09-03 20:12:21 +0100 | [diff] [blame] | 14 | #define UNAME_MACHINE "aarch64" |
Michael Weiser | cb3aa5f | 2018-01-11 13:25:31 +0000 | [diff] [blame] | 15 | #endif |
Alexander Graf | 99033ca | 2013-09-03 20:12:21 +0100 | [diff] [blame] | 16 | #define UNAME_MINIMUM_RELEASE "3.8.0" |
Claudio Fontana | 1b69f00 | 2014-01-04 22:15:47 +0000 | [diff] [blame] | 17 | #define TARGET_CLONE_BACKWARDS |
Tom Musta | 0903c8b | 2014-08-12 13:53:40 -0500 | [diff] [blame] | 18 | #define TARGET_MINSIGSTKSZ 2048 |
Tom Musta | 6f6a403 | 2014-08-12 13:53:42 -0500 | [diff] [blame] | 19 | #define TARGET_MLOCKALL_MCL_CURRENT 1 |
| 20 | #define TARGET_MLOCKALL_MCL_FUTURE 2 |
Lluís Vilanova | 460c579 | 2016-02-01 19:38:42 +0100 | [diff] [blame] | 21 | |
Richard Henderson | 85fc716 | 2018-03-09 17:09:43 +0000 | [diff] [blame] | 22 | #define TARGET_PR_SVE_SET_VL 50 |
| 23 | #define TARGET_PR_SVE_GET_VL 51 |
| 24 | |
Richard Henderson | bff63fb | 2019-02-05 16:52:39 +0000 | [diff] [blame] | 25 | #define TARGET_PR_PAC_RESET_KEYS 54 |
| 26 | # define TARGET_PR_PAC_APIAKEY (1 << 0) |
| 27 | # define TARGET_PR_PAC_APIBKEY (1 << 1) |
| 28 | # define TARGET_PR_PAC_APDAKEY (1 << 2) |
| 29 | # define TARGET_PR_PAC_APDBKEY (1 << 3) |
| 30 | # define TARGET_PR_PAC_APGAKEY (1 << 4) |
| 31 | |
Markus Armbruster | 3622634 | 2016-06-29 10:47:26 +0200 | [diff] [blame] | 32 | #endif /* AARCH64_TARGET_SYSCALL_H */ |