[BACK]Return to syscall.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / x86 / x86

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/x86/x86/syscall.c between version 1.16 and 1.16.4.1

version 1.16, 2017/08/12 07:21:57 version 1.16.4.1, 2019/06/10 22:06:54
Line 57  void  syscall_intern(struct proc *);
Line 57  void  syscall_intern(struct proc *);
 static void     syscall(struct trapframe *);  static void     syscall(struct trapframe *);
   
 void  void
 child_return(void *arg)  md_child_return(struct lwp *l)
 {  {
         struct lwp *l = arg;  
         struct trapframe *tf = l->l_md.md_regs;          struct trapframe *tf = l->l_md.md_regs;
   
         X86_TF_RAX(tf) = 0;          X86_TF_RAX(tf) = 0;
         X86_TF_RFLAGS(tf) &= ~PSL_C;          X86_TF_RFLAGS(tf) &= ~PSL_C;
   
         userret(l);          userret(l);
         ktrsysret(SYS_fork, 0, 0);  
 }  }
   
 /*  /*
Line 174  syscall_intern(struct proc *p)
Line 172  syscall_intern(struct proc *p)
   
         p->p_md.md_syscall = syscall;          p->p_md.md_syscall = syscall;
 }  }
   

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.16.4.1

CVSweb <webmaster@jp.NetBSD.org>