Module Name: src Committed By: chs Date: Sun Aug 8 18:21:50 UTC 2010
Modified Files: src/sys/arch/sparc/sparc: locore.s Log Message: update a comment. To generate a diff of this commit: cvs rdiff -u -r1.256 -r1.257 src/sys/arch/sparc/sparc/locore.s Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/sparc/sparc/locore.s diff -u src/sys/arch/sparc/sparc/locore.s:1.256 src/sys/arch/sparc/sparc/locore.s:1.257 --- src/sys/arch/sparc/sparc/locore.s:1.256 Sun Mar 7 00:42:08 2010 +++ src/sys/arch/sparc/sparc/locore.s Sun Aug 8 18:21:50 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: locore.s,v 1.256 2010/03/07 00:42:08 mrg Exp $ */ +/* $NetBSD: locore.s,v 1.257 2010/08/08 18:21:50 chs Exp $ */ /* * Copyright (c) 1996 Paul Kranenburg @@ -4797,7 +4797,8 @@ jmp %g7 + 8 clr %o0 ! return 0 -! Copyin or copyout fault. Clear cpcb->pcb_onfault and return EFAULT. +! Copyin or copyout fault. Clear cpcb->pcb_onfault. +! The return value was already put in %o0 by the fault handler. ! Note that although we were in bcopy, there is no state to clean up; ! the only special thing is that we have to return to [g7 + 8] rather than ! [o7 + 8].