/arch/mips/kvm/ |
D | dyntrans.c | 31 int kvm_mips_trans_cache_index(uint32_t inst, uint32_t *opc, in kvm_mips_trans_cache_index() argument 41 (vcpu, (unsigned long) opc)); in kvm_mips_trans_cache_index() 52 int kvm_mips_trans_cache_va(uint32_t inst, uint32_t *opc, in kvm_mips_trans_cache_va() argument 66 (vcpu, (unsigned long) opc)); in kvm_mips_trans_cache_va() 73 int kvm_mips_trans_mfc0(uint32_t inst, uint32_t *opc, struct kvm_vcpu *vcpu) in kvm_mips_trans_mfc0() argument 95 if (KVM_GUEST_KSEGX(opc) == KVM_GUEST_KSEG0) { in kvm_mips_trans_mfc0() 98 (vcpu, (unsigned long) opc)); in kvm_mips_trans_mfc0() 101 } else if (KVM_GUEST_KSEGX((unsigned long) opc) == KVM_GUEST_KSEG23) { in kvm_mips_trans_mfc0() 103 memcpy((void *)opc, (void *)&mfc0_inst, sizeof(uint32_t)); in kvm_mips_trans_mfc0() 104 local_flush_icache_range((unsigned long)opc, in kvm_mips_trans_mfc0() [all …]
|
D | trap_emul.c | 43 uint32_t __user *opc = (uint32_t __user *) vcpu->arch.pc; in kvm_trap_emul_handle_cop_unusable() local 49 er = kvm_mips_emulate_fpu_exc(cause, opc, run, vcpu); in kvm_trap_emul_handle_cop_unusable() 51 er = kvm_mips_emulate_inst(cause, opc, run, vcpu); in kvm_trap_emul_handle_cop_unusable() 77 uint32_t __user *opc = (uint32_t __user *) vcpu->arch.pc; in kvm_trap_emul_handle_tlb_mod() local 86 cause, opc, badvaddr); in kvm_trap_emul_handle_tlb_mod() 87 er = kvm_mips_handle_tlbmod(cause, opc, run, vcpu); in kvm_trap_emul_handle_tlb_mod() 102 cause, opc, badvaddr); in kvm_trap_emul_handle_tlb_mod() 109 cause, opc, badvaddr); in kvm_trap_emul_handle_tlb_mod() 121 uint32_t __user *opc = (uint32_t __user *) vcpu->arch.pc; in kvm_trap_emul_handle_tlb_st_miss() local 136 cause, opc, badvaddr); in kvm_trap_emul_handle_tlb_st_miss() [all …]
|
D | emulate.c | 898 enum emulation_result kvm_mips_emulate_CP0(uint32_t inst, uint32_t *opc, in kvm_mips_emulate_CP0() argument 962 kvm_mips_trans_mfc0(inst, opc, vcpu); in kvm_mips_emulate_CP0() 968 kvm_mips_trans_mfc0(inst, opc, vcpu); in kvm_mips_emulate_CP0() 1045 kvm_mips_trans_mtc0(inst, opc, vcpu); in kvm_mips_emulate_CP0() 1065 kvm_mips_trans_mtc0(inst, opc, vcpu); in kvm_mips_emulate_CP0() 1398 enum emulation_result kvm_mips_emulate_cache(uint32_t inst, uint32_t *opc, in kvm_mips_emulate_cache() argument 1451 kvm_mips_trans_cache_index(inst, opc, vcpu); in kvm_mips_emulate_cache() 1525 kvm_mips_trans_cache_va(inst, opc, vcpu); in kvm_mips_emulate_cache() 1533 kvm_mips_trans_cache_va(inst, opc, vcpu); in kvm_mips_emulate_cache() 1552 enum emulation_result kvm_mips_emulate_inst(unsigned long cause, uint32_t *opc, in kvm_mips_emulate_inst() argument [all …]
|
D | tlb.c | 766 uint32_t kvm_get_inst(uint32_t *opc, struct kvm_vcpu *vcpu) in kvm_get_inst() argument 773 if (KVM_GUEST_KSEGX((unsigned long) opc) < KVM_GUEST_KSEG0 || in kvm_get_inst() 774 KVM_GUEST_KSEGX((unsigned long) opc) == KVM_GUEST_KSEG23) { in kvm_get_inst() 776 index = kvm_mips_host_tlb_lookup(vcpu, (unsigned long) opc); in kvm_get_inst() 778 inst = *(opc); in kvm_get_inst() 780 vpn2 = (unsigned long) opc & VPN2_MASK; in kvm_get_inst() 785 __func__, opc, vcpu, read_c0_entryhi()); in kvm_get_inst() 794 inst = *(opc); in kvm_get_inst() 797 } else if (KVM_GUEST_KSEGX(opc) == KVM_GUEST_KSEG0) { in kvm_get_inst() 800 (unsigned long) opc); in kvm_get_inst() [all …]
|
D | mips.c | 1016 uint32_t __user *opc = (uint32_t __user *) vcpu->arch.pc; in kvm_mips_handle_exit() local 1037 cause, opc, run, vcpu); in kvm_mips_handle_exit() 1043 er = kvm_mips_check_privilege(cause, opc, run, vcpu); in kvm_mips_handle_exit() 1054 kvm_debug("[%d]T_INT @ %p\n", vcpu->vcpu_id, opc); in kvm_mips_handle_exit() 1066 kvm_debug("T_COP_UNUSABLE: @ PC: %p\n", opc); in kvm_mips_handle_exit() 1084 cause, kvm_read_c0_guest_status(vcpu->arch.cop0), opc, in kvm_mips_handle_exit() 1094 cause, opc, badvaddr); in kvm_mips_handle_exit() 1137 exccode, opc, kvm_get_inst(opc, vcpu), badvaddr, in kvm_mips_handle_exit()
|
/arch/mn10300/kernel/ |
D | kprobes.c | 133 u8 opc, *pc, *sp, *next; in find_nextpc() local 140 opc = *pc; in find_nextpc() 142 size = mn10300_insn_sizes[opc]; in find_nextpc() 146 switch (opc) { in find_nextpc() 150 if (cond_table[regs->epsw & 0xf] & (1 << (opc & 0xf))) in find_nextpc() 190 opc = pc[1]; in find_nextpc() 191 if (opc >= 0xf0 && opc <= 0xf7) { in find_nextpc() 193 switch (opc & 3) { in find_nextpc() 209 } else if (opc == 0xfc) { in find_nextpc() 215 } else if (opc == 0xfd) { in find_nextpc() [all …]
|
/arch/s390/math-emu/ |
D | math.c | 1916 __u32 opc; in math_emu_ed() local 1919 opc = *((__u32 *) opcode); in math_emu_ed() 1920 dxb = (__u64 *) calc_addr(regs, opc >> 16, opc >> 12, opc); in math_emu_ed() 1931 __u32 opc; in math_emu_ed() local 1934 opc = *((__u32 *) opcode); in math_emu_ed() 1935 dxb = (__u32 *) calc_addr(regs, opc >> 16, opc >> 12, opc); in math_emu_ed() 1946 __u32 opc; in math_emu_ed() local 1950 opc = *((__u32 *) opcode); in math_emu_ed() 1951 dxb = (__u64 *) calc_addr(regs, opc >> 16, opc >> 12, opc); in math_emu_ed() 1962 __u32 opc; in math_emu_ed() local [all …]
|
/arch/mips/include/asm/ |
D | kvm_host.h | 630 uint32_t *opc, 635 uint32_t *opc, 658 uint32_t kvm_get_inst(uint32_t *opc, struct kvm_vcpu *vcpu); 662 uint32_t *opc, 667 uint32_t *opc, 672 uint32_t *opc, 677 uint32_t *opc, 682 uint32_t *opc, 687 uint32_t *opc, 692 uint32_t *opc, [all …]
|
/arch/powerpc/xmon/ |
D | Makefile | 12 obj-y += ppc-dis.o ppc-opc.o 13 obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o
|
/arch/mips/mm/ |
D | uasm-micromips.c | 150 static void build_insn(u32 **buf, enum opcode opc, ...) in build_insn() argument 158 if (insn_table_MM[i].opcode == opc) { in build_insn() 163 if (!ip || (opc == insn_daddiu && r4k_daddiu_bug())) in build_insn() 164 panic("Unsupported Micro-assembler instruction %d", opc); in build_insn() 167 va_start(ap, opc); in build_insn() 169 if (opc == insn_mfc0 || opc == insn_mtc0) in build_insn() 175 if (opc == insn_mfc0 || opc == insn_mtc0) in build_insn()
|
D | uasm-mips.c | 183 static void build_insn(u32 **buf, enum opcode opc, ...) in build_insn() argument 191 if (insn_table[i].opcode == opc) { in build_insn() 196 if (!ip || (opc == insn_daddiu && r4k_daddiu_bug())) in build_insn() 197 panic("Unsupported Micro-assembler instruction %d", opc); in build_insn() 200 va_start(ap, opc); in build_insn()
|
D | uasm.c | 144 static void build_insn(u32 **buf, enum opcode opc, ...);
|
/arch/mips/include/asm/octeon/ |
D | cvmx-srxx-defs.h | 132 uint64_t opc:4; member 136 uint64_t opc:4;
|
D | cvmx-iob-defs.h | 473 uint64_t opc:4; member 479 uint64_t opc:4; 510 uint64_t opc:4; member 516 uint64_t opc:4;
|
/arch/ia64/kernel/ |
D | unwind.c | 1359 enum unw_insn_opcode opc; in emit_nat_info() local 1367 opc = UNW_INSN_SETNAT_TYPE; in emit_nat_info() 1371 opc = UNW_INSN_SETNAT_MEMSTK; in emit_nat_info() 1375 opc = UNW_INSN_SETNAT_TYPE; in emit_nat_info() 1380 opc = UNW_INSN_SETNAT_TYPE; in emit_nat_info() 1386 opc = UNW_INSN_SETNAT_MEMSTK; in emit_nat_info() 1394 insn.opc = opc; in emit_nat_info() 1404 enum unw_insn_opcode opc; in compile_reg() local 1412 opc = UNW_INSN_MOVE; in compile_reg() 1419 opc = UNW_INSN_MOVE_STACKED; in compile_reg() [all …]
|
D | unwind_i.h | 140 unsigned int opc : 4; member
|
/arch/x86/kernel/ |
D | kgdb.c | 748 char opc[BREAK_INSTR_SIZE]; in kgdb_arch_set_breakpoint() local 767 err = probe_kernel_read(opc, (char *)bpt->bpt_addr, BREAK_INSTR_SIZE); in kgdb_arch_set_breakpoint() 770 if (memcmp(opc, arch_kgdb_ops.gdb_bpt_instr, BREAK_INSTR_SIZE)) in kgdb_arch_set_breakpoint() 780 char opc[BREAK_INSTR_SIZE]; in kgdb_arch_remove_breakpoint() local 791 err = probe_kernel_read(opc, (char *)bpt->bpt_addr, BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint() 792 if (err || memcmp(opc, bpt->saved_instr, BREAK_INSTR_SIZE)) in kgdb_arch_remove_breakpoint()
|
/arch/tile/kernel/ |
D | tile-desc_64.c | 2182 const struct tilegx_opcode *opc; in parse_insn_tilegx() local 2187 opc = find_opcode (bits, tilegx_bundle_decoder_fsms[pipe]); in parse_insn_tilegx() 2188 d->opcode = opc; in parse_insn_tilegx() 2191 for (i = 0; i < opc->num_operands; i++) in parse_insn_tilegx() 2194 &tilegx_operands[opc->operands[pipe][i]]; in parse_insn_tilegx()
|
D | tile-desc_32.c | 2570 const struct tilepro_opcode *opc; in parse_insn_tilepro() local 2575 opc = find_opcode (bits, (tilepro_pipeline)pipe); in parse_insn_tilepro() 2576 d->opcode = opc; in parse_insn_tilepro() 2579 for (i = 0; i < opc->num_operands; i++) in parse_insn_tilepro() 2582 &tilepro_operands[opc->operands[pipe][i]]; in parse_insn_tilepro()
|