• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 static int
arch_set_scno(struct tcb * tcp,kernel_ulong_t scno)2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno)
3 {
4 #ifdef HAVE_GETREGS_OLD
5 	return upoke(tcp, 4 * ORIG_EAX, scno);
6 #else
7 	i386_regs.orig_eax = scno;
8 	return set_regs(tcp->pid);
9 #endif
10 }
11