Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
features.h
Go to the documentation of this file.
1 /******************************************************************************
2  * features.h
3  *
4  * Query the features reported by Xen.
5  *
6  * Copyright (c) 2006, Ian Campbell
7  */
8 
9 #ifndef __XEN_FEATURES_H__
10 #define __XEN_FEATURES_H__
11 
12 #include <xen/interface/features.h>
13 
14 void xen_setup_features(void);
15 
17 
18 static inline int xen_feature(int flag)
19 {
20  return xen_features[flag];
21 }
22 
23 #endif /* __ASM_XEN_FEATURES_H__ */