I have an aplication running on a K64F board with ARM Mbed OS. I takes advantage of the RTOS capabilities and is runnign some different threads to perform various actions. Communication between threads is done using queues defined as global variables on the first part of the code (as defined in the RTOS examples).
MemoryPool<cMsg, 16> NMPool;
Queue<cMsg, 16> NMQueue;
This way every thread can access the queue.
I want to convert these threads to uvisor isolated boxes. I have succesfully run independent threads this way but I have found no way of sharing common variables among diferent boxes. I have found no reference on how to make available the variables to the code defined in the box files that are compiled as a single project using uvisor. Any idea, example or help?