Mark Johnson <Mark.Johnson at sun.com> wrote:

> > Again, I just find it backwards.  The one part of the argument which is 
> > a fixed type of address, the kernel vaddr, is the point of reference in 
> > the ddi_copyin/copyin, but *not* in the bp_copyin.
> > 
> > Its a switch of the point of reference that I find confusing.
>
>
> bp_copyin - copy into a buf_t
> bp_copyout - copy out of a buf_t
>
> I think it would be more confusing if it were the other way
> around.

Given the fact that ddi_copyin() copoies _into_ kernelspace,
I wiuld expedt the same for bp_copyin().

So 

bp_copyin - copy into a buf_t
bp_copyout - copy out of a buf_t

Looks counter intuitive.

J?rg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       schilling at fokus.fraunhofer.de     (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to