Hi,
Does the ICP GateMP on the C66x device is using the HW semaphores? Where can I see that on the IPC code?
Thanks,
HR
GateMP uses HW semaphores on the c66x devices.The GateMp.RemoteSystemProxy is set up in the GateMP.xs file:
var gateDel = Settings.getHWGate();GateMP.RemoteSystemProxy = xdc.module(gateDel);
The getHWGate function in the family\Settings.xs file determines the device and plugs in the appropriate locking mechanism.
The actual HW Semaphore source code is in the <ipc_install_dir>\packages\ti\sdo\ipc\gates\GateHWSem.c file.
Todd
Todd,
What HW semaphore numbers does the IPC is using from the 64 available?
Many Thanks,
By default, the it uses HW semaphores 0-31.
OK, so I can use any HW Sem. as the GateMP will check which is available and will use it, is this correct?
You can use Ipc_ObjType_OPENDYNAMIC and it gets an available for you.
OK, Thanks,