Xenomai  3.0.8
features.h
1 /*
2  * Copyright (C) 2005 Philippe Gerum <rpm@xenomai.org>.
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13 
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
17  */
18 #ifndef _COBALT_POWERPC_ASM_UAPI_FEATURES_H
19 #define _COBALT_POWERPC_ASM_UAPI_FEATURES_H
20 
21 /* The ABI revision level we use on this arch. */
22 #define XENOMAI_ABI_REV 16UL
23 
24 #define XENOMAI_FEAT_DEP __xn_feat_generic_mask
25 
26 #define XENOMAI_FEAT_MAN __xn_feat_generic_man_mask
27 
28 #define XNARCH_HAVE_LLMULSHFT 1
29 #define XNARCH_HAVE_NODIV_LLIMD 1
30 
31 struct cobalt_featinfo_archdep { /* no arch-specific feature */ };
32 
33 #include <cobalt/uapi/asm-generic/features.h>
34 
35 static inline const char *get_feature_label(unsigned feature)
36 {
37  return get_generic_feature_label(feature);
38 }
39 
40 #endif /* !_COBALT_POWERPC_ASM_UAPI_FEATURES_H */