Home
last modified time | relevance | path

Searched refs:has_core_cap (Results 1 – 4 of 4) sorted by relevance

/hypervisor/include/arch/x86/asm/
A Dcpu_caps.h56 bool has_core_cap(uint32_t bit_mask);
/hypervisor/arch/x86/
A Dcpu_caps.c182 bool has_core_cap(uint32_t bit_mask) in has_core_cap() function
191 …if (has_core_cap(CORE_CAP_SPLIT_LOCK) && ((msr_read(MSR_TEST_CTL) & MSR_TEST_CTL_AC_SPLITLOCK) != … in is_ac_enabled()
202 if (has_core_cap(CORE_CAP_UC_LOCK) && ((msr_read(MSR_TEST_CTL) & MSR_TEST_CTL_GP_UCLOCK) != 0UL)) { in is_gp_enabled()
A Dcpu.c118 if (has_core_cap(CORE_CAP_SPLIT_LOCK)) { in enable_ac_for_splitlock()
131 if (has_core_cap(CORE_CAP_UC_LOCK)) { in enable_gp_for_uclock()
/hypervisor/arch/x86/guest/
A Dvmsr.c825 if (has_core_cap(CORE_CAP_SPLIT_LOCK) || has_core_cap(CORE_CAP_UC_LOCK)) { in rdmsr_vmexit_handler()
1323 if (has_core_cap(CORE_CAP_SPLIT_LOCK) || has_core_cap(CORE_CAP_UC_LOCK)) { in wrmsr_vmexit_handler()

Completed in 7 milliseconds