mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 13:36:45 +07:00
24 lines
463 B
C
24 lines
463 B
C
|
/******************************************************************************
|
||
|
* features.h
|
||
|
*
|
||
|
* Query the features reported by Xen.
|
||
|
*
|
||
|
* Copyright (c) 2006, Ian Campbell
|
||
|
*/
|
||
|
|
||
|
#ifndef __XEN_FEATURES_H__
|
||
|
#define __XEN_FEATURES_H__
|
||
|
|
||
|
#include <xen/interface/features.h>
|
||
|
|
||
|
void xen_setup_features(void);
|
||
|
|
||
|
extern u8 xen_features[XENFEAT_NR_SUBMAPS * 32];
|
||
|
|
||
|
static inline int xen_feature(int flag)
|
||
|
{
|
||
|
return xen_features[flag];
|
||
|
}
|
||
|
|
||
|
#endif /* __ASM_XEN_FEATURES_H__ */
|