Xenomai
3.0.5
ppd.h
1
/*
2
* Copyright © 2006 Gilles Chanteperdrix <gch@xenomai.org>
3
*
4
* Xenomai is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, Inc., 675 Mass Ave, Cambridge MA 02139,
7
* USA; either version 2 of the License, or (at your option) any later
8
* version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
*/
19
#ifndef _COBALT_KERNEL_PPD_H
20
#define _COBALT_KERNEL_PPD_H
21
22
#include <linux/types.h>
23
#include <linux/atomic.h>
24
#include <linux/rbtree.h>
25
#include <cobalt/kernel/heap.h>
26
27
struct
cobalt_umm {
28
struct
xnheap heap;
29
atomic_t
refcount;
30
void (*release)(
struct
cobalt_umm *umm);
31
};
32
33
struct
cobalt_ppd {
34
struct
cobalt_umm umm;
35
unsigned
long
mayday_tramp;
36
atomic_t
refcnt;
37
char
*exe_path;
38
struct
rb_root fds;
39
};
40
41
extern
struct
cobalt_ppd cobalt_kernel_ppd;
42
43
#endif
/* _COBALT_KERNEL_PPD_H */
atomic_t
Copyright © 2011 Gilles Chanteperdrix gilles.chanteperdrix@xenomai.org.
Definition:
atomic.h:24
include
cobalt
kernel
ppd.h
Generated by
1.8.13