Lines Matching refs:rq
103 kdp_readphysmem64_req_t rq;
106 rq.address = src;
107 rq.nbytes = (uint32_t)len;
108 ret = kdp_machine_phys_read(&rq, dst, KDP_CURRENT_LCPU);
155 kdp_machine_phys_read(kdp_readphysmem64_req_t *rq, caddr_t dst,
158 mach_vm_address_t src = rq->address;
159 mach_vm_size_t len = rq->nbytes;
168 kdp_x86_xcpu_invoke(lcpu, (kdp_x86_xcpu_func_t)kdp_machine_phys_read, rq, dst);
256 kdp_machine_phys_write(kdp_writephysmem64_req_t *rq, caddr_t src,
259 mach_vm_address_t dst = rq->address;
260 mach_vm_size_t len = rq->nbytes;
267 kdp_x86_xcpu_invoke(lcpu, (kdp_x86_xcpu_func_t)kdp_machine_phys_write, rq, src);
306 kdp_machine_ioport_read(kdp_readioport_req_t *rq, caddr_t data, uint16_t lcpu)
308 uint16_t addr = rq->address;
309 uint16_t size = rq->nbytes;
312 return (int) kdp_x86_xcpu_invoke(lcpu, (kdp_x86_xcpu_func_t)kdp_machine_ioport_read, rq, data);
335 kdp_machine_ioport_write(kdp_writeioport_req_t *rq, caddr_t data, uint16_t lcpu)
337 uint16_t addr = rq->address;
338 uint16_t size = rq->nbytes;
341 return (int) kdp_x86_xcpu_invoke(lcpu, (kdp_x86_xcpu_func_t)kdp_machine_ioport_write, rq, data);
364 kdp_machine_msr64_read(kdp_readmsr64_req_t *rq, caddr_t data, uint16_t lcpu)
367 uint32_t msr = rq->address;
370 return (int) kdp_x86_xcpu_invoke(lcpu, (kdp_x86_xcpu_func_t)kdp_machine_msr64_read, rq, data);
378 kdp_machine_msr64_write(kdp_writemsr64_req_t *rq, caddr_t data, uint16_t lcpu)
381 uint32_t msr = rq->address;
384 return (int) kdp_x86_xcpu_invoke(lcpu, (kdp_x86_xcpu_func_t)kdp_machine_msr64_write, rq, data);