Home
last modified time | relevance | path

Searched refs:cpufeat_mask (Results 1 – 11 of 11) sorted by relevance

/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Damd.h15 cpufeat_mask(X86_FEATURE_FPU) | cpufeat_mask(X86_FEATURE_VME) | \
16 cpufeat_mask(X86_FEATURE_DE) | cpufeat_mask(X86_FEATURE_PSE) | \
17 cpufeat_mask(X86_FEATURE_TSC) | cpufeat_mask(X86_FEATURE_MSR) | \
18 cpufeat_mask(X86_FEATURE_PAE) | cpufeat_mask(X86_FEATURE_MCE) | \
19 cpufeat_mask(X86_FEATURE_CX8) | cpufeat_mask(X86_FEATURE_APIC) | \
20 cpufeat_mask(X86_FEATURE_SEP) | cpufeat_mask(X86_FEATURE_MTRR) | \
21 cpufeat_mask(X86_FEATURE_PGE) | cpufeat_mask(X86_FEATURE_MCA) | \
22 cpufeat_mask(X86_FEATURE_CMOV) | cpufeat_mask(X86_FEATURE_PAT) | \
23 cpufeat_mask(X86_FEATURE_PSE36) | cpufeat_mask(X86_FEATURE_CLFLUSH)| \
24 cpufeat_mask(X86_FEATURE_MMX) | cpufeat_mask(X86_FEATURE_FXSR) | \
[all …]
A Dcpufeature.h14 #define cpufeat_mask(idx) (_AC(1, U) << cpufeat_bit(idx)) macro
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dcpuid.c705 res->d |= cpufeat_mask(X86_FEATURE_DS); in guest_cpuid()
707 res->c |= cpufeat_mask(X86_FEATURE_DTES64); in guest_cpuid()
709 res->c |= cpufeat_mask(X86_FEATURE_DSCPL); in guest_cpuid()
716 res->c |= cpufeat_mask(X86_FEATURE_OSXSAVE); in guest_cpuid()
777 res->c |= cpufeat_mask(X86_FEATURE_OSXSAVE); in guest_cpuid()
811 res->c |= cpufeat_mask(X86_FEATURE_MONITOR); in guest_cpuid()
822 res->c |= cpufeat_mask(X86_FEATURE_EIST); in guest_cpuid()
847 res->c |= cpufeat_mask(X86_FEATURE_OSPKE); in guest_cpuid()
911 res->d &= ~cpufeat_mask(X86_FEATURE_SYSCALL); in guest_cpuid()
935 res->d &= ~cpufeat_mask(X86_FEATURE_PSE36); in guest_cpuid()
[all …]
A Ddomctl.c153 ecx |= cpufeat_mask(X86_FEATURE_X2APIC); in update_domain_cpuid_info()
155 edx |= cpufeat_mask(X86_FEATURE_HTT); in update_domain_cpuid_info()
167 if ( ecx & cpufeat_mask(X86_FEATURE_XSAVE) ) in update_domain_cpuid_info()
168 ecx = cpufeat_mask(X86_FEATURE_OSXSAVE); in update_domain_cpuid_info()
171 edx = cpufeat_mask(X86_FEATURE_APIC); in update_domain_cpuid_info()
185 if ( ecx & cpufeat_mask(X86_FEATURE_XSAVE) ) in update_domain_cpuid_info()
186 ecx = cpufeat_mask(X86_FEATURE_OSXSAVE); in update_domain_cpuid_info()
189 edx = cpufeat_mask(X86_FEATURE_APIC); in update_domain_cpuid_info()
271 ecx |= cpufeat_mask(X86_FEATURE_CMP_LEGACY); in update_domain_cpuid_info()
291 edx = cpufeat_mask(X86_FEATURE_APIC); in update_domain_cpuid_info()
A Dxstate.c635 eax &= (cpufeat_mask(X86_FEATURE_XSAVEOPT) | in xstate_init()
636 cpufeat_mask(X86_FEATURE_XSAVEC) | in xstate_init()
637 cpufeat_mask(X86_FEATURE_XGETBV1) | in xstate_init()
638 cpufeat_mask(X86_FEATURE_XSAVES)); in xstate_init()
A Dapic.c853 if (!(cpuid_edx(1) & cpufeat_mask(X86_FEATURE_APIC))) { in detect_init_APIC()
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/
A Dintel.c138 val &= ~(uint64_t)cpufeat_mask(X86_FEATURE_OSXSAVE); in intel_ctxt_switch_masking()
184 if (ecx & cpufeat_mask(X86_FEATURE_XSAVE)) in intel_init_levelling()
185 ecx |= cpufeat_mask(X86_FEATURE_OSXSAVE); in intel_init_levelling()
186 edx |= cpufeat_mask(X86_FEATURE_APIC); in intel_init_levelling()
A Damd.c224 val &= ~((uint64_t)cpufeat_mask(X86_FEATURE_OSXSAVE) << 32); in amd_ctxt_switch_masking()
293 if (ecx & cpufeat_mask(X86_FEATURE_XSAVE)) in amd_init_levelling()
294 ecx |= cpufeat_mask(X86_FEATURE_OSXSAVE); in amd_init_levelling()
295 edx |= cpufeat_mask(X86_FEATURE_APIC); in amd_init_levelling()
298 ecx |= cpufeat_mask(X86_FEATURE_HYPERVISOR); in amd_init_levelling()
317 edx |= cpufeat_mask(X86_FEATURE_APIC); in amd_init_levelling()
A Dcommon.c323 if (edx & cpufeat_mask(X86_FEATURE_CLFLUSH)) in early_cpu_detect()
/xen-4.10.0-shim-comet/xen/arch/x86/guest/
A Dxen.c77 if ( !(cpuid_ecx(1) & cpufeat_mask(X86_FEATURE_HYPERVISOR)) ) in probe_hypervisor()
/xen-4.10.0-shim-comet/xen/arch/x86/efi/
A Defi-boot.h241 if ( cpuid_ext_features & cpufeat_mask(X86_FEATURE_NX) ) in efi_arch_post_exit_boot()

Completed in 19 milliseconds