summaryrefslogtreecommitdiffstats
path: root/src/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/sys')
-rw-r--r--src/include/sys/msg.h4
-rw-r--r--src/include/sys/vfs.h26
2 files changed, 28 insertions, 2 deletions
diff --git a/src/include/sys/msg.h b/src/include/sys/msg.h
index ca5dab7e6..d7c42f4e3 100644
--- a/src/include/sys/msg.h
+++ b/src/include/sys/msg.h
@@ -22,8 +22,8 @@ struct msg_t
// Message queue interfaces.
msg_q_t msg_q_create();
int msg_q_destroy();
-int msg_q_register(msg_q_t q, char* name);
-msg_q_t msg_q_resolve(char* name);
+int msg_q_register(msg_q_t q, const char* name);
+msg_q_t msg_q_resolve(const char* name);
// Message interfaces.
__attribute__((always_inline))
diff --git a/src/include/sys/vfs.h b/src/include/sys/vfs.h
new file mode 100644
index 000000000..579b9ba34
--- /dev/null
+++ b/src/include/sys/vfs.h
@@ -0,0 +1,26 @@
+#ifndef __SYS_VFS_H
+#define __SYS_VFS_H
+
+#include <stdint.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+extern const char* VFS_ROOT;
+extern const char* VFS_ROOT_BIN;
+extern const char* VFS_ROOT_DATA;
+extern const char* VFS_ROOT_MSG;
+
+enum VfsMessages
+{
+ VFS_MSG_REGISTER_MSGQ,
+ VFS_MSG_RESOLVE_MSGQ,
+};
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
OpenPOWER on IntegriCloud