ui/sdl2: Grab Alt+F4 also under Windows
[qemu/ar7.git] / linux-user / mips / target_syscall.h
blob08ead678104fbe57fe41691f3f400575780d2864
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. */
9 abi_ulong pad0[6];
11 /* Saved main processor registers. */
12 abi_ulong regs[32];
14 /* Saved special registers. */
15 abi_ulong cp0_status;
16 abi_ulong lo;
17 abi_ulong hi;
18 abi_ulong cp0_badvaddr;
19 abi_ulong cp0_cause;
20 abi_ulong cp0_epc;
23 #define UNAME_MACHINE "mips"
24 #define UNAME_MINIMUM_RELEASE "2.6.32"
26 #define TARGET_CLONE_BACKWARDS
27 #define TARGET_MCL_CURRENT 1
28 #define TARGET_MCL_FUTURE 2
29 #define TARGET_MCL_ONFAULT 4
31 #define TARGET_FORCE_SHMLBA
33 static inline abi_ulong target_shmlba(CPUMIPSState *env)
35 return 0x40000;
38 #endif /* MIPS_TARGET_SYSCALL_H */