]> Git Repo - qemu.git/blame - linux-user/s390x/target_syscall.h
Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-3.0-20180716' into staging
[qemu.git] / linux-user / s390x / target_syscall.h
CommitLineData
3622634b
MA
1#ifndef S390X_TARGET_SYSCALL_H
2#define S390X_TARGET_SYSCALL_H
460c579f 3
a4c075f1
UH
4/* this typedef defines how a Program Status Word looks like */
5typedef struct {
6 abi_ulong mask;
7 abi_ulong addr;
8} __attribute__ ((aligned(8))) target_psw_t;
9
10/*
11 * The pt_regs struct defines the way the registers are stored on
12 * the stack during a system call.
13 */
14
15#define TARGET_NUM_GPRS 16
16
17struct 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;
d5a103cd 22 unsigned short ilen;
a4c075f1
UH
23 unsigned short trap;
24};
25
26#define UNAME_MACHINE "s390x"
cbc14e6f 27#define UNAME_MINIMUM_RELEASE "2.6.32"
4ce6243d 28
19a894ba 29#define TARGET_CLONE_BACKWARDS2
0903c8be 30#define TARGET_MINSIGSTKSZ 2048
6f6a4032
TM
31#define TARGET_MLOCKALL_MCL_CURRENT 1
32#define TARGET_MLOCKALL_MCL_FUTURE 2
460c579f 33
3622634b 34#endif /* S390X_TARGET_SYSCALL_H */
This page took 0.362832 seconds and 4 git commands to generate.