Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2003 14:56:08 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/amd64/amd64 trap.c
Message-ID:  <200306022156.h52Lu88T095938@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2003/06/02 14:56:08 PDT

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      trap.c 
  Log:
  Fix restarted syscalls.  When we rewind %rip, we also need to restore
  all the argument registers etc since we have almost certainly have trashed
  them by now.  Take particular car of %r10 since it held the original value
  of %rcx (which we saved in tf_rcx on entry and doreti doesn't know this).
  
  Revision  Changes    Path
  1.260     +6 -2      src/sys/amd64/amd64/trap.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306022156.h52Lu88T095938>