commit d1edce71135cc6d98c0a4b5729774542b676e769 Author: sophgo-forum-service <forum_service@sophgo.com> Date: Fri Mar 15 16:07:33 2024 +0800 [fix] recommend using ssh method to clone repo. [fix] fix sensor driver repo branch name.
25 lines
502 B
C
25 lines
502 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/******************************************************************************
|
|
* 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__ */
|