Re: Syscall with 7 args...

Stephen C. Tweedie (sct@redhat.com)
Thu, 30 Sep 1999 16:06:38 +0100 (BST)


Hi,

On Thu, 30 Sep 1999 08:30:11 +0200, <Fabian.Frederick@prov-liege.be>
said:

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

There aren't enough Intel registers to pass 7 arguments through a
syscall. Write a library stub routine which stores the args in a struct
on the stack and passes the address of that struct through to the
syscall.

--Stephen

-
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/