Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/arch/x86_64/
Dcpu.rs1 use x86::cpuid::{cpuid, CpuIdResult};
8 let cpuid_res: CpuIdResult = cpuid!(0x1); in current_cpu_id()
/DragonOS-0.1.9/kernel/src/arch/x86_64/kvm/vmx/
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()
Dvcpu.rs574 let cpuid = CpuId::new(); in has_intel_vmx_support() localVariable
575 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()
/DragonOS-0.1.9/kernel/src/mm/
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-0.1.9/kernel/src/arch/x86_64/driver/apic/
Dx2apic.rs16 return x86::cpuid::CpuId::new() in support()
104 let cpuid = raw_cpuid::CpuId::new(); in mask_all_lvt() localVariable
108 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()
Dapic_timer.rs23 use x86::cpuid::cpuid;
273 let res = cpuid!(1); in is_deadline_mode_supported()
Dxapic.rs209 return x86::cpuid::CpuId::new() in support()
/DragonOS-0.1.9/kernel/src/arch/x86_64/kvm/
Dmod.rs33 let cpuid = CpuId::new(); in kvm_arch_cpu_supports_vm() localVariable
35 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()
/DragonOS-0.1.9/kernel/src/arch/x86_64/driver/
Dtsc.rs34 let cpuid = x86::cpuid::CpuId::new(); in init() localVariable
35 let feat = cpuid.get_feature_info().ok_or(SystemError::ENODEV)?; in init()
/DragonOS-0.1.9/kernel/
DCargo.toml58 raw-cpuid = "11.0.1"
/DragonOS-0.1.9/docs/community/ChangeLog/V0.1.x/
DV0.1.9.md1429 * 完成vmexit cpuid handler