blockdev: add note that block_job_cb() must be thread-safe
[qemu/ar7.git] / linux-user / sparc / syscall.h
blob58573b92ea635df4d7634193169b650d34a8f42f
1 struct target_pt_regs {
2 abi_ulong psr;
3 abi_ulong pc;
4 abi_ulong npc;
5 abi_ulong y;
6 abi_ulong u_regs[16];
7 };
9 #define UNAME_MACHINE "sun4"
10 #define UNAME_MINIMUM_RELEASE "2.6.32"
12 /* SPARC kernels don't define this in their Kconfig, but they have the
13 * same ABI as if they did, implemented by sparc-specific code which fishes
14 * directly in the u_regs() struct for half the parameters in sparc_do_fork()
15 * and copy_thread().
17 #define TARGET_CLONE_BACKWARDS
18 #define TARGET_MINSIGSTKSZ 4096
19 #define TARGET_MLOCKALL_MCL_CURRENT 0x2000
20 #define TARGET_MLOCKALL_MCL_FUTURE 0x4000