Home | History | Annotate | Download | only in arm
      1 /* Return -1 on error or 1 on success (never 0!). */
      2 static int
      3 get_syscall_args(struct tcb *tcp)
      4 {
      5 	tcp->u_arg[0] = arm_regs.uregs[0];
      6 	tcp->u_arg[1] = arm_regs.uregs[1];
      7 	tcp->u_arg[2] = arm_regs.uregs[2];
      8 	tcp->u_arg[3] = arm_regs.uregs[3];
      9 	tcp->u_arg[4] = arm_regs.uregs[4];
     10 	tcp->u_arg[5] = arm_regs.uregs[5];
     11 	return 1;
     12 }
     13