Xenomai API  2.6.5
module.h
1 /*
2  * Copyright (C) 2001,2002,2003 Philippe Gerum <[email protected]>.
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
6  * by the Free Software Foundation; either version 2 of the License,
7  * or (at your option) any later version.
8  *
9  * Xenomai is distributed in the hope that it will be useful, but
10  * WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with Xenomai; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
17  * 02111-1307, USA.
18  */
19 
20 #ifndef _XENO_NUCLEUS_MODULE_H
21 #define _XENO_NUCLEUS_MODULE_H
22 
23 #include <nucleus/queue.h>
24 #include <nucleus/timebase.h>
25 
26 #define XNMOD_GHOLDER_REALLOC 128 /* Realloc count */
27 #define XNMOD_GHOLDER_THRESHOLD 64 /* Safety threshold */
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 void xnmod_alloc_glinks(xnqueue_t *freehq);
34 
35 #ifdef __cplusplus
36 }
37 #endif
38 
39 extern xnqueue_t xnmod_glink_queue;
40 
41 extern u_long xnmod_sysheap_size;
42 
43 #endif /* !_XENO_NUCLEUS_MODULE_H */