Home
last modified time | relevance | path

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

/external/crosvm/src/plugin/
Dprocess.rs27 use kvm::{dirty_log_bitmap_size, Datamatch, IoeventAddress, IrqRoute, IrqSource, PicId, Vm};
53 MainRequest_StateSet::PIC0 => VmPicState(vm.get_pic_state(PicId::Primary)?) in get_vm_state()
56 MainRequest_StateSet::PIC1 => VmPicState(vm.get_pic_state(PicId::Secondary)?) in get_vm_state()
68 PicId::Primary, in set_vm_state()
74 PicId::Secondary, in set_vm_state()
/external/crosvm/kvm/src/
Dlib.rs238 pub enum PicId { enum
503 pub fn get_pic_state(&self, id: PicId) -> Result<kvm_pic_state> { in get_pic_state()
528 pub fn set_pic_state(&self, id: PicId, state: &kvm_pic_state) -> Result<()> { in set_pic_state() argument
1856 let pic_state = vm.get_pic_state(PicId::Secondary).unwrap(); in pic_handling()
1857 vm.set_pic_state(PicId::Secondary, &pic_state).unwrap(); in pic_handling()