RcmServer: Replace System_printf with Log_print System_printf in this function floods the IPU trace buffer and drowns out other logs because this code is executed for every MmRpc_call made from the host. Log_print provides better control to enable or disable logs on a per module basis. Signed-off-by: Harinarayan Bhatta <harinarayan@ti.com>
grcm: Only Assert on Received Message Checks if Shutdown is False If RPMessage_recv returns due to shutdown, then no valid message is received by the call, and it should not assert if the message is invalid. This patch fixes the code to only do the assert checks if shutdown is false. Also fixes a minor issue with a trace referencing a parameter that no longer exists. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Add MmServiceMgr_getId() to allow retrieval of service instance id This commit adds MmServiceMgr_getId() to allow skeleton functions and service deletion functions to retrieve the instance id it is acting upon. It also reverts previous support for MmRpc_getId() and MmServiceMgr_register2. Signed-off-by: VW <vwan@ti.com>
Style: Change //-style comments to /* */ style Some users, especially those with MISRA-C requirements, don't allow //-style comments. Note that this addresses the files in packages/ti/ipc/*, there may be more, but I didn't hunt further.
RPMessage: Renamed MessageQCopy module to RPMessage. MessageQCopy is really an API which uses the RPMSG protocol to send and receive fixed size payloads. To avoid confusion with MessageQ, which can work over various transports, MessageQCopy is renamed RPMessage. This API is used directly by the TransportRpmsg MessageQ copy transport, and the gRCM module. Signed-off-by: G Anthony <a0783926@ti.com>
Coverity Fixes: Several fixes to coverity issues in some sysbios-rpmsg files. The coverity fixes address (or supress) the errors reported by coverity. NOTE: the virtio_ring.h file copyright header triggers a tisb filter check; but this is copyrighted by Rusty Russel, so commit was entered with the check disabled. Signed-off-by: G Anthony <a0783926@ti.com> Signed-off-by: Chris Ring <cring@ti.com>
grcm: package.bld cleanup and removal of unnecessary files ti.grcm was merged with unused files; remove those files. Also give package.bld some TLC.
gRCM: Pulled in gRCM from omapzoom sysbios-rpmsg wholsale. This is required by the ServiceMgr and test_omx sample for OMAP5. Pulled from omapzoom.org, sysbios-rpmsg, master branch, tag: 2.00.11.31. Signed-off-by: G Anthony <a0783926@ti.com>