Justus Winter, le Fri 19 Dec 2014 02:48:57 +0100, a écrit :
> +ENTRY(copyinmsg)
> + pushl %esi
> + pushl %edi/* save registers */
> +
> + movl8+S_ARG0,%esi /* get user start address */
> + movl8+S_ARG1,%edi /* get kernel destinatio
Previously, `copyinmsg' was the same function as `copyin'. The former
is for messages, and the size of messages is a multiple of four.
Likewise for `copyoutmsg'.
Provide a specialized version of both functions. This shaves off a
couple of instructions and improves our IPC performance.
* i386/i3