index 7ea6bb6853c07ccc42098a7b1704942acbd6ce18..68c2925cd0fae6002c1960d1f58adc6bb928c8a1 100644 (file)
/*
- * Copyright (c) 2011-2013, Texas Instruments Incorporated
+ * Copyright (c) 2011-2015, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
/* RcmServer static function table */
static RcmServer_FxnDesc OMXServerFxnAry[] = {
-// {"RPC_SKEL_GetHandle" , RPC_SKEL_GetHandle}, // Set at runtime.
- {"RPC_SKEL_GetHandle" , NULL},
+ {"RPC_SKEL_GetHandle" , NULL}, /* Set at runtime to RPC_SKEL_GetHandle */
{"RPC_SKEL_SetParameter", RPC_SKEL_SetParameter},
{"RPC_SKEL_GetParameter", RPC_SKEL_GetParameter},
{"fxnDouble", fxnDouble },
struct omx_packet * packet = (struct omx_packet *)hdr->data;
- //Marshalled:[>offset(cParameterName)|>pAppData|>offset(RcmServerName)|>pid|
- //>--cComponentName--|>--CallingCorercmServerName--|
- //<hComp]
+ /*
+ * Marshalled:[>offset(cParameterName)|>pAppData|>offset(RcmServerName)|>pid|
+ * >--cComponentName--|>--CallingCorercmServerName--|
+ * <hComp]
+ */
strcpy(cComponentName, (char *)data + sizeof(map_info_type));
/* Simulate sending an async OMX callback message, passing an omx_packet
* structure.
*/
- packet->msg_id = 99; // Set to indicate callback instance, buffer id, etc.
- packet->fxn_idx = 5; // Set to indicate callback fxn
+ packet->msg_id = 99; /* Indicates callback instance, buffer id, etc. */
+ packet->fxn_idx = 5; /* Indicate callback fxn */
packet->data_size = PAYLOAD_SIZE;
strcpy((char *)packet->data, CALLBACK_DATA);
ServiceMgr_send(srvc, cb_data, CALLBACK_DATA_SIZE);
/* Call OMX_Get_Handle() and return handle for future calls. */
- //eCompReturn = OMX_GetHandle(&hComp, (OMX_STRING)&cComponentName[0], pAppData,&rpcCallBackInfo);
+ /*eCompReturn = OMX_GetHandle(&hComp, (OMX_STRING)&cComponentName[0], pAppData,&rpcCallBackInfo); */
hComp = 0x5C0FFEE5;
data[0] = hComp;
*
* Codes: E = ENTRY, X = EXIT, L = LIFECYCLE, F = INFO, S = STATUS
*/
- Diags_setMask("ti.ipc.rpmsg.MessageQCopy=EXLFS");
+ Diags_setMask("ti.ipc.rpmsg.RPMessage=EXLFS");
/* Setup the table of services, so clients can create and connect to
* new service instances:
OMXServer_fxnTab.elem[0].addr.createFxn = RPC_SKEL_GetHandle;
rcmServerParams.priority = Thread_Priority_ABOVE_NORMAL;
+ rcmServerParams.stackSize = 0x1000;
rcmServerParams.fxns.length = OMXServer_fxnTab.length;
rcmServerParams.fxns.elem = OMXServer_fxnTab.elem;