1 #ifndef MIPS_TARGET_SYSCALL_H
2 #define MIPS_TARGET_SYSCALL_H
4 /* this struct defines the way the registers are stored on the
5 stack during a system call. */
7 struct target_pt_regs
{
8 /* Pad bytes for argument save space on the stack. */
11 /* Saved main processor registers. */
14 /* Saved special registers. */
18 abi_ulong cp0_badvaddr
;
23 #define UNAME_MACHINE "mips"
24 #define UNAME_MINIMUM_RELEASE "2.6.32"
26 #define TARGET_CLONE_BACKWARDS
27 #define TARGET_MINSIGSTKSZ 2048
28 #define TARGET_MCL_CURRENT 1
29 #define TARGET_MCL_FUTURE 2
30 #define TARGET_MCL_ONFAULT 4
32 #define TARGET_FORCE_SHMLBA
34 static inline abi_ulong
target_shmlba(CPUMIPSState
*env
)
39 /* MIPS-specific prctl() options */
40 #define TARGET_PR_SET_FP_MODE 45
41 #define TARGET_PR_GET_FP_MODE 46
42 #define TARGET_PR_FP_MODE_FR (1 << 0)
43 #define TARGET_PR_FP_MODE_FRE (1 << 1)
45 #endif /* MIPS_TARGET_SYSCALL_H */