hw/virtio: fix vhost_user_read tracepoint
[qemu/ar7.git] / linux-user / s390x / target_syscall.h
blob4018988a25e1b02523e31cd5e1dae72d04ee4167
1 #ifndef S390X_TARGET_SYSCALL_H
2 #define S390X_TARGET_SYSCALL_H
4 /* this typedef defines how a Program Status Word looks like */
5 typedef struct {
6 abi_ulong mask;
7 abi_ulong addr;
8 } __attribute__ ((aligned(8))) target_psw_t;
11 * The pt_regs struct defines the way the registers are stored on
12 * the stack during a system call.
15 #define TARGET_NUM_GPRS 16
17 struct target_pt_regs {
18 abi_ulong args[1];
19 target_psw_t psw;
20 abi_ulong gprs[TARGET_NUM_GPRS];
21 abi_ulong orig_gpr2;
22 unsigned short ilen;
23 unsigned short trap;
26 #define UNAME_MACHINE "s390x"
27 #define UNAME_MINIMUM_RELEASE "2.6.32"
29 #define TARGET_CLONE_BACKWARDS2
30 #define TARGET_MCL_CURRENT 1
31 #define TARGET_MCL_FUTURE 2
32 #define TARGET_MCL_ONFAULT 4
34 #endif /* S390X_TARGET_SYSCALL_H */