| 1 | #ifndef ARM_TARGET_SYSCALL_H |
| 2 | #define ARM_TARGET_SYSCALL_H |
| 3 | |
| 4 | #define ARM_SYSCALL_BASE 0x900000 |
| 5 | #define ARM_THUMB_SYSCALL 0 |
| 6 | |
| 7 | #define ARM_NR_BASE 0xf0000 |
| 8 | #define ARM_NR_breakpoint (ARM_NR_BASE + 1) |
| 9 | #define ARM_NR_cacheflush (ARM_NR_BASE + 2) |
| 10 | #define ARM_NR_set_tls (ARM_NR_BASE + 5) |
| 11 | #define ARM_NR_get_tls (ARM_NR_BASE + 6) |
| 12 | |
| 13 | #if TARGET_BIG_ENDIAN |
| 14 | #define UNAME_MACHINE "armv5teb" |
| 15 | #else |
| 16 | #define UNAME_MACHINE "armv5tel" |
| 17 | #endif |
| 18 | #define UNAME_MINIMUM_RELEASE "2.6.32" |
| 19 | |
| 20 | #define TARGET_CLONE_BACKWARDS |
| 21 | |
| 22 | #define TARGET_MCL_CURRENT 1 |
| 23 | #define TARGET_MCL_FUTURE 2 |
| 24 | #define TARGET_MCL_ONFAULT 4 |
| 25 | |
| 26 | #define TARGET_WANT_OLD_SYS_SELECT |
| 27 | |
| 28 | #define TARGET_FORCE_SHMLBA |
| 29 | |
| 30 | static inline abi_ulong target_shmlba(CPUARMState *env) |
| 31 | { |
| 32 | return 4 * 4096; |
| 33 | } |
| 34 | |
| 35 | #endif /* ARM_TARGET_SYSCALL_H */ |