![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 /****************************************************************************** 0003 * features.h 0004 * 0005 * Query the features reported by Xen. 0006 * 0007 * Copyright (c) 2006, Ian Campbell 0008 */ 0009 0010 #ifndef __XEN_FEATURES_H__ 0011 #define __XEN_FEATURES_H__ 0012 0013 #include <xen/interface/features.h> 0014 0015 void xen_setup_features(void); 0016 0017 extern u8 xen_features[XENFEAT_NR_SUBMAPS * 32]; 0018 0019 static inline int xen_feature(int flag) 0020 { 0021 return xen_features[flag]; 0022 } 0023 0024 #endif /* __ASM_XEN_FEATURES_H__ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |