Commit db393504 authored by Philippe Gerum's avatar Philippe Gerum Committed by Jan Kiszka

cobalt/thread: dovetail: define out-of-band state accessors

Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <>
parent 0af124df
* SPDX-License-Identifier: GPL-2.0
* Copyright (C) 2019 Philippe Gerum <>
#include <linux/dovetail.h>
struct xnthread;
#define cobalt_threadinfo oob_thread_state
static inline struct cobalt_threadinfo *pipeline_current(void)
return dovetail_current_state();
static inline
struct xnthread *pipeline_thread_from_task(struct task_struct *p)
return dovetail_task_state(p)->thread;
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