index 80fd114738de338dd469064de9e78f5af277466c..bf193abac4407df80e69cbfbe2990cd817c1c583 100644 (file)
/*
- * Copyright (c) 2011-2013, Texas Instruments Incorporated
+ * Copyright (c) 2011-2019, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
#include <string.h>
#include <stdlib.h>
-#include <ti/ipc/rpmsg/MessageQCopy.h>
-#include <ti/ipc/rpmsg/NameMap.h>
+#include <ti/ipc/rpmsg/RPMessage.h>
#include "rpmsg_omx.h"
#include "ServiceMgr.h"
params = &st->params;
Task_Params_init(params);
memcpy((Void *)(¶ms->arg0), &taskParams->arg0,
- sizeof(*params) - sizeof(Void *));
+ sizeof(*params) - ((UArg)&taskParams->arg0-(UArg)taskParams));
params->instance->name = st->name;
st->reserved = reserved;
hdr->len = len;
/* Send it off (and no response expected): */
- MessageQCopy_send(dstProc, remote, local, data, HDRSIZE+len);
+ RPMessage_send(dstProc, remote, local, data, HDRSIZE+len);
}
Bool ServiceMgr_registerDisconnectFxn(Service_Handle srvc, Ptr data,