Home
last modified time | relevance | path

Searched refs:Sreg (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dseg.rs54 pub enum Sreg { enum
79 if seg == Sreg::CS as usize { in seg_setup()
H A Dvcpu.rs7 use crate::arch::kvm::vmx::seg::{seg_setup, Sreg};
183 seg_setup(Sreg::CS as usize)?; in vmcs_init_guest()
187 seg_setup(Sreg::DS as usize)?; in vmcs_init_guest()
188 seg_setup(Sreg::ES as usize)?; in vmcs_init_guest()
189 seg_setup(Sreg::FS as usize)?; in vmcs_init_guest()
190 seg_setup(Sreg::GS as usize)?; in vmcs_init_guest()
191 seg_setup(Sreg::SS as usize)?; in vmcs_init_guest()