RTEMS CPU Kit with SuperCore  4.11.2
cpuset.h
Go to the documentation of this file.
1 
10 /*
11  * COPYRIGHT (c) 2014.
12  * On-Line Applications Research Corporation (OAR).
13  *
14  * The license and distribution terms for this file may be
15  * found in the file LICENSE in this distribution or at
16  * http://www.rtems.org/license/LICENSE.
17  */
18 
19 #ifndef _RTEMS_SCORE_CPUSET_H
20 #define _RTEMS_SCORE_CPUSET_H
21 
22 #include <rtems/score/basedefs.h>
23 
24 #ifdef __RTEMS_HAVE_SYS_CPUSET_H__
25 
26 #include <sys/cpuset.h>
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
49 typedef struct {
51  size_t setsize;
53  cpu_set_t preallocated;
55  cpu_set_t *set;
56 } CPU_set_Control;
57 
60 #ifdef __cplusplus
61 }
62 #endif
63 
64 #endif /* __RTEMS_HAVE_SYS_CPUSET_H__ */
65 
66 #endif /* _RTEMS_SCORE_CPUSET_H */
67 /* end of include file */
Basic Definitions.