]> git.proxmox.com Git - qemu.git/blame - linux-user/s390x/syscall.h
linux-user: Avoid redundant ENV_GET_CPU()
[qemu.git] / linux-user / s390x / syscall.h
CommitLineData
a4c075f1
UH
1/* this typedef defines how a Program Status Word looks like */
2typedef struct {
3 abi_ulong mask;
4 abi_ulong addr;
5} __attribute__ ((aligned(8))) target_psw_t;
6
7/*
8 * The pt_regs struct defines the way the registers are stored on
9 * the stack during a system call.
10 */
11
12#define TARGET_NUM_GPRS 16
13
14struct 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;
d5a103cd 19 unsigned short ilen;
a4c075f1
UH
20 unsigned short trap;
21};
22
23#define UNAME_MACHINE "s390x"
4ce6243d
PM
24
25#define TARGET_CLONE_BACKWARDS