bug-hurd
[Top][All Lists]
Advanced

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

Gnumach: locore.S copyin vs. copyinmsg


From: Barry deFreese
Subject: Gnumach: locore.S copyin vs. copyinmsg
Date: Fri, 10 Nov 2006 09:58:20 -0500

Hello again folks,

Looking at more cleanup stuff I run across implicit declarations for copyin, copyinmsg, copyout, and copyoutmsg. From my extremely limited knowledge of assembler, copyin and copyinmsg look to be exactly the same. Is there any reason not to drop all instances of copyinmsg in favor of copyin, since copyin seems to be a "standard"?

Here are parts of the code:

from locore.S:

ENTRY(copyin)
Entry(copyinmsg)
    pushl   %esi
    pushl   %edi            /* save registers */

<snip>

from asm.h:

#define ENTRY(x)    .globl EXT(x); .p2align TEXT_ALIGN; LEXT(x)
#define Entry(x)    .globl EXT(x); .p2align TEXT_ALIGN; LEXT(x)

Thanks!!

Barry deFreese (aka bddebian)




reply via email to

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