Lines Matching refs:rsp
342 static void put_response(vm_event_t *vm_event, vm_event_response_t *rsp) in put_response() argument
351 memcpy(RING_GET_RESPONSE(back_ring, rsp_prod), rsp, sizeof(*rsp)); in put_response()
380 vm_event_response_t rsp; in main() local
723 memset( &rsp, 0, sizeof (rsp) ); in main()
724 rsp.version = VM_EVENT_INTERFACE_VERSION; in main()
725 rsp.vcpu_id = req.vcpu_id; in main()
726 rsp.flags = (req.flags & VM_EVENT_FLAG_VCPU_PAUSED); in main()
727 rsp.reason = req.reason; in main()
766 rsp.flags |= (VM_EVENT_FLAG_ALTERNATE_P2M | VM_EVENT_FLAG_TOGGLE_SINGLESTEP); in main()
767 rsp.altp2m_idx = 0; in main()
782 rsp.u.mem_access = req.u.mem_access; in main()
807 rsp.data.regs.arm = req.data.regs.arm; in main()
808 rsp.data.regs.arm.pc += 4; in main()
809 rsp.flags |= VM_EVENT_FLAG_SET_REGISTERS; in main()
821 rsp.flags |= VM_EVENT_FLAG_ALTERNATE_P2M; in main()
822 rsp.altp2m_idx = altp2m_view_id; in main()
825 rsp.flags |= VM_EVENT_FLAG_TOGGLE_SINGLESTEP; in main()
862 rsp.flags |= VM_EVENT_FLAG_SET_REGISTERS; in main()
863 rsp.data = req.data; in main()
864 rsp.data.regs.x86.rip += req.u.cpuid.insn_length; in main()
874 rsp.flags |= VM_EVENT_FLAG_EMULATE; in main()
890 rsp.flags |= (VM_EVENT_FLAG_ALTERNATE_P2M | in main()
892 rsp.altp2m_idx = 0; in main()
900 put_response(&xenaccess->vm_event, &rsp); in main()