TI E2E Community
IPC GateMP on the C66x device
Does the ICP GateMP on the C66x device is using the HW semaphores? Where can I see that on the IPC code?
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.
What HW semaphore numbers does the IPC is using from the 64 available?
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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.