Home
last modified time | relevance | path

Searched refs:read_obj_from_addr (Results 1 – 18 of 18) sorted by relevance

/external/crosvm/devices/src/usb/xhci/
Devent_ring.rs199 .read_obj_from_addr(seg_table_addr) in read_seg_table_entry()
270 let t: Trb = gm.read_obj_from_addr(GuestAddress(0x100)).unwrap(); in test_event_ring()
279 .read_obj_from_addr(GuestAddress(0x100 + trb_size)) in test_event_ring()
289 .read_obj_from_addr(GuestAddress(0x100 + 2 * trb_size)) in test_event_ring()
299 let t: Trb = gm.read_obj_from_addr(GuestAddress(0x200)).unwrap(); in test_event_ring()
308 .read_obj_from_addr(GuestAddress(0x200 + trb_size)) in test_event_ring()
318 .read_obj_from_addr(GuestAddress(0x200 + 2 * trb_size as u64)) in test_event_ring()
328 let t: Trb = gm.read_obj_from_addr(GuestAddress(0x300)).unwrap(); in test_event_ring()
338 .read_obj_from_addr(GuestAddress(0x300 + trb_size)) in test_event_ring()
361 .read_obj_from_addr(GuestAddress(0x300 + trb_size)) in test_event_ring()
[all …]
Ddevice_slot.rs506 .read_obj_from_addr(GuestAddress(trb.get_input_context_pointer())) in configure_endpoint()
542 .read_obj_from_addr(GuestAddress(trb.get_input_context_pointer())) in evaluate_context()
549 .read_obj_from_addr(GuestAddress( in evaluate_context()
567 .read_obj_from_addr(GuestAddress( in evaluate_context()
726 .read_obj_from_addr(self.get_device_context_addr()?) in get_device_context()
747 .read_obj_from_addr( in copy_context()
770 .read_obj_from_addr(GuestAddress( in get_device_context_addr()
Dring_buffer.rs129 .read_obj_from_addr(self.dequeue_pointer) in get_current_trb()
/external/crosvm/kernel_loader/src/
Dlib.rs217 let val: u8 = gm.read_obj_from_addr(cmdline_address).unwrap(); in cmdline_write_end()
220 let val: u8 = gm.read_obj_from_addr(cmdline_address).unwrap(); in cmdline_write_end()
223 let val: u8 = gm.read_obj_from_addr(cmdline_address).unwrap(); in cmdline_write_end()
226 let val: u8 = gm.read_obj_from_addr(cmdline_address).unwrap(); in cmdline_write_end()
229 let val: u8 = gm.read_obj_from_addr(cmdline_address).unwrap(); in cmdline_write_end()
/external/crosvm/devices/src/virtio/
Dqueue.rs95 let addr = GuestAddress(mem.read_obj_from_addr::<u64>(desc_head).unwrap() as u64); in checked_new()
97 let len: u32 = mem.read_obj_from_addr(desc_head.unchecked_add(8)).unwrap(); in checked_new()
98 let flags: u16 = mem.read_obj_from_addr(desc_head.unchecked_add(12)).unwrap(); in checked_new()
99 let next: u16 = mem.read_obj_from_addr(desc_head.unchecked_add(14)).unwrap(); in checked_new()
333 let avail_index: u16 = mem.read_obj_from_addr(avail_index_addr).unwrap(); in get_avail_index()
360 let avail_flags: u16 = mem.read_obj_from_addr(self.avail_ring).unwrap(); in get_avail_flag()
375 let used_event: u16 = mem.read_obj_from_addr(used_event_addr).unwrap(); in get_used_event()
396 let mut used_flags: u16 = mem.read_obj_from_addr(self.used_ring).unwrap(); in set_used_flag()
424 let descriptor_index: u16 = mem.read_obj_from_addr(desc_idx_addr).unwrap(); in peek()
Dblock.rs995 let status = mem.read_obj_from_addr::<u8>(status_offset).unwrap(); in read_last_sector()
1049 let status = mem.read_obj_from_addr::<u8>(status_offset).unwrap(); in read_beyond_last_sector()
1105 let status = mem.read_obj_from_addr::<u8>(status_offset).unwrap(); in get_id()
1109 let returned_id = mem.read_obj_from_addr::<[u8; 20]>(id_offset).unwrap(); in get_id()
Dblock_async.rs1132 let status = mem.read_obj_from_addr::<u8>(status_offset).unwrap(); in read_last_sector()
1201 let status = mem.read_obj_from_addr::<u8>(status_offset).unwrap(); in read_beyond_last_sector()
1272 let status = mem.read_obj_from_addr::<u8>(status_offset).unwrap(); in get_id()
1276 let returned_id = mem.read_obj_from_addr::<[u8; 20]>(id_offset).unwrap(); in get_id()
/external/crosvm/x86_64/src/
Dmptable.rs428 let mpf_intel = mem.read_obj_from_addr(GuestAddress(MPTABLE_START)).unwrap(); in mpf_intel_checksum()
444 let mpf_intel: mpf_intel = mem.read_obj_from_addr(GuestAddress(MPTABLE_START)).unwrap(); in mpc_table_checksum()
446 let mpc_table: mpc_table = mem.read_obj_from_addr(mpc_offset).unwrap(); in mpc_table_checksum()
470 let mpf_intel: mpf_intel = mem.read_obj_from_addr(GuestAddress(MPTABLE_START)).unwrap(); in cpu_entry_count()
472 let mpc_table: mpc_table = mem.read_obj_from_addr(mpc_offset).unwrap(); in cpu_entry_count()
480 let entry_type: u8 = mem.read_obj_from_addr(entry_offset).unwrap(); in cpu_entry_count()
Dtest_integration.rs283 guest_mem2.read_obj_from_addr::<u64>(write_addr).unwrap(), in simple_vm_test()
Dsmbios.rs399 mem.read_obj_from_addr(GuestAddress(SMBIOS_START)).unwrap(); in entrypoint_checksum()
Dregs.rs368 gm.read_obj_from_addr(read_addr).unwrap() in read_u64()
Dlib.rs739 .read_obj_from_addr(GuestAddress( in phys_addr()
/external/crosvm/vm_memory/src/
Dguest_memory.rs448 pub fn read_obj_from_addr<T: DataInit>(&self, guest_addr: GuestAddress) -> Result<T> { in read_obj_from_addr() method
795 let num1: u64 = gm.read_obj_from_addr(GuestAddress(0x500)).unwrap(); in test_read_u64()
796 let num2: u64 = gm.read_obj_from_addr(GuestAddress(0x1000 + 32)).unwrap(); in test_read_u64()
833 let num1: u64 = gm.read_obj_from_addr(GuestAddress(0x500)).unwrap(); in test_ref_store_u64()
834 let num2: u64 = gm.read_obj_from_addr(GuestAddress(0x1000 + 32)).unwrap(); in test_ref_store_u64()
/external/crosvm/kvm/tests/
Dreal_run_adder.rs71 .read_obj_from_addr(load_addr.checked_add(0xf1).unwrap()) in test_run()
/external/crosvm/devices/src/pci/
Dac97_bus_master.rs677 .read_obj_from_addr(GuestAddress(u64::from(descriptor_addr))) in get_buffer_offset()
692 .read_obj_from_addr(GuestAddress(u64::from(descriptor_addr) + 4)) in get_buffer_samples()
760 .read_obj_from_addr(GuestAddress(u64::from(descriptor_addr) + 4)) in buffer_completed()
/external/crosvm/devices/src/virtio/gpu/
Dmod.rs545 .read_obj_from_addr(desc.addr) in process_queue()
/external/crosvm/hypervisor/src/kvm/
Dmod.rs1245 let read_val: u8 = vm.get_memory().read_obj_from_addr(obj_addr).unwrap(); in get_memory()
/external/crosvm/kvm/src/
Dlib.rs1834 let read_val: u8 = vm.get_memory().read_obj_from_addr(obj_addr).unwrap(); in get_memory()