• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Return codes: 1 - ok, 0 - ignore, other - error. */
2 static int
arch_get_scno(struct tcb * tcp)3 arch_get_scno(struct tcb *tcp)
4 {
5 	tcp->scno = metag_regs.dx[0][1];  /* syscall number in D1Re0 (D1.0) */
6 	return 1;
7 }
8