Xenomai 3.3.2
Loading...
Searching...
No Matches
ppd.h
1/*
2 * Copyright &copy; 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
27struct cobalt_umm {
28 struct xnheap heap;
29 atomic_t refcount;
30 void (*release)(struct cobalt_umm *umm);
31};
32
33struct cobalt_ppd {
34 struct cobalt_umm umm;
35 atomic_t refcnt;
36 char *exe_path;
37 struct rb_root fds;
38};
39
40extern struct cobalt_ppd cobalt_kernel_ppd;
41
42#endif /* _COBALT_KERNEL_PPD_H */
Copyright © 2011 Gilles Chanteperdrix gilles.chanteperdrix@xenomai.org.
Definition atomic.h:24