Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/mips/kvm/
Ddyntrans.c100 union mips_instruction mfc0_inst = { 0 }; in kvm_mips_trans_mfc0() local
107 mfc0_inst.r_format.opcode = spec_op; in kvm_mips_trans_mfc0()
108 mfc0_inst.r_format.rd = inst.c0r_format.rt; in kvm_mips_trans_mfc0()
109 mfc0_inst.r_format.func = add_op; in kvm_mips_trans_mfc0()
111 mfc0_inst.i_format.opcode = lw_op; in kvm_mips_trans_mfc0()
112 mfc0_inst.i_format.rt = inst.c0r_format.rt; in kvm_mips_trans_mfc0()
113 mfc0_inst.i_format.simmediate = KVM_GUEST_COMMPAGE_ADDR | in kvm_mips_trans_mfc0()
117 mfc0_inst.i_format.simmediate |= 4; in kvm_mips_trans_mfc0()
121 return kvm_mips_trans_replace(vcpu, opc, mfc0_inst); in kvm_mips_trans_mfc0()