PERFORCE change 30830 for review
Marcel Moolenaar
marcel at FreeBSD.org
Thu May 8 20:01:22 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=30830
Change 30830 by marcel at 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.
*/
More information about the p4-projects
mailing list