Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20150727' into staging
[qemu.git] / linux-user / sparc64 / syscall.h
blob8398d3f4636cad92b1764a0a242bb6ba8cdaee0f
1 struct target_pt_regs {
2 abi_ulong u_regs[16];
3 abi_ulong tstate;
4 abi_ulong pc;
5 abi_ulong npc;
6 abi_ulong y;
7 abi_ulong fprs;
8 };
10 #define UNAME_MACHINE "sun4u"
11 #define UNAME_MINIMUM_RELEASE "2.6.32"
13 /* SPARC kernels don't define this in their Kconfig, but they have the
14 * same ABI as if they did, implemented by sparc-specific code which fishes
15 * directly in the u_regs() struct for half the parameters in sparc_do_fork()
16 * and copy_thread().
18 #define TARGET_CLONE_BACKWARDS
19 #define TARGET_MINSIGSTKSZ 4096
20 #define TARGET_MLOCKALL_MCL_CURRENT 0x2000
21 #define TARGET_MLOCKALL_MCL_FUTURE 0x4000