cvs commit: src/sys/amd64/amd64 trap.c
Peter Wemm
peter at FreeBSD.org
Mon Jun 2 14:56:10 PDT 2003
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
More information about the cvs-src
mailing list