Hi Daniel,
Foc_cpu_session to build. Question is, how do you introduce a new type (e.g., struct) to be used as part of an RPC signature? Do you have to somewhere say how to marshal/unmarshal that type?
there are no special precautions needed. Any type can be used as RPC argument as long as the following conditions are met:
* The type is self-sufficient, i.e., does not contain pointers and references
* The type has a default constructor
The in/out direction is steered by the 'const' qualifier used for reference arguments and, if more flexibility is needed, by the 'Trait::Rpc_direction' type trait. For a more detailed explanation, please have a look at the Section "Transferable argument types" of the current release notes:
http://genode.org/documentation/release-notes/11.05#section-4
Best regards Norman