1 /* arg0: a6, arg1: a3, arg2: a4, arg3: a5, arg4: a8, arg5: a9 */
2 static const int xtensaregs[MAX_ARGS] = { 6, 3, 4, 5, 8, 9 };
3 unsigned int i;
4 
5 for (i = 0; i < tcp->s_ent->nargs; ++i)
6 	if (upeek(tcp->pid, REG_A_BASE + xtensaregs[i], &tcp->u_arg[i]) < 0)
7 		return -1;
8