Searched refs:linux_regs (Results 1 – 7 of 7) sorted by relevance
47 static short *get_step_address(struct pt_regs *linux_regs) in get_step_address() argument49 insn_size_t op = __raw_readw(linux_regs->pc); in get_step_address()54 if (linux_regs->sr & SR_T_BIT_MASK) in get_step_address()55 addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); in get_step_address()57 addr = linux_regs->pc + 2; in get_step_address()62 if (linux_regs->sr & SR_T_BIT_MASK) in get_step_address()63 addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); in get_step_address()65 addr = linux_regs->pc + 4; /* Not in delay slot */ in get_step_address()70 if (!(linux_regs->sr & SR_T_BIT_MASK)) in get_step_address()71 addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); in get_step_address()[all …]
109 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument119 linux_regs->pc = addr; in kgdb_arch_handle_exception()120 linux_regs->npc = addr + 4; in kgdb_arch_handle_exception()126 if (linux_regs->pc == (unsigned long) arch_kgdb_breakpoint) { in kgdb_arch_handle_exception()127 linux_regs->pc = linux_regs->npc; in kgdb_arch_handle_exception()128 linux_regs->npc += 4; in kgdb_arch_handle_exception()
134 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument144 linux_regs->tpc = addr; in kgdb_arch_handle_exception()145 linux_regs->tnpc = addr + 4; in kgdb_arch_handle_exception()151 if (linux_regs->tpc == (unsigned long) arch_kgdb_breakpoint) { in kgdb_arch_handle_exception()152 linux_regs->tpc = linux_regs->tnpc; in kgdb_arch_handle_exception()153 linux_regs->tnpc += 4; in kgdb_arch_handle_exception()
116 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument133 linux_regs->ARM_pc = addr; in kgdb_arch_handle_exception()135 linux_regs->ARM_pc += 4; in kgdb_arch_handle_exception()
387 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument401 linux_regs->nip = addr; in kgdb_arch_handle_exception()409 linux_regs->msr |= MSR_DE; in kgdb_arch_handle_exception()411 linux_regs->msr |= MSR_SE; in kgdb_arch_handle_exception()
463 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument474 linux_regs->ip = addr; in kgdb_arch_handle_exception()478 linux_regs->flags &= ~X86_EFLAGS_TF; in kgdb_arch_handle_exception()483 linux_regs->flags |= X86_EFLAGS_TF; in kgdb_arch_handle_exception()
183 struct pt_regs *linux_regs) in kgdb_arch_handle_exception() argument