Home
last modified time | relevance | path

Searched refs:ARM_pc (Results 1 – 25 of 37) sorted by relevance

12

/arch/arm/probes/kprobes/
Dactions-thumb.c27 unsigned long pc = regs->ARM_pc; in t32_simulate_table_branch()
40 regs->ARM_pc = pc + 2 * halfwords; in t32_simulate_table_branch()
56 unsigned long pc = regs->ARM_pc; in t32_simulate_cond_branch()
64 regs->ARM_pc = pc + (offset * 2); in t32_simulate_cond_branch()
81 unsigned long pc = regs->ARM_pc; in t32_simulate_branch()
94 regs->ARM_lr = regs->ARM_pc | 1; in t32_simulate_branch()
102 regs->ARM_pc = pc + (offset * 2); in t32_simulate_branch()
109 unsigned long addr = regs->ARM_pc & ~3; in t32_simulate_ldr_literal()
161 unsigned long pc = regs->ARM_pc & ~3; in t32_emulate_ldrdstrd()
241 unsigned long pc = regs->ARM_pc; in t32_emulate_rd8pc16_noflags()
[all …]
Dactions-common.c64 unsigned long addr = regs->ARM_pc - 4; in simulate_stm1_pc()
66 regs->ARM_pc = (long)addr + str_pc_offset; in simulate_stm1_pc()
68 regs->ARM_pc = (long)addr + 4; in simulate_stm1_pc()
76 load_write_pc(regs->ARM_pc, regs); in simulate_ldm1_pc()
121 load_write_pc(regs->ARM_pc, regs); in emulate_ldm_r3_15()
Dcore.c213 regs->ARM_pc += 4; in singlestep_skip()
215 regs->ARM_pc += 2; in singlestep_skip()
217 regs->ARM_pc += 4; in singlestep_skip()
248 p = get_kprobe((kprobe_opcode_t *)(regs->ARM_pc | 1)); in kprobe_handler()
250 p = get_kprobe((kprobe_opcode_t *)regs->ARM_pc); in kprobe_handler()
253 p = get_kprobe((kprobe_opcode_t *)regs->ARM_pc); in kprobe_handler()
344 regs->ARM_pc = (long)cur->addr; in kprobe_fault_handler()
Dactions-arm.c72 unsigned long pc = regs->ARM_pc + 4; in emulate_ldrdstrd()
101 unsigned long pc = regs->ARM_pc + 4; in emulate_ldr()
131 unsigned long rtpc = regs->ARM_pc - 4 + str_pc_offset; in emulate_str()
132 unsigned long rnpc = regs->ARM_pc + 4; in emulate_str()
158 unsigned long pc = regs->ARM_pc + 4; in emulate_rd12rn16rm0rs8_rwflags()
/arch/arm/probes/
Ddecode-arm.c56 long iaddr = (long) regs->ARM_pc - 4; in simulate_bbl()
62 regs->ARM_pc = iaddr + 8 + disp; in simulate_bbl()
68 long iaddr = (long) regs->ARM_pc - 4; in simulate_blx1()
72 regs->ARM_pc = iaddr + 8 + disp + ((insn >> 23) & 0x2); in simulate_blx1()
83 regs->ARM_lr = (long) regs->ARM_pc; in simulate_blx2bx()
85 regs->ARM_pc = rmv & ~0x1; in simulate_blx2bx()
703 regs->ARM_pc += 4; in arm_singlestep()
Ddecode.h50 regs->ARM_pc = pcv; in bx_write_pc()
73 regs->ARM_pc = pcv; in load_write_pc()
101 regs->ARM_pc = pcv; in alu_write_pc()
Ddecode-thumb.c847 regs->ARM_pc += 2; in thumb16_singlestep()
856 regs->ARM_pc += 4; in thumb32_singlestep()
/arch/arm/kernel/
Dtime.c48 if (!in_lock_functions(regs->ARM_pc)) in profile_pc()
49 return regs->ARM_pc; in profile_pc()
Dkgdb.c38 { "pc", 4, offsetof(struct pt_regs, ARM_pc)},
105 regs->ARM_pc = pc; in kgdb_arch_set_pc()
130 linux_regs->ARM_pc = addr; in kgdb_arch_handle_exception()
132 linux_regs->ARM_pc += 4; in kgdb_arch_handle_exception()
Dsignal.c201 regs->ARM_pc = context.arm_pc; in restore_sigframe()
310 .arm_pc = regs->ARM_pc, in setup_sigframe()
479 regs->ARM_pc = handler; in setup_return()
588 continue_addr = regs->ARM_pc; in do_signal()
605 regs->ARM_pc = restart_addr; in do_signal()
621 if (unlikely(restart) && regs->ARM_pc == restart_addr) { in do_signal()
627 regs->ARM_pc = continue_addr; in do_signal()
634 if (unlikely(restart) && regs->ARM_pc == restart_addr) { in do_signal()
635 regs->ARM_pc = continue_addr; in do_signal()
Dswp_emulate.c164 perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, regs->ARM_pc); in swp_handler()
172 regs->ARM_pc += 4; in swp_handler()
212 regs->ARM_pc += 4; in swp_handler()
Dstacktrace.c121 trace->entries[trace->nr_entries++] = regs->ARM_pc; in save_trace()
175 frame.pc = regs->ARM_pc; in save_stack_trace_regs()
Dperf_callchain.c73 perf_callchain_store(entry, regs->ARM_pc); in perf_callchain_user()
Dtraps.c364 bug_type = report_bug(regs->ARM_pc, regs); in die()
615 regs->ARM_pc -= thumb_mode(regs) ? 2 : 4; in arm_syscall()
702 regs->ARM_pc += 4; in get_tp_trap()
/arch/arm/include/asm/
Dprocessor.h77 regs->ARM_pc = pc & ~1; /* pc */ \
92 #define KSTK_EIP(tsk) task_pt_regs(tsk)->ARM_pc
Dperf_event.h19 (regs)->ARM_pc = (__ip); \
Dstacktrace.h24 frame->pc = regs->ARM_pc; in arm_get_current_stackframe()
Dkexec.h49 : [_ARM_pc] "=r" (newregs->ARM_pc), in crash_setup_regs()
Dptrace.h92 #define instruction_pointer(regs) (regs)->ARM_pc
/arch/arm/probes/uprobes/
Dcore.c39 regs->ARM_pc += 4; in arch_uprobe_ignore()
142 regs->ARM_pc = utask->xol_vaddr; in arch_uprobe_pre_xol()
154 regs->ARM_pc = utask->vaddr + 4; in arch_uprobe_post_xol()
/arch/arm/mm/
Dextable.c14 regs->ARM_pc = fixup->fixup; in fixup_exception()
Dalignment.c509 regs->ARM_pc += correction; in do_alignment_ldmstm()
579 regs->ARM_pc -= correction; in do_alignment_ldmstm()
583 regs->ARM_pc -= correction; in do_alignment_ldmstm()
851 regs->ARM_pc += isize; in do_alignment()
931 regs->ARM_pc -= isize; in do_alignment()
/arch/arm/mach-iop32x/
Dpci.c173 addr, fsr, regs->ARM_pc, regs->ARM_lr); in iop3xx_pci_abort()
180 regs->ARM_pc += 4; in iop3xx_pci_abort()
/arch/arm/include/uapi/asm/
Dptrace.h136 #define ARM_pc uregs[15] macro
/arch/arm/nwfpe/
Dfpmodule.c140 __builtin_return_address(0), GET_USERREG()->ARM_pc); in float_raise()

12