cris: avoid "naked" qemu_log
[qemu/ar7.git] / linux-user / s390x / syscall.h
blob35f170af252846fc2c0b0fbe0844133a0ab3b703
1 /* this typedef defines how a Program Status Word looks like */
2 typedef struct {
3 abi_ulong mask;
4 abi_ulong addr;
5 } __attribute__ ((aligned(8))) target_psw_t;
7 /*
8 * The pt_regs struct defines the way the registers are stored on
9 * the stack during a system call.
12 #define TARGET_NUM_GPRS 16
14 struct target_pt_regs {
15 abi_ulong args[1];
16 target_psw_t psw;
17 abi_ulong gprs[TARGET_NUM_GPRS];
18 abi_ulong orig_gpr2;
19 unsigned short ilen;
20 unsigned short trap;
23 #define UNAME_MACHINE "s390x"
24 #define UNAME_MINIMUM_RELEASE "2.6.32"
26 #define TARGET_CLONE_BACKWARDS2
27 #define TARGET_MINSIGSTKSZ 2048
28 #define TARGET_MLOCKALL_MCL_CURRENT 1
29 #define TARGET_MLOCKALL_MCL_FUTURE 2