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 | |
Marc-André Lureau | ee3eb3a | 2022-03-23 19:57:18 +0400 | [diff] [blame] | 11 | #if TARGET_BIG_ENDIAN |
Michael Weiser | cb3aa5f | 2018-01-11 13:25:31 +0000 | [diff] [blame] | 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 |
Filip Bozuta | 02e5d7d | 2020-08-11 18:45:51 +0200 | [diff] [blame] | 18 | #define TARGET_MCL_CURRENT 1 |
| 19 | #define TARGET_MCL_FUTURE 2 |
| 20 | #define TARGET_MCL_ONFAULT 4 |
Lluís Vilanova | 460c579 | 2016-02-01 19:38:42 +0100 | [diff] [blame] | 21 | |
Markus Armbruster | 3622634 | 2016-06-29 10:47:26 +0200 | [diff] [blame] | 22 | #endif /* AARCH64_TARGET_SYSCALL_H */ |