Lines Matching refs:arch

157 	utrap.sepc = vcpu->arch.guest_context.sepc;
173 utrap.sepc = vcpu->arch.guest_context.sepc;
234 if (vcpu->arch.csr_decode.return_handled)
236 vcpu->arch.csr_decode.return_handled = 1;
239 insn = vcpu->arch.csr_decode.insn;
241 SET_RD(insn, &vcpu->arch.guest_context,
245 vcpu->arch.guest_context.sepc += INSN_LEN(insn);
255 ulong rs1_val = GET_RS1(insn, &vcpu->arch.guest_context);
290 vcpu->arch.csr_decode.insn = insn;
291 vcpu->arch.csr_decode.return_handled = 0;
390 vcpu->arch.guest_context.sepc += INSN_LEN(insn);
419 ct = &vcpu->arch.guest_context;
461 struct kvm_cpu_context *ct = &vcpu->arch.guest_context;
536 vcpu->arch.mmio_decode.insn = insn;
537 vcpu->arch.mmio_decode.insn_len = insn_len;
538 vcpu->arch.mmio_decode.shift = shift;
539 vcpu->arch.mmio_decode.len = len;
540 vcpu->arch.mmio_decode.return_handled = 0;
587 struct kvm_cpu_context *ct = &vcpu->arch.guest_context;
613 data = GET_RS2(insn, &vcpu->arch.guest_context);
629 data64 = GET_RS2S(insn, &vcpu->arch.guest_context);
633 data64 = GET_RS2C(insn, &vcpu->arch.guest_context);
637 data32 = GET_RS2S(insn, &vcpu->arch.guest_context);
641 data32 = GET_RS2C(insn, &vcpu->arch.guest_context);
651 vcpu->arch.mmio_decode.insn = insn;
652 vcpu->arch.mmio_decode.insn_len = insn_len;
653 vcpu->arch.mmio_decode.shift = 0;
654 vcpu->arch.mmio_decode.len = len;
655 vcpu->arch.mmio_decode.return_handled = 0;
712 if (vcpu->arch.mmio_decode.return_handled)
715 vcpu->arch.mmio_decode.return_handled = 1;
716 insn = vcpu->arch.mmio_decode.insn;
721 len = vcpu->arch.mmio_decode.len;
722 shift = vcpu->arch.mmio_decode.shift;
727 SET_RD(insn, &vcpu->arch.guest_context,
732 SET_RD(insn, &vcpu->arch.guest_context,
737 SET_RD(insn, &vcpu->arch.guest_context,
742 SET_RD(insn, &vcpu->arch.guest_context,
751 vcpu->arch.guest_context.sepc += vcpu->arch.mmio_decode.insn_len;