[coyotos-dev] CapIDL array error?

Venkatesh Srinivas me at acm.jhu.edu
Tue May 27 21:30:30 CDT 2008


On Tue, May 27, 2008 at 07:55:38AM -0400, Jonathan S. Shapiro wrote:
>Venkatesh:
>
>Can you provide a complete example? This isn't something I can feed to
>CapIDL to reproduce the problem. It should be simple to create an
>interface with a single procedure...

package coyotos;

interface test {
         typedef array<unsigned short, 4096> chFoo;

         void red(chFoo s); 
};

causes (in test.server.h):
    ...
    __builtin_memcpy(s, &_params.server_in.s, s, sizeof(s[0]) * 4096);
    ...

--vs


More information about the coyotos-dev mailing list