You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
404 B
17 lines
404 B
#ifndef ARCH_REGSET
|
|
# define ARCH_REGSET s390_regset
|
|
#endif
|
|
|
|
/* Return -1 on error or 1 on success (never 0!). */
|
|
static int
|
|
get_syscall_args(struct tcb *tcp)
|
|
{
|
|
tcp->u_arg[0] = ARCH_REGSET.orig_gpr2;
|
|
tcp->u_arg[1] = ARCH_REGSET.gprs[3];
|
|
tcp->u_arg[2] = ARCH_REGSET.gprs[4];
|
|
tcp->u_arg[3] = ARCH_REGSET.gprs[5];
|
|
tcp->u_arg[4] = ARCH_REGSET.gprs[6];
|
|
tcp->u_arg[5] = ARCH_REGSET.gprs[7];
|
|
return 1;
|
|
}
|