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.

SharedRegion semaphore protection

Other Parts Discussed in Thread: OMAPL138

Hello,

In my OMAPL138 application I'm planning to use ~3MB SharedRegion between SYS/BIOS and Linux applications. Region will be divided to approx. 10 individual memory areas, linear streaming buffers, ring buffers etc. . I need to protect these 10 areas with individual semaphores, not covering the other areas: if area 5 is used by Linux, the others should be available for DSP. 

Do I need to define as many SharedRegions I have areas or can I protect areas individually inside a single SharedRegion?

I would appreciate if you could provide me an example. I'm using SysLink 2.21.01.05 and IPC 1.25.03.15. 

Best Regards,

Risto