summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0596062)
raw | patch | inline | side by side (parent: 0596062)
author | Chris Ring <cring@ti.com> | |
Thu, 20 Mar 2014 23:04:06 +0000 (16:04 -0700) | ||
committer | Chris Ring <cring@ti.com> | |
Thu, 20 Mar 2014 23:04:06 +0000 (16:04 -0700) |
Clarify that the 'handle' parameter for various MmRpc APIs must
be valid.
be valid.
packages/ti/ipc/mm/MmRpc.h | patch | blob | history |
index bd766d873eb5f6f3649a6f74b3c0844346adfef2..feee339acb2eea18a3a126ca128f414d4209b516 100644 (file)
/*
- * Copyright (c) 2012-2013, Texas Instruments Incorporated
+ * Copyright (c) 2012-2014, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*
* @brief Multi-Media derived Remote Procedure Call
*
- * @note MmRpc is currently only available for Linux and QNX.
- *
- *
+ * @note MmRpc is currently only available for HLOS (Linux, QNX, Android).
*/
#ifndef ti_ipc_mm_MmRpc__include
* @param[in] ctx Context with which to invoke the remote service
* @param[in, out] ret Return value from the remotely invoked service
*
+ * @pre @c handle must be a valid handle for the service instance
+ * returned by an earlier call to MmRpc_create().
+ *
* @sa MmRpc_create()
* @sa MmRpc_delete()
*/
*
* @param[in] handlePtr MmRpc handle, obtained from MmRpc_create()
*
+ * @pre @c handlePtr must be a valid handle for the service instance
+ * returned by an earlier call to MmRpc_create()
+ *
* @sa MmRpc_create()
*/
int MmRpc_delete(MmRpc_Handle *handlePtr);
* @param[in] num Number of elements in @c desc array
* @param[in] desc Pointer to array of buffer descriptors
*
+ * @pre @c handle must be a valid handle for the service instance
+ * returned by an earlier call to MmRpc_create().
+ *
* @remark When the remote processor no longer needs a reference
* to a buffer, calling MmRpc_release() will release the
* buffer and any associated resources.
* @param[in] num Number of elements in @c desc array
* @param[in] desc Pointer to array of buffer descriptors
*
+ * @pre @c handle must be a valid handle for the service instance
+ * returned by an earlier call to MmRpc_create().
+ *
* @remark When using MmRpc_call() to invoke remote function calls,
* any referenced buffers will be made available to the
* remote processor only for the duration of the remote