On Sun, Apr 7, 2013 at 5:11 PM, Kyle McMartin <kyle@xxxxxxxxxxx> wrote: > On Sun, Apr 07, 2013 at 07:56:49AM -0700, James Bottomley wrote: >> Actually, that's not quite correct. on 64 bits it's arg1-8 are %r26-% >> r19 but on 32 the convention is that arg1-arg4 are %r26-%r23 and the >> rest on stack. We can also do register pair combining on 32 bits for a >> 64 bit argument. > > I guess the confusion is whether you're writing this from the kernel > side or the userspace side. The syscall instruction is called with six > arg registers, but we fix it on entry to the kernel when we call into C.> -- > To unsubscribe from this list: send the line "unsubscribe linux-man" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html Thanks, Kyle. -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html