Home | History | Annotate | Download | only in crisv10
      1 static const int crisregs[MAX_ARGS] = {
      2 	4*PT_ORIG_R10, 4*PT_R11, 4*PT_R12,
      3 	4*PT_R13     , 4*PT_MOF, 4*PT_SRP
      4 };
      5 unsigned int i;
      6 
      7 for (i = 0; i < tcp->s_ent->nargs; ++i)
      8 	if (upeek(tcp->pid, crisregs[i], &tcp->u_arg[i]) < 0)
      9 		return -1;
     10