public: export x86 cpu featureset information in the public API
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 24 Mar 2016 14:59:03 +0000 (15:59 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 24 Mar 2016 14:59:03 +0000 (15:59 +0100)
commit77a4b826bbe6f015d297c3de4f4a504dd63e7f74
treec5b3efa0beefa6f67c13c1391a6354d67c48722c
parent6095dd2ea7107ca18332a5934803088f239c26b6
public: export x86 cpu featureset information in the public API

For the featureset to be a useful object, it needs a stable interpretation, a
property which is missing from the current hw_caps interface.

Additionly, introduce TSC_ADJUST, FDP_EXCP_ONLY, SHA, PREFETCHWT1, ITSC, EFRO
and CLZERO which will be used by later changes.

To maintain compilation, FSCAPINTS is currently hardcoded at 9.  Future
changes will change this to being dynamically generated.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/include/asm-x86/cpufeature.h
xen/include/asm-x86/cpufeatureset.h [new file with mode: 0644]
xen/include/public/arch-x86/cpufeatureset.h [new file with mode: 0644]