Date: Thu, 8 May 2003 20:01:20 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 30830 for review Message-ID: <200305090301.h4931K3x007638@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=30830 Change 30830 by marcel@marcel_nfs on 2003/05/08 20:00:29 Remove copyoutstr. It's not used and only exists on alpha and ia64. Guess where ia64 was spawned off from :-) Affected files ... .. //depot/projects/ia64_epc/sys/ia64/ia64/support.s#4 edit Differences ... ==== //depot/projects/ia64_epc/sys/ia64/ia64/support.s#4 (text+ko) ==== @@ -453,46 +453,6 @@ END(copyinstr) -ENTRY(copyoutstr, 4) - .prologue - .regstk 4, 3, 4, 0 - .save ar.pfs,loc0 - alloc loc0=ar.pfs,4,3,4,0 - .save rp,loc1 - mov loc1=rp - .body - - movl loc2=VM_MAX_ADDRESS // make sure that dest addr - ;; - cmp.geu p6,p0=in1,loc2 // is in user space. - ;; -(p6) br.cond.spnt.few copyerr // if it's not, error out. - movl r14=copyerr // set up fault handler. - add r15=PC_CURTHREAD,r13 // find curthread - ;; - ld8 r15=[r15] - ;; - add r15=TD_PCB,r15 // find pcb - ;; - ld8 r15=[r15] - ;; - add loc2=PCB_ONFAULT,r15 - ;; - st8 [loc2]=r14 - ;; - mov out0=in0 - mov out1=in1 - mov out2=in2 - mov out3=in3 - ;; - br.call.sptk.few rp=copystr // do the copy. - st8 [loc2]=r0 // kill the fault handler. - mov ar.pfs=loc0 // restore ar.pfs - mov rp=loc1 // restore ra. - br.ret.sptk.few rp // ret0 left over from copystr - -END(copyoutstr) - /* * Not the fastest bcopy in the world. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305090301.h4931K3x007638>