Home
last modified time | relevance | path

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

12

/arch/arm/probes/kprobes/
Dactions-thumb.c30 unsigned long pc = regs->ARM_pc; in t32_simulate_table_branch()
43 regs->ARM_pc = pc + 2 * halfwords; in t32_simulate_table_branch()
59 unsigned long pc = regs->ARM_pc; in t32_simulate_cond_branch()
67 regs->ARM_pc = pc + (offset * 2); in t32_simulate_cond_branch()
84 unsigned long pc = regs->ARM_pc; in t32_simulate_branch()
97 regs->ARM_lr = regs->ARM_pc | 1; in t32_simulate_branch()
105 regs->ARM_pc = pc + (offset * 2); in t32_simulate_branch()
112 unsigned long addr = regs->ARM_pc & ~3; in t32_simulate_ldr_literal()
164 unsigned long pc = regs->ARM_pc & ~3; in t32_emulate_ldrdstrd()
244 unsigned long pc = regs->ARM_pc; in t32_emulate_rd8pc16_noflags()
[all …]
Dactions-common.c67 unsigned long addr = regs->ARM_pc - 4; in simulate_stm1_pc()
69 regs->ARM_pc = (long)addr + str_pc_offset; in simulate_stm1_pc()
71 regs->ARM_pc = (long)addr + 4; in simulate_stm1_pc()
79 load_write_pc(regs->ARM_pc, regs); in simulate_ldm1_pc()
124 load_write_pc(regs->ARM_pc, regs); in emulate_ldm_r3_15()
Dcore.c224 regs->ARM_pc += 4; in singlestep_skip()
226 regs->ARM_pc += 2; in singlestep_skip()
228 regs->ARM_pc += 4; in singlestep_skip()
259 p = get_kprobe((kprobe_opcode_t *)(regs->ARM_pc | 1)); in kprobe_handler()
261 p = get_kprobe((kprobe_opcode_t *)regs->ARM_pc); in kprobe_handler()
264 p = get_kprobe((kprobe_opcode_t *)regs->ARM_pc); in kprobe_handler()
365 regs->ARM_pc = (long)cur->addr; in kprobe_fault_handler()
532 regs->ARM_pc = (long)jp->entry; in setjmp_pre_handler()
537 if (regs->ARM_pc & 1) in setjmp_pre_handler()
600 "J" (offsetof(struct pt_regs, ARM_pc)), in jprobe_return()
[all …]
Dactions-arm.c80 unsigned long pc = regs->ARM_pc + 4; in emulate_ldrdstrd()
109 unsigned long pc = regs->ARM_pc + 4; in emulate_ldr()
139 unsigned long rtpc = regs->ARM_pc - 4 + str_pc_offset; in emulate_str()
140 unsigned long rnpc = regs->ARM_pc + 4; in emulate_str()
166 unsigned long pc = regs->ARM_pc + 4; in emulate_rd12rn16rm0rs8_rwflags()
/arch/arm/probes/
Ddecode-arm.c64 long iaddr = (long) regs->ARM_pc - 4; in simulate_bbl()
70 regs->ARM_pc = iaddr + 8 + disp; in simulate_bbl()
76 long iaddr = (long) regs->ARM_pc - 4; in simulate_blx1()
80 regs->ARM_pc = iaddr + 8 + disp + ((insn >> 23) & 0x2); in simulate_blx1()
91 regs->ARM_lr = (long) regs->ARM_pc; in simulate_blx2bx()
93 regs->ARM_pc = rmv & ~0x1; in simulate_blx2bx()
711 regs->ARM_pc += 4; in arm_singlestep()
Ddecode.h81 regs->ARM_pc = pcv; in bx_write_pc()
104 regs->ARM_pc = pcv; in load_write_pc()
132 regs->ARM_pc = pcv; in alu_write_pc()
Ddecode-thumb.c850 regs->ARM_pc += 2; in thumb16_singlestep()
859 regs->ARM_pc += 4; in thumb32_singlestep()
/arch/arm/kernel/
Dtime.c50 if (!in_lock_functions(regs->ARM_pc)) in profile_pc()
51 return regs->ARM_pc; in profile_pc()
Dsignal.c170 regs->ARM_pc = context.arm_pc; in restore_sigframe()
279 .arm_pc = regs->ARM_pc, in setup_sigframe()
419 regs->ARM_pc = handler; in setup_return()
521 continue_addr = regs->ARM_pc; in do_signal()
537 regs->ARM_pc = restart_addr; in do_signal()
553 if (unlikely(restart) && regs->ARM_pc == restart_addr) { in do_signal()
559 regs->ARM_pc = continue_addr; in do_signal()
566 if (unlikely(restart) && regs->ARM_pc == restart_addr) { in do_signal()
567 regs->ARM_pc = continue_addr; in do_signal()
Dkgdb.c37 { "pc", 4, offsetof(struct pt_regs, ARM_pc)},
104 regs->ARM_pc = pc; in kgdb_arch_set_pc()
129 linux_regs->ARM_pc = addr; in kgdb_arch_handle_exception()
131 linux_regs->ARM_pc += 4; in kgdb_arch_handle_exception()
Dswp_emulate.c179 perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, regs->ARM_pc); in swp_handler()
187 regs->ARM_pc += 4; in swp_handler()
227 regs->ARM_pc += 4; in swp_handler()
Dstacktrace.c126 trace->entries[trace->nr_entries++] = regs->ARM_pc; in save_trace()
185 frame.pc = regs->ARM_pc; in save_stack_trace_regs()
Dperf_callchain.c71 perf_callchain_store(entry, regs->ARM_pc); in perf_callchain_user()
/arch/arm/include/asm/
Dprocessor.h66 regs->ARM_pc = pc & ~1; /* pc */ \
94 #define KSTK_EIP(tsk) task_pt_regs(tsk)->ARM_pc
Dperf_event.h23 (regs)->ARM_pc = (__ip); \
Dstacktrace.h23 frame->pc = regs->ARM_pc; in arm_get_current_stackframe()
Dkexec.h43 : [_ARM_pc] "=r" (newregs->ARM_pc), in crash_setup_regs()
Dptrace.h85 #define instruction_pointer(regs) (regs)->ARM_pc
/arch/arm/mm/
Dextable.c13 regs->ARM_pc = fixup->fixup; in fixup_exception()
Dalignment.c512 regs->ARM_pc += correction; in do_alignment_ldmstm()
582 regs->ARM_pc -= correction; in do_alignment_ldmstm()
586 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/probes/uprobes/
Dcore.c42 regs->ARM_pc += 4; in arch_uprobe_ignore()
145 regs->ARM_pc = utask->xol_vaddr; in arch_uprobe_pre_xol()
157 regs->ARM_pc = utask->vaddr + 4; in arch_uprobe_post_xol()
/arch/arm/mach-ks8695/
Dpci.c136 addr, fsr, regs->ARM_pc, regs->ARM_lr, in ks8695_pci_fault()
160 regs->ARM_pc += 4; in ks8695_pci_fault()
168 regs->ARM_pc += 4; in ks8695_pci_fault()
/arch/arm/plat-iop/
Dpci.c176 addr, fsr, regs->ARM_pc, regs->ARM_lr); in iop3xx_pci_abort()
183 regs->ARM_pc += 4; in iop3xx_pci_abort()
/arch/arm/include/uapi/asm/
Dptrace.h130 #define ARM_pc uregs[15] macro
/arch/arm/nwfpe/
Dfpmodule.c152 __builtin_return_address(0), GET_USERREG()->ARM_pc); in float_raise()

12