master
h 22 lines 518 Bytes
Raw
1 #ifndef MIPS_TARGET_SYSCALL_H
2 #define MIPS_TARGET_SYSCALL_H
3
4 #define UNAME_MACHINE "mips"
5 #define UNAME_MINIMUM_RELEASE "2.6.32"
6
7 #define TARGET_CLONE_BACKWARDS
8 #define TARGET_MCL_CURRENT 1
9 #define TARGET_MCL_FUTURE 2
10 #define TARGET_MCL_ONFAULT 4
11
12 #define TARGET_FORCE_SHMLBA
13 #define TARGET_SYSMIPS_FLUSH_CACHE 3
14 #define TARGET_SYSMIPS_FIXADE 7
15 #define TARGET_SYSMIPS_ATOMIC_SET 2001
16
17 static inline abi_ulong target_shmlba(CPUMIPSState *env)
18 {
19 return 0x40000;
20 }
21
22 #endif /* MIPS_TARGET_SYSCALL_H */