diff options
Diffstat (limited to 'sys/i386/include/xen/features.h')
-rw-r--r-- | sys/i386/include/xen/features.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/i386/include/xen/features.h b/sys/i386/include/xen/features.h new file mode 100644 index 0000000..fb4f680 --- /dev/null +++ b/sys/i386/include/xen/features.h @@ -0,0 +1,22 @@ +/****************************************************************************** + * features.h + * + * Query the features reported by Xen. + * + * Copyright (c) 2006, Ian Campbell + * + * $FreeBSD$ + */ + +#ifndef __ASM_XEN_FEATURES_H__ +#define __ASM_XEN_FEATURES_H__ + +#include <xen/interface/version.h> + +extern void setup_xen_features(void); + +extern uint8_t xen_features[XENFEAT_NR_SUBMAPS * 32]; + +#define xen_feature(flag) (xen_features[flag]) + +#endif /* __ASM_XEN_FEATURES_H__ */ |