mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 15:45:05 +00:00
HV: CAT: capability enumaration
Enumarate capability of Cache Allocation Technology(CAT) on X86 platform, when HV init the primary cpu. If CAT is supported, store its info to global struct cat_hw_info. Tracked-On: #2462 Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
Eddie Dong
parent
cf524e684d
commit
43ee5590a4
@@ -73,6 +73,7 @@
|
||||
#define X86_FEATURE_SMEP ((FEAT_7_0_EBX << 5U) + 7U)
|
||||
#define X86_FEATURE_ERMS ((FEAT_7_0_EBX << 5U) + 9U)
|
||||
#define X86_FEATURE_INVPCID ((FEAT_7_0_EBX << 5U) + 10U)
|
||||
#define X86_FEATURE_CAT ((FEAT_7_0_EBX << 5U) + 15U)
|
||||
#define X86_FEATURE_SMAP ((FEAT_7_0_EBX << 5U) + 20U)
|
||||
|
||||
/* Intel-defined CPU features, CPUID level 0x00000007 (EDX)*/
|
||||
|
||||
Reference in New Issue
Block a user