summaryrefslogtreecommitdiffstats
path: root/src/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/sys')
-rw-r--r--src/include/sys/msg.h9
-rw-r--r--src/include/sys/vfs.h6
2 files changed, 12 insertions, 3 deletions
diff --git a/src/include/sys/msg.h b/src/include/sys/msg.h
index 215da312e..be7ba397a 100644
--- a/src/include/sys/msg.h
+++ b/src/include/sys/msg.h
@@ -171,7 +171,11 @@ ALWAYS_INLINE
*
* @param[in] q - message queue
* @param[in] msg - message
- * @return Always returns zero.
+ *
+ * @return Status of message send.
+ * @retval 0 - Success
+ * @retval -EINVAL - Invalid pointer passed to kernel.
+ * @retval -EINVAL - Message type is in kernel range.
*/
int msg_send(msg_q_t q, msg_t* msg);
@@ -197,7 +201,10 @@ int msg_sendrecv(msg_q_t q, msg_t* msg);
*
* @param[in] q - message queue
* @param[in] msg - response message
+ *
* @return Zero on success, else negative.
+ * @retval -EBADF - Message was not sent synchronously.
+ *
*/
int msg_respond(msg_q_t q, msg_t* msg);
diff --git a/src/include/sys/vfs.h b/src/include/sys/vfs.h
index 52629499b..f16e91b23 100644
--- a/src/include/sys/vfs.h
+++ b/src/include/sys/vfs.h
@@ -62,7 +62,7 @@ extern const char* VFS_ROOT;
extern const char* VFS_ROOT_BIN;
extern const char* VFS_ROOT_DATA;
extern const char* VFS_ROOT_MSG;
-extern const char* VFS_MSG;
+extern const char* VFS_ROOT_MSG_VFS;
enum VfsMessages
{
@@ -105,7 +105,9 @@ VfsSystemModule * vfs_find_module(VfsSystemModule * i_table, const char * i_name
* Call the module start routine
* @param[in] i_module VfsSystemModule data for the module
* @param[in] i_param parameter to pass to task_create() for this module
- * @return tid_t of started task | -1 if i_module is NULL | -2 if there is no start()
+ * @return tid_t of started task or negative value on error.
+ * @retval -ENOENT if i_module is NULL
+ * @retval -ENOEXEC if there is no start()
*/
tid_t vfs_exec(VfsSystemModule * i_module, void* i_param);
#endif
OpenPOWER on IntegriCloud