Re: IDL interfaces Robert Wittams (robert.wittams@ic.ac.uk)
Sun, 09 Jul 2000 09:15:12 +0100

> > Also, as long as we follow some clear rules for how we generate a
> > message on each architecture, I think it will be ok.
> >
> > Eg. Off the top of my head -
> > The first four word length or smaller data arguments will go in the
> > registers. ...
>
> Nope. What goes in registers should be dictated by how the receiving code
> intends to process the arguments. The low-level interface description is
> written by the developer anyway, and the IDL compiler is perfectly capable
> of getting the right things into the right registers.

So you don't want a high level IDL?
Normally, stub code is generated on both ends, the server and the client.
So neither makes a decision about where the arguments go. That is all dictated by the IDL compiler, which thinks of the IPC mechanism as just a way to get arguments from a to b. The other option is to just describe the registers etc you want things to go into. Is that what you are thinking of?

Rob