2009-03-11 15:30:12 +00:00
|
|
|
/******************************************************************************
|
|
|
|
* features.h
|
|
|
|
*
|
|
|
|
* Query the features reported by Xen.
|
|
|
|
*
|
|
|
|
* Copyright (c) 2006, Ian Campbell
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_XEN_FEATURES_H__
|
|
|
|
#define __ASM_XEN_FEATURES_H__
|
|
|
|
|
2021-10-13 02:00:26 +00:00
|
|
|
#include <contrib/xen/version.h>
|
2009-03-11 15:30:12 +00:00
|
|
|
|
|
|
|
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__ */
|