bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnumach: locore.S copyin vs. copyinmsg


From: Thomas Bushnell BSG
Subject: Re: Gnumach: locore.S copyin vs. copyinmsg
Date: Fri, 10 Nov 2006 10:04:59 -0800

On Fri, 2006-11-10 at 16:07 +0100, Samuel Thibault wrote:
> Hi,
> 
> Barry deFreese, le Fri 10 Nov 2006 09:58:20 -0500, a écrit :
> > From my extremely limited knowledge of assembler, copyin and          
> > copyinmsg look to be exactly the same.                                
> 
> They are not the same when using gprof: see asm.h, in that case ENTRY
> does a bit more stuff.
> 
> Moreover, when looking at the calls to copyin, copyinmsg, copyout and
> copyoutmsg, it looks like the prototypes should respectively be
> 
> int copyin(const void *from, void *to, size_t size);
> int copyinmsg(vm_offset_t from, vm_offset_t to, size_t size);
> int copyout(const void *from, void *to, size_t size);
> int copyoutmsg(vm_offset_t from, vm_offset_t to, size_t size);
> 
> May somebody more experienced with these functions confirm this?

Yes Samuel, you are correct here, AFAICT and R.

Thomas

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]