Home
last modified time | relevance | path

Searched refs:cpuid (Results 1 – 12 of 12) sorted by relevance

/DragonOS/kernel/src/arch/x86_64/
H A Dcpu.rs3 use x86::cpuid::{cpuid, CpuIdResult};
10 let cpuid_res: CpuIdResult = cpuid!(0x1); in current_cpu_id()
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dept.rs46 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() localVariable
76 return Self::lock_cpu(cpuid, mapper); in lock()
H A Dvcpu.rs572 let cpuid = CpuId::new(); in has_intel_vmx_support() localVariable
573 if let Some(vi) = cpuid.get_vendor_info() { in has_intel_vmx_support()
578 if let Some(fi) = cpuid.get_feature_info() { in has_intel_vmx_support()
/DragonOS/kernel/src/mm/
H A Dkernel_mapper.rs39 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() localVariable
69 return Self::lock_cpu(cpuid, mapper); in lock()
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dx2apic.rs17 return x86::cpuid::CpuId::new() in support()
105 let cpuid = raw_cpuid::CpuId::new(); in mask_all_lvt() localVariable
109 if cpuid.get_thermal_power_info().is_some() { in mask_all_lvt()
113 if cpuid.get_performance_monitoring_info().is_some() { in mask_all_lvt()
H A Dapic_timer.rs24 use x86::cpuid::cpuid;
275 let res = cpuid!(1); in is_deadline_mode_supported()
H A Dxapic.rs210 return x86::cpuid::CpuId::new() in support()
/DragonOS/kernel/src/arch/x86_64/kvm/
H A Dmod.rs30 let cpuid = CpuId::new(); in kvm_arch_cpu_supports_vm() localVariable
32 if let Some(vi) = cpuid.get_vendor_info() { in kvm_arch_cpu_supports_vm()
39 if let Some(fi) = cpuid.get_feature_info() { in kvm_arch_cpu_supports_vm()
/DragonOS/kernel/src/arch/x86_64/driver/
H A Dtsc.rs31 let cpuid = x86::cpuid::CpuId::new(); in init() localVariable
32 let feat = cpuid.get_feature_info().ok_or(SystemError::ENODEV)?; in init()
/DragonOS/kernel/
H A DCargo.toml74 raw-cpuid = "11.0.1"
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dfault.rs191 let feature = x86::cpuid::CpuId::new() in do_user_addr_fault()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.9.md1430 * 完成vmexit cpuid handler