- Update Xen patches to 3.3-rc5 and c/s 1157.
[linux-flexiantxendom0-3.2.10.git] / include / xen / features.h
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 #include <xen/interface/version.h>
14
15 void xen_setup_features(void);
16
17 extern u8 xen_features[XENFEAT_NR_SUBMAPS * 32];
18
19 static inline int xen_feature(int flag)
20 {
21         return xen_features[flag];
22 }
23
24 #endif /* __XEN_FEATURES_H__ */