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.
13 lines
308 B
13 lines
308 B
4 months ago
|
/* Return -1 on error or 1 on success (never 0!). */
|
||
|
static int
|
||
|
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;
|
||
|
}
|