/arch/ia64/kernel/ |
H A D | brl_emu.c | 57 unsigned long bundle[2]; local 67 * Decode the instruction bundle. 70 if (copy_from_user(bundle, (void *) (regs->cr_iip), sizeof(bundle))) 79 if ((bundle[0] & 0x1e) != 0x4) return rv; 81 opcode = (bundle[1] >> 60); 82 btype = ((bundle[1] >> 29) & 0x7); 83 qp = ((bundle[1] >> 23) & 0x3f); 84 offset = ((bundle[1] & 0x0800000000000000L) << 4) 85 | ((bundle[ [all...] |
H A D | traps.c | 162 case 0x3f000 ... 0x3ffff: /* bundle-update in progress */ 237 fp_emulate (int fp_fault, void *bundle, long *ipsr, long *fpsr, long *isr, long *pr, long *ifs, argument 267 ret = (*fpswa_interface->fpswa)((unsigned long) fp_fault, bundle, 290 long exception, bundle[2]; local 297 if (copy_from_user(bundle, (void __user *) fault_ip, sizeof(bundle))) 333 exception = fp_emulate(fp_fault, bundle, ®s->cr_ipsr, ®s->ar_fpsr, &isr, ®s->pr,
|
H A D | kprobes.c | 297 * In this function we override the bundle with 307 bundle_t *bundle = &p->opcode.bundle; local 317 bundle->quad0.slot0 = break_inst; 320 bundle->quad0.slot1_p0 = break_inst; 321 bundle->quad1.slot1_p1 = break_inst >> (64-46); 324 bundle->quad1.slot2 = break_inst; 336 static void __kprobes get_kprobe_inst(bundle_t *bundle, uint slot, argument 342 template = bundle->quad0.template; 346 *major_opcode = (bundle 512 __is_ia64_break_inst(bundle_t *bundle, uint slot) argument 543 can_boost(bundle_t *bundle, uint slot, unsigned long bundle_addr) argument 588 bundle_t *bundle; local 779 bundle_t bundle; local [all...] |
H A D | paravirt_patch.c | 87 bundle_t *bundle = paravirt_get_bundle(tag); local 88 return (unsigned long)(bundle + 1); 97 paravirt_read_slot0(const bundle_t *bundle) argument 100 inst.l = bundle->quad0.slot0; 105 paravirt_read_slot1(const bundle_t *bundle) argument 108 inst.l = bundle->quad0.slot1_p0 | 109 ((unsigned long long)bundle->quad1.slot1_p1 << 18UL); 114 paravirt_read_slot2(const bundle_t *bundle) argument 117 inst.l = bundle->quad1.slot2; 124 bundle_t *bundle local 141 paravirt_write_slot0(bundle_t *bundle, ia64_inst_t inst) argument 147 paravirt_write_slot1(bundle_t *bundle, ia64_inst_t inst) argument 154 paravirt_write_slot2(bundle_t *bundle, ia64_inst_t inst) argument 162 bundle_t *bundle = paravirt_get_bundle(tag); local 184 paravirt_print_bundle(const bundle_t *bundle) argument 223 void *bundle = sbundle; local 382 bundle_t *bundle = paravirt_get_bundle(tag); local 430 bundle_t *bundle = paravirt_get_bundle(tag); local [all...] |
H A D | module.c | 142 bundle (const struct insn *insn) function 214 unsigned char bundle[2][16]; member in struct:plt_entry 235 if (apply_imm64(mod, (struct insn *) (plt->bundle[0] + 2), target_gp) 236 && apply_imm60(mod, (struct insn *) (plt->bundle[1] + 2), 237 (target_ip - (int64_t) plt->bundle[1]) / 16)) 245 uint64_t b0, b1, *b = (uint64_t *) plt->bundle[1]; 252 return (long) plt->bundle[1] + 16*off; 259 unsigned char bundle[3][16]; member in struct:plt_entry 285 if (apply_imm64(mod, (struct insn *) (plt->bundle[0] + 2), target_ip) 286 && apply_imm64(mod, (struct insn *) (plt->bundle[ [all...] |
H A D | unaligned.c | 1296 unsigned long bundle[2]; local 1371 if (__copy_from_user(bundle, (void __user *) regs->cr_iip, 16)) 1375 * extract the instruction from the bundle given the slot number 1378 case 0: u.l = (bundle[0] >> 5); break; 1379 case 1: u.l = (bundle[0] >> 46) | (bundle[1] << 18); break; 1380 case 2: u.l = (bundle[1] >> 23); break; 1511 * bundle. But let's keep it for now.
|
/arch/ia64/kvm/ |
H A D | mmio.c | 171 IA64_BUNDLE bundle; local 181 if (fetch_code(vcpu, regs->cr_iip, &bundle)) { 187 inst.inst = bundle.slot0; 189 slot1a = bundle.slot1a; 190 slot1b = bundle.slot1b; 193 inst.inst = bundle.slot2; 321 bundle.i64[0], bundle.i64[1]);
|
H A D | process.c | 432 fpswa_ret_t vmm_fp_emulate(int fp_fault, void *bundle, unsigned long *ipsr, argument 473 ret = (*vmm_fpswa_interface->fpswa) (fp_fault, bundle, 487 IA64_BUNDLE bundle; local 495 * bundle. 500 if (fetch_code(v, fault_ip, &bundle)) 503 if (!bundle.i64[0] && !bundle.i64[1]) 506 ret = vmm_fp_emulate(fp_fault, &bundle, ®s->cr_ipsr, ®s->ar_fpsr,
|
/arch/tile/kernel/ |
H A D | traps.c | 117 static int special_ill(bundle_bits bundle, int *sigp, int *codep) argument 121 if (bundle == bpt_code) { 127 /* If it's a "raise" bundle, then "ill" must be in pipe X1. */ 129 if ((bundle & TILEGX_BUNDLE_MODE_MASK) != 0) 131 if (get_Opcode_X1(bundle) != RRR_0_OPCODE_X1) 133 if (get_RRROpcodeExtension_X1(bundle) != UNARY_RRR_0_OPCODE_X1) 135 if (get_UnaryOpcodeExtension_X1(bundle) != ILL_UNARY_OPCODE_X1) 138 if (bundle & TILEPRO_BUNDLE_Y_ENCODING_MASK) 140 if (get_Opcode_X1(bundle) != SHUN_0_OPCODE_X1) 142 if (get_UnShOpcodeExtension_X1(bundle) ! [all...] |
H A D | single_step.c | 112 tile_bundle_bits bundle, 121 if (bundle & TILEPRO_BUNDLE_Y_ENCODING_MASK) { 122 addr_reg = get_SrcA_Y2(bundle); 123 val_reg = get_SrcBDest_Y2(bundle); 125 addr_reg = get_SrcA_X1(bundle); 126 val_reg = get_Dest_X1(bundle); 128 addr_reg = get_SrcA_X1(bundle); 129 val_reg = get_SrcB_X1(bundle); 149 return bundle; 154 return bundle; 110 rewrite_load_store_unaligned( struct single_step_state *state, tile_bundle_bits bundle, struct pt_regs *regs, enum mem_op mem_op, int size, int sign_ext) argument 307 tile_bundle_bits bundle; local [all...] |
H A D | backtrace.c | 51 /* A decoded bundle used for backtracer analysis. */ 60 /* Locates an instruction inside the given bundle that 65 const struct BacktraceBundle *bundle, 73 for (i = 0; i < bundle->num_insns; i++) { 75 &bundle->insns[i]; 95 /* Does this bundle contain an 'iret' instruction? */ 96 static inline bool bt_has_iret(const struct BacktraceBundle *bundle) argument 98 return find_matching_insn(bundle, TILE_OPC_IRET, NULL, 0) != NULL; 101 /* Does this bundle contain an 'addi sp, sp, OFFSET' or 104 static bool bt_has_addi_sp(const struct BacktraceBundle *bundle, in argument 64 find_matching_insn( const struct BacktraceBundle *bundle, tile_mnemonic mnemonic, const int *operand_values, int num_operands_to_match) argument 130 bt_get_info_ops(const struct BacktraceBundle *bundle, int operands[MAX_INFO_OPS_PER_BUNDLE]) argument 152 bt_has_jrp(const struct BacktraceBundle *bundle, int *target_reg) argument 164 bt_modifies_reg(const struct BacktraceBundle *bundle, int reg) argument 184 bt_modifies_sp(const struct BacktraceBundle *bundle) argument 190 bt_modifies_lr(const struct BacktraceBundle *bundle) argument 196 bt_has_move_r52_sp(const struct BacktraceBundle *bundle) argument 203 bt_has_sw_sp_lr(const struct BacktraceBundle *bundle) argument 211 bt_update_moveli(const struct BacktraceBundle *bundle, int moveli_args[]) argument 230 bt_has_add_sp(const struct BacktraceBundle *bundle, int *adjust, int moveli_args[]) argument 299 struct BacktraceBundle bundle; local [all...] |
/arch/ia64/include/asm/ |
H A D | kprobes.h | 103 bundle_t bundle; member in struct:kprobe_opcode
|