Commit b3dc0b13 authored by Florian Bezdeka's avatar Florian Bezdeka Committed by Jan Kiszka
Browse files

cobalt/posix/process: Adding a xnptree for exporting registry entries



Will be used later for exporting registry entries, namely named
semaphores as well as mqueues to
/proc/xenomai/registry/posix/{mqueue,sem}
Signed-off-by: default avatarFlorian Bezdeka <florian.bezdeka@siemens.com>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 0e220252
......@@ -47,6 +47,8 @@
#define cobalt_mark_deleted(t) ((t)->magic = ~(t)->magic)
extern struct xnptree posix_ptree;
static inline xnhandle_t cobalt_get_handle_from_user(xnhandle_t *u_h)
{
xnhandle_t handle;
......
......@@ -83,6 +83,8 @@ static struct xnsynch yield_sync;
LIST_HEAD(cobalt_global_thread_list);
DEFINE_XNPTREE(posix_ptree, "posix");
struct cobalt_resources cobalt_global_resources = {
.condq = LIST_HEAD_INIT(cobalt_global_resources.condq),
.mutexq = LIST_HEAD_INIT(cobalt_global_resources.mutexq),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment