Home
last modified time | relevance | path

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

/arch/ia64/kernel/
Dbrl_emu.c57 unsigned long bundle[2]; in ia64_emulate_brl() local
70 if (copy_from_user(bundle, (void *) (regs->cr_iip), sizeof(bundle))) in ia64_emulate_brl()
79 if ((bundle[0] & 0x1e) != 0x4) return rv; in ia64_emulate_brl()
81 opcode = (bundle[1] >> 60); in ia64_emulate_brl()
82 btype = ((bundle[1] >> 29) & 0x7); in ia64_emulate_brl()
83 qp = ((bundle[1] >> 23) & 0x3f); in ia64_emulate_brl()
84 offset = ((bundle[1] & 0x0800000000000000L) << 4) in ia64_emulate_brl()
85 | ((bundle[1] & 0x00fffff000000000L) >> 32) in ia64_emulate_brl()
86 | ((bundle[1] & 0x00000000007fffffL) << 40) in ia64_emulate_brl()
87 | ((bundle[0] & 0xffff000000000000L) >> 24); in ia64_emulate_brl()
Dkprobes.c307 bundle_t *bundle = &p->opcode.bundle; in prepare_break_inst() local
317 bundle->quad0.slot0 = break_inst; in prepare_break_inst()
320 bundle->quad0.slot1_p0 = break_inst; in prepare_break_inst()
321 bundle->quad1.slot1_p1 = break_inst >> (64-46); in prepare_break_inst()
324 bundle->quad1.slot2 = break_inst; in prepare_break_inst()
336 static void __kprobes get_kprobe_inst(bundle_t *bundle, uint slot, in get_kprobe_inst() argument
342 template = bundle->quad0.template; in get_kprobe_inst()
346 *major_opcode = (bundle->quad0.slot0 >> SLOT0_OPCODE_SHIFT); in get_kprobe_inst()
347 *kprobe_inst = bundle->quad0.slot0; in get_kprobe_inst()
350 *major_opcode = (bundle->quad1.slot1_p1 >> SLOT1_p1_OPCODE_SHIFT); in get_kprobe_inst()
[all …]
Dmodule.c142 bundle (const struct insn *insn) in bundle() function
211 unsigned char bundle[2][16]; member
232 if (apply_imm64(mod, (struct insn *) (plt->bundle[0] + 2), target_gp) in patch_plt()
233 && apply_imm60(mod, (struct insn *) (plt->bundle[1] + 2), in patch_plt()
234 (target_ip - (int64_t) plt->bundle[1]) / 16)) in patch_plt()
242 uint64_t b0, b1, *b = (uint64_t *) plt->bundle[1]; in plt_target()
249 return (long) plt->bundle[1] + 16*off; in plt_target()
256 unsigned char bundle[3][16]; member
282 if (apply_imm64(mod, (struct insn *) (plt->bundle[0] + 2), target_ip) in patch_plt()
283 && apply_imm64(mod, (struct insn *) (plt->bundle[1] + 2), target_gp)) in patch_plt()
[all …]
Dtraps.c237 fp_emulate (int fp_fault, void *bundle, long *ipsr, long *fpsr, long *isr, long *pr, long *ifs, in fp_emulate() argument
267 ret = (*fpswa_interface->fpswa)((unsigned long) fp_fault, bundle, in fp_emulate()
290 long exception, bundle[2]; in handle_fpu_swa() local
297 if (copy_from_user(bundle, (void __user *) fault_ip, sizeof(bundle))) in handle_fpu_swa()
333 exception = fp_emulate(fp_fault, bundle, &regs->cr_ipsr, &regs->ar_fpsr, &isr, &regs->pr, in handle_fpu_swa()
Dunaligned.c1311 unsigned long bundle[2]; in ia64_handle_unaligned() local
1387 if (__copy_from_user(bundle, (void __user *) regs->cr_iip, 16)) in ia64_handle_unaligned()
1394 case 0: u.l = (bundle[0] >> 5); break; in ia64_handle_unaligned()
1395 case 1: u.l = (bundle[0] >> 46) | (bundle[1] << 18); break; in ia64_handle_unaligned()
1396 case 2: u.l = (bundle[1] >> 23); break; in ia64_handle_unaligned()
/arch/ia64/kvm/
Dmmio.c171 IA64_BUNDLE bundle; in emulate_io_inst() local
181 if (fetch_code(vcpu, regs->cr_iip, &bundle)) { in emulate_io_inst()
187 inst.inst = bundle.slot0; in emulate_io_inst()
189 slot1a = bundle.slot1a; in emulate_io_inst()
190 slot1b = bundle.slot1b; in emulate_io_inst()
193 inst.inst = bundle.slot2; in emulate_io_inst()
319 bundle.i64[0], bundle.i64[1]); in emulate_io_inst()
Dprocess.c445 fpswa_ret_t vmm_fp_emulate(int fp_fault, void *bundle, unsigned long *ipsr, in vmm_fp_emulate() argument
486 ret = (*vmm_fpswa_interface->fpswa) (fp_fault, bundle, in vmm_fp_emulate()
500 IA64_BUNDLE bundle; in vmm_handle_fpu_swa() local
513 if (fetch_code(v, fault_ip, &bundle)) in vmm_handle_fpu_swa()
516 if (!bundle.i64[0] && !bundle.i64[1]) in vmm_handle_fpu_swa()
519 ret = vmm_fp_emulate(fp_fault, &bundle, &regs->cr_ipsr, &regs->ar_fpsr, in vmm_handle_fpu_swa()
/arch/ia64/include/asm/
Dfpswa.h57 typedef fpswa_ret_t (*efi_fpswa_t) (unsigned long trap_type, void *bundle, unsigned long *ipsr,
Dkprobes.h103 bundle_t bundle; member
/arch/blackfin/kernel/
Dkgdb.c752 int kgdb_arch_remove_breakpoint(unsigned long addr, char *bundle) in kgdb_arch_remove_breakpoint() argument
756 if (dma_memcpy((void *)addr, bundle, BREAK_INSTR_SIZE) == NULL) in kgdb_arch_remove_breakpoint()
762 (char *)bundle, BREAK_INSTR_SIZE); in kgdb_arch_remove_breakpoint()