Home
last modified time | relevance | path

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

/external/crosvm/src/plugin/
Dvcpu.rs88 fn get_vcpu_state(vcpu: &Vcpu, state_set: VcpuRequest_StateSet) -> SysResult<Vec<u8>> { in get_vcpu_state()
90 VcpuRequest_StateSet::REGS => VcpuRegs(vcpu.get_regs()?).as_slice().to_vec(), in get_vcpu_state()
91 VcpuRequest_StateSet::SREGS => VcpuSregs(vcpu.get_sregs()?).as_slice().to_vec(), in get_vcpu_state()
92 VcpuRequest_StateSet::FPU => VcpuFpu(vcpu.get_fpu()?).as_slice().to_vec(), in get_vcpu_state()
93 VcpuRequest_StateSet::DEBUGREGS => VcpuDebugregs(vcpu.get_debugregs()?).as_slice().to_vec(), in get_vcpu_state()
94 VcpuRequest_StateSet::XCREGS => VcpuXcregs(vcpu.get_xcrs()?).as_slice().to_vec(), in get_vcpu_state()
95 VcpuRequest_StateSet::LAPIC => VcpuLapicState(vcpu.get_lapic()?).as_slice().to_vec(), in get_vcpu_state()
96 VcpuRequest_StateSet::MP => VcpuMpState(vcpu.get_mp_state()?).as_slice().to_vec(), in get_vcpu_state()
97 VcpuRequest_StateSet::EVENTS => VcpuEvents(vcpu.get_vcpu_events()?).as_slice().to_vec(), in get_vcpu_state()
101 fn set_vcpu_state(vcpu: &Vcpu, state_set: VcpuRequest_StateSet, state: &[u8]) -> SysResult<()> { in set_vcpu_state() argument
[all …]
/external/crosvm/crosvm_plugin/src/
Dlib.rs1200 state_set: VcpuRequest_StateSet, in get_state() argument
1219 state_set: VcpuRequest_StateSet, in set_state() argument
1233 state_set: VcpuRequest_StateSet, in set_state_from_cache() argument
1239 VcpuRequest_StateSet::REGS => { in set_state_from_cache()
1243 VcpuRequest_StateSet::SREGS => { in set_state_from_cache()
1247 VcpuRequest_StateSet::DEBUGREGS => { in set_state_from_cache()
1768 if let Err(e) = this.set_state_from_cache(VcpuRequest_StateSet::REGS) { in crosvm_vcpu_get_regs()
1777 let ret = this.get_state(VcpuRequest_StateSet::REGS, regs); in crosvm_vcpu_get_regs()
1804 if let Err(e) = this.set_state_from_cache(VcpuRequest_StateSet::SREGS) { in crosvm_vcpu_get_sregs()
1813 let ret = this.get_state(VcpuRequest_StateSet::SREGS, sregs); in crosvm_vcpu_get_sregs()
[all …]