Searched refs:cpuid (Results 1 – 11 of 11) sorted by relevance
1 use x86::cpuid::{cpuid, CpuIdResult};8 let cpuid_res: CpuIdResult = cpuid!(0x1); in current_cpu_id()
46 fn lock_cpu(cpuid: ProcessorId, mapper: PageMapper) -> Self { in lock_cpu()50 cpuid, in lock_cpu()56 Err(id) if id == cpuid => break, in lock_cpu()74 let cpuid = smp_get_processor_id(); in lock() localVariable76 return Self::lock_cpu(cpuid, mapper); in lock()
574 let cpuid = CpuId::new(); in has_intel_vmx_support() localVariable575 if let Some(vi) = cpuid.get_vendor_info() { in has_intel_vmx_support()580 if let Some(fi) = cpuid.get_feature_info() { in has_intel_vmx_support()
39 fn lock_cpu(cpuid: ProcessorId, mapper: PageMapper) -> Self { in lock_cpu()43 cpuid, in lock_cpu()49 Err(id) if id == cpuid => break, in lock_cpu()67 let cpuid = smp_get_processor_id(); in lock() localVariable69 return Self::lock_cpu(cpuid, mapper); in lock()
16 return x86::cpuid::CpuId::new() in support()104 let cpuid = raw_cpuid::CpuId::new(); in mask_all_lvt() localVariable108 if cpuid.get_thermal_power_info().is_some() { in mask_all_lvt()112 if cpuid.get_performance_monitoring_info().is_some() { in mask_all_lvt()
23 use x86::cpuid::cpuid;273 let res = cpuid!(1); in is_deadline_mode_supported()
209 return x86::cpuid::CpuId::new() in support()
33 let cpuid = CpuId::new(); in kvm_arch_cpu_supports_vm() localVariable35 if let Some(vi) = cpuid.get_vendor_info() { in kvm_arch_cpu_supports_vm()42 if let Some(fi) = cpuid.get_feature_info() { in kvm_arch_cpu_supports_vm()
34 let cpuid = x86::cpuid::CpuId::new(); in init() localVariable35 let feat = cpuid.get_feature_info().ok_or(SystemError::ENODEV)?; in init()
58 raw-cpuid = "11.0.1"
1429 * 完成vmexit cpuid handler