mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 10:53:39 +01:00
ad7dd51499
These headers originate with the Xen project and shouldn't be mixed with the main portion of the FreeBSD kernel. Notably they shouldn't be the target of clean-up commits. Switch to use the headers in sys/contrib/xen. Reviewed by: royger
21 lines
455 B
C
21 lines
455 B
C
/******************************************************************************
|
|
* features.h
|
|
*
|
|
* Query the features reported by Xen.
|
|
*
|
|
* Copyright (c) 2006, Ian Campbell
|
|
*/
|
|
|
|
#ifndef __ASM_XEN_FEATURES_H__
|
|
#define __ASM_XEN_FEATURES_H__
|
|
|
|
#include <contrib/xen/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__ */
|