Re: Syscall with 7 args...

Florian Weimer (fw@deneb.cygnus.argh.org)
30 Sep 1999 09:15:59 +0200


<Fabian.Frederick@prov-liege.be> writes:

> In fact I need some _syscall7 declaration and dunno
> which operand to use as maximum declared is s4 : /

This isn't possible on x86. There are only six general registers to
pass parameters in (well, you could use %ebp, too, but %esp is certainly
out of question). That's the reason why you can only use five arguments
plus the syscall number.

I'd suggest to pass a pointer to a struct in userspace instead.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/