Lines Matching refs:pc
241 srcu = (unsigned char __user *)regs->pc; in handle_unaligned_ins()
258 srcu = (unsigned char __user *)(regs->pc & ~0x3); in handle_unaligned_ins()
288 void __user *addr = (void __user *)(regs->pc + in handle_delayslot()
356 regs->pc = regs->pr; in handle_unaligned_access()
362 regs->pc += rm + 4; in handle_unaligned_access()
368 regs->pr = regs->pc + 4; in handle_unaligned_access()
369 regs->pc += rm + 4; in handle_unaligned_access()
389 regs->pc = rm; in handle_unaligned_access()
395 regs->pr = regs->pc + 4; in handle_unaligned_access()
396 regs->pc = rm; in handle_unaligned_access()
425 regs->pc += 4; /* next after slot */ in handle_unaligned_access()
428 regs->pc += SH_PC_8BIT_OFFSET(instruction); in handle_unaligned_access()
439 regs->pc += 4; /* next after slot */ in handle_unaligned_access()
442 regs->pc += SH_PC_8BIT_OFFSET(instruction); in handle_unaligned_access()
454 regs->pc += SH_PC_12BIT_OFFSET(instruction); in handle_unaligned_access()
460 regs->pr = regs->pc + 4; in handle_unaligned_access()
461 regs->pc += SH_PC_12BIT_OFFSET(instruction); in handle_unaligned_access()
474 regs->pc += instruction_size(instruction); in handle_unaligned_access()
509 if (copy_from_user(&instruction, (insn_size_t __user *)(regs->pc & ~1), in do_address_error()
524 regs->pc += instruction_size(instruction); in do_address_error()
530 if (regs->pc & 1) { in do_address_error()
543 "access (PC %lx PR %lx)\n", current->comm, regs->pc, in do_address_error()
550 if (regs->pc & 1) in do_address_error()
553 if (copy_from_kernel_nofault(&instruction, (void *)(regs->pc), in do_address_error()
583 get_user(inst, ((unsigned short *) regs->pc)); in is_dsp_inst()
626 get_user(inst, (unsigned short __user *)regs->pc); in do_reserved_inst()
630 regs->pc += instruction_size(inst); in do_reserved_inst()
671 regs->pr = regs->pc + 4; in emulate_branch()
674 regs->pc += SH_PC_8BIT_OFFSET(inst); in emulate_branch()
679 regs->pc += SH_PC_12BIT_OFFSET(inst); in emulate_branch()
684 regs->pc += regs->regs[(inst & 0x0f00) >> 8] + 4; in emulate_branch()
689 regs->pc = regs->regs[(inst & 0x0f00) >> 8]; in emulate_branch()
694 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 __user *)regs->pc + 1); in do_illegal_slot_inst()
713 get_user(inst, (unsigned short __user *)regs->pc); in do_illegal_slot_inst()