Home
last modified time | relevance | path

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

/external/crosvm/src/plugin/
Dprocess.rs51 fn get_vm_state(vm: &Vm, state_set: MainRequest_StateSet) -> SysResult<Vec<u8>> { in get_vm_state()
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()
59 MainRequest_StateSet::IOAPIC => VmIoapicState(vm.get_ioapic_state()?).as_slice().to_vec(), in get_vm_state()
60 MainRequest_StateSet::PIT => VmPitState(vm.get_pit_state()?).as_slice().to_vec(), in get_vm_state()
61 MainRequest_StateSet::CLOCK => VmClockState(vm.get_clock()?).as_slice().to_vec(), in get_vm_state()
65 fn set_vm_state(vm: &Vm, state_set: MainRequest_StateSet, state: &[u8]) -> SysResult<()> { in set_vm_state() argument
67 MainRequest_StateSet::PIC0 => vm.set_pic_state( in set_vm_state()
73 MainRequest_StateSet::PIC1 => vm.set_pic_state( in set_vm_state()
79 MainRequest_StateSet::IOAPIC => vm.set_ioapic_state( in set_vm_state()
[all …]
/external/crosvm/crosvm_plugin/src/
Dlib.rs568 state_set: MainRequest_StateSet, in get_state() argument
587 state_set: MainRequest_StateSet, in set_state() argument
1597 MainRequest_StateSet::PIC0 in crosvm_get_pic_state()
1599 MainRequest_StateSet::PIC1 in crosvm_get_pic_state()
1615 MainRequest_StateSet::PIC0 in crosvm_set_pic_state()
1617 MainRequest_StateSet::PIC1 in crosvm_set_pic_state()
1632 let ret = this.get_state(MainRequest_StateSet::IOAPIC, state); in crosvm_get_ioapic_state()
1644 let ret = this.set_state(MainRequest_StateSet::IOAPIC, state); in crosvm_set_ioapic_state()
1656 let ret = this.get_state(MainRequest_StateSet::PIT, state); in crosvm_get_pit_state()
1668 let ret = this.set_state(MainRequest_StateSet::PIT, state); in crosvm_set_pit_state()
[all …]