This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Use shared memory Qt application

Other Parts Discussed in Thread: OMAP-L138

Hello,

I am developing a Qt application on omap-l138. This application use a library previously built with c6runLib. When I call a function from this library, I'd like to pass a pointer to a structure (allocate on ARM side) as a parameter, but it seems that the adress is different on DSP side than on ARM side.

I tried to allocate a structure in a C program om ARM side and passed it through a function parameter and it is actually working. So I guess that malloc( ) function from C lib allocates in shared memory, which is not the case with malloc from c++ lib.

So my questions are:

1) What is the difference between C++ and C allocation?

2) How can I specify the memory allocation to be done in shared memory?

3) Is there any c6runlib example using shared memory?

 

Thanks in advance