Dmitry V. Levin
92e347b556
We do our best to keep copyright headers up to date, yet git history provides better information on this subject and is more accurate than copyright headers.
20 lines
444 B
C
20 lines
444 B
C
/*
|
|
* Copyright (c) 2015-2018 The strace developers.
|
|
* All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
|
*/
|
|
|
|
/* Return -1 on error or 1 on success (never 0!). */
|
|
static int
|
|
arch_get_syscall_args(struct tcb *tcp)
|
|
{
|
|
tcp->u_arg[0] = avr32_regs.r12;
|
|
tcp->u_arg[1] = avr32_regs.r11;
|
|
tcp->u_arg[2] = avr32_regs.r10;
|
|
tcp->u_arg[3] = avr32_regs.r9;
|
|
tcp->u_arg[4] = avr32_regs.r5;
|
|
tcp->u_arg[5] = avr32_regs.r3;
|
|
return 1;
|
|
}
|