• Home
  • Raw
  • Download

Lines Matching refs:pc

224 		srcu = (unsigned char __user *)regs->pc;  in handle_unaligned_ins()
241 srcu = (unsigned char __user *)(regs->pc & ~0x3); in handle_unaligned_ins()
271 void __user *addr = (void __user *)(regs->pc + in handle_delayslot()
339 regs->pc = regs->pr; in handle_unaligned_access()
345 regs->pc += rm + 4; in handle_unaligned_access()
351 regs->pr = regs->pc + 4; in handle_unaligned_access()
352 regs->pc += rm + 4; in handle_unaligned_access()
372 regs->pc = rm; in handle_unaligned_access()
378 regs->pr = regs->pc + 4; in handle_unaligned_access()
379 regs->pc = rm; in handle_unaligned_access()
408 regs->pc += 4; /* next after slot */ in handle_unaligned_access()
411 regs->pc += SH_PC_8BIT_OFFSET(instruction); in handle_unaligned_access()
422 regs->pc += 4; /* next after slot */ in handle_unaligned_access()
425 regs->pc += SH_PC_8BIT_OFFSET(instruction); in handle_unaligned_access()
437 regs->pc += SH_PC_12BIT_OFFSET(instruction); in handle_unaligned_access()
443 regs->pr = regs->pc + 4; in handle_unaligned_access()
444 regs->pc += SH_PC_12BIT_OFFSET(instruction); in handle_unaligned_access()
457 regs->pc += instruction_size(instruction); in handle_unaligned_access()
497 if (copy_from_user(&instruction, (insn_size_t *)(regs->pc & ~1), in do_address_error()
514 regs->pc += instruction_size(instruction); in do_address_error()
520 if (regs->pc & 1) { in do_address_error()
535 "access (PC %lx PR %lx)\n", current->comm, regs->pc, in do_address_error()
546 if (regs->pc & 1) in do_address_error()
550 if (copy_from_user(&instruction, (void __user *)(regs->pc), in do_address_error()
582 get_user(inst, ((unsigned short *) regs->pc)); in is_dsp_inst()
625 get_user(inst, (unsigned short*)regs->pc); in do_reserved_inst()
629 regs->pc += instruction_size(inst); in do_reserved_inst()
670 regs->pr = regs->pc + 4; in emulate_branch()
673 regs->pc += SH_PC_8BIT_OFFSET(inst); in emulate_branch()
678 regs->pc += SH_PC_12BIT_OFFSET(inst); in emulate_branch()
683 regs->pc += regs->regs[(inst & 0x0f00) >> 8] + 4; in emulate_branch()
688 regs->pc = regs->regs[(inst & 0x0f00) >> 8]; in emulate_branch()
693 regs->pc = regs->pr; in emulate_branch()
707 if (kprobe_handle_illslot(regs->pc) == 0) in do_illegal_slot_inst()
711 get_user(inst, (unsigned short *)regs->pc + 1); in do_illegal_slot_inst()
713 get_user(inst, (unsigned short *)regs->pc); in do_illegal_slot_inst()