Rev | Line | |
---|
[34] | 1 | /****************************************************************************** |
---|
| 2 | * features.h |
---|
| 3 | * |
---|
| 4 | * Query the features reported by Xen. |
---|
| 5 | * |
---|
| 6 | * Copyright (c) 2006, Ian Campbell |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #ifndef __ASM_XEN_FEATURES_H__ |
---|
| 10 | #define __ASM_XEN_FEATURES_H__ |
---|
| 11 | |
---|
| 12 | #include <xen/interface/version.h> |
---|
| 13 | |
---|
| 14 | extern void setup_xen_features(void); |
---|
| 15 | |
---|
| 16 | extern u8 xen_features[XENFEAT_NR_SUBMAPS * 32]; |
---|
| 17 | |
---|
| 18 | #define xen_feature(flag) (xen_features[flag]) |
---|
| 19 | |
---|
| 20 | #endif /* __ASM_XEN_FEATURES_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.