Xenomai
3.3.2
Loading...
Searching...
No Matches
thread.h
1
/*
2
* Copyright (C) 2021 Philippe Gerum <rpm@xenomai.org>.
3
*
4
* Xenomai is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
8
*/
9
#ifndef _COBALT_ASM_GENERIC_THREAD_H
10
#define _COBALT_ASM_GENERIC_THREAD_H
11
12
#include <linux/dovetail.h>
13
14
struct
xnarchtcb {
15
struct
dovetail_altsched_context altsched;
16
};
17
18
static
inline
19
struct
task_struct *xnarch_host_task(
struct
xnarchtcb *tcb)
20
{
21
return
tcb->altsched.task;
22
}
23
24
#endif
/* !_COBALT_ASM_GENERIC_THREAD_H */
kernel
cobalt
include
asm-generic
xenomai
thread.h
Generated by
1.9.8