Re: malformed request

Philipp Kupferschmied <[email protected]> Wed, 17 Sep 2008 12:45:31 +0200
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Message-ID <[email protected]>
> Thanks for the response.
> Actually I want to request Sigma0 for frames mapping. When I send a simple
> IPC msg to kernel(main.c) with just 2 untyped words, It was sent successfully
> but not recieved.

If I understand you correctly, you tried to send a message from a thread within your roottask to sigma0, in order to get some memory?
According to the error message you posted in your first mail, sigma0 received that message, but the message was not in the correct format. Sigma0 complains about a malformed request if the number of untyped words in the message is not equal to 2, or if the number of typed words is not equal to zero. So you should verify that you set up your message correctly.
However, it might be easier to use the convenience functions provided by user/include/l4/sigma0.h to request memory from sigma0 instead of setting up the required message by hand.

Philipp