• Home
  • Raw
  • Download

Lines Matching refs:pc

223 		srcu = (unsigned char __user *)regs->pc;  in handle_unaligned_ins()
240 srcu = (unsigned char __user *)(regs->pc & ~0x3); in handle_unaligned_ins()
270 void __user *addr = (void __user *)(regs->pc + in handle_delayslot()
338 regs->pc = regs->pr; in handle_unaligned_access()
344 regs->pc += rm + 4; in handle_unaligned_access()
350 regs->pr = regs->pc + 4; in handle_unaligned_access()
351 regs->pc += rm + 4; in handle_unaligned_access()
371 regs->pc = rm; in handle_unaligned_access()
377 regs->pr = regs->pc + 4; in handle_unaligned_access()
378 regs->pc = rm; in handle_unaligned_access()
407 regs->pc += 4; /* next after slot */ in handle_unaligned_access()
410 regs->pc += SH_PC_8BIT_OFFSET(instruction); in handle_unaligned_access()
421 regs->pc += 4; /* next after slot */ in handle_unaligned_access()
424 regs->pc += SH_PC_8BIT_OFFSET(instruction); in handle_unaligned_access()
436 regs->pc += SH_PC_12BIT_OFFSET(instruction); in handle_unaligned_access()
442 regs->pr = regs->pc + 4; in handle_unaligned_access()
443 regs->pc += SH_PC_12BIT_OFFSET(instruction); in handle_unaligned_access()
456 regs->pc += instruction_size(instruction); in handle_unaligned_access()
493 if (copy_from_user(&instruction, (insn_size_t *)(regs->pc & ~1), in do_address_error()
510 regs->pc += instruction_size(instruction); in do_address_error()
516 if (regs->pc & 1) { in do_address_error()
531 "access (PC %lx PR %lx)\n", current->comm, regs->pc, in do_address_error()
538 if (regs->pc & 1) in do_address_error()
542 if (copy_from_user(&instruction, (void __user *)(regs->pc), in do_address_error()
574 get_user(inst, ((unsigned short *) regs->pc)); in is_dsp_inst()
617 get_user(inst, (unsigned short*)regs->pc); in do_reserved_inst()
621 regs->pc += instruction_size(inst); in do_reserved_inst()
662 regs->pr = regs->pc + 4; in emulate_branch()
665 regs->pc += SH_PC_8BIT_OFFSET(inst); in emulate_branch()
670 regs->pc += SH_PC_12BIT_OFFSET(inst); in emulate_branch()
675 regs->pc += regs->regs[(inst & 0x0f00) >> 8] + 4; in emulate_branch()
680 regs->pc = regs->regs[(inst & 0x0f00) >> 8]; in emulate_branch()
685 regs->pc = regs->pr; in emulate_branch()
698 if (kprobe_handle_illslot(regs->pc) == 0) in do_illegal_slot_inst()
702 get_user(inst, (unsigned short *)regs->pc + 1); in do_illegal_slot_inst()
704 get_user(inst, (unsigned short *)regs->pc); in do_illegal_slot_inst()