Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
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()
H A Dseg.rs76 pub fn seg_setup(seg: usize) -> Result<(), SystemError> { in seg_setup() function