Home
last modified time | relevance | path

Searched refs:tpc (Results 1 – 22 of 22) sorted by relevance

/linux-2.4.37.9/arch/sparc64/mm/
Dfault.c157 regs->tpc); in bad_kernel_pc()
160 unhandled_fault(regs->tpc, current, regs); in bad_kernel_pc()
170 static unsigned int get_user_insn(unsigned long tpc) in get_user_insn() argument
172 pgd_t *pgdp = pgd_offset(current->mm, tpc); in get_user_insn()
181 pmdp = pmd_offset(pgdp, tpc); in get_user_insn()
184 ptep = pte_offset(pmdp, tpc); in get_user_insn()
193 pa += (tpc & ~PAGE_MASK); in get_user_insn()
217 info.si_addr = (void *) regs->tpc; in do_fault_siginfo()
231 if (!regs->tpc || (regs->tpc & 0x3)) in get_fault_insn()
234 insn = *(unsigned int *) regs->tpc; in get_fault_insn()
[all …]
/linux-2.4.37.9/arch/sparc64/kernel/
Dptrace.c41 regs->tpc = regs->tnpc; in pt_error_return()
49 regs->tpc = regs->tnpc; in pt_succ_return()
65 regs->tpc = regs->tnpc; in pt_succ_return_linux()
261 __put_user(cregs->tpc, (&pregs->pc)) || in do_ptrace()
274 printk ("PC=%lx nPC=%lx o7=%lx\n", cregs->tpc, cregs->tnpc, cregs->u_regs [15]); in do_ptrace()
282 unsigned long tpc = cregs->tpc; in do_ptrace() local
286 tpc &= 0xffffffff; in do_ptrace()
288 __put_user(tpc, (&pregs->tpc)) || in do_ptrace()
301 printk ("PC=%lx nPC=%lx o7=%lx\n", cregs->tpc, cregs->tnpc, cregs->u_regs [15]); in do_ptrace()
325 cregs->tpc = pc; in do_ptrace()
[all …]
Dtraps.c48 unsigned long tpc; member
66 p->trapstack[i].tstate, p->trapstack[i].tpc, in dump_tl1_traplog()
87 regs->tpc &= 0xffffffff; in bad_trap()
93 info.si_addr = (void *)regs->tpc; in bad_trap()
126 regs->tpc &= 0xffffffff; in spitfire_insn_access_exception()
132 info.si_addr = (void *)regs->tpc; in spitfire_insn_access_exception()
152 if ((fixup = search_exception_table (regs->tpc, &g2))) { in spitfire_data_access_exception()
155 printk("Exception: PC<%016lx> faddr<UNKNOWN>\n", regs->tpc); in spitfire_data_access_exception()
157 "g2<%016lx>\n", regs->tpc, fixup, g2); in spitfire_data_access_exception()
159 regs->tpc = fixup; in spitfire_data_access_exception()
[all …]
Dsignal.c115 regs->tpc = pc; in sparc64_set_context()
198 regs->tpc = (regs->tnpc & 0xffffffff); in sparc64_get_context()
201 regs->tpc = regs->tnpc; in sparc64_get_context()
213 err |= __put_user(regs->tpc, &((*grp)[MC_PC])); in sparc64_get_context()
301 regs->tpc = (regs->tnpc & 0xffffffff); in _sigpause_common()
304 regs->tpc = regs->tnpc; in _sigpause_common()
361 regs->tpc = (regs->tnpc & 0xffffffff); in do_rt_sigsuspend()
364 regs->tpc = regs->tnpc; in do_rt_sigsuspend()
412 unsigned long tpc, tnpc, tstate; in do_rt_sigreturn() local
427 err = get_user(tpc, &sf->regs.tpc); in do_rt_sigreturn()
[all …]
Dsignal32.c166 regs->tpc = regs->tnpc; in _sigpause32_common()
169 regs->tpc &= 0xffffffff; in _sigpause32_common()
221 regs->tpc = regs->tnpc; in do_rt_sigsuspend32()
224 regs->tpc &= 0xffffffff; in do_rt_sigsuspend32()
293 regs->tpc = pc; in do_new_sigreturn32()
389 regs->tpc = pc; in do_sigreturn32()
437 regs->tpc = pc; in do_rt_sigreturn32()
529 unsigned long pc = regs->tpc; in setup_frame32()
666 regs->tpc = (unsigned long) sa->sa_handler; in setup_frame32()
667 regs->tnpc = (regs->tpc + 4); in setup_frame32()
[all …]
Dunaligned.c336 regs->tpc = regs->tnpc; in advance()
339 regs->tpc &= 0xffffffff; in advance()
359 unsigned long fixup = search_exception_table (regs->tpc, &g2); in kernel_mna_trap_fault()
377 regs->tpc = fixup; in kernel_mna_trap_fault()
378 regs->tnpc = regs->tpc + 4; in kernel_mna_trap_fault()
392 regs->tpc); in kernel_unaligned_trap()
409 regs->tpc, dirstrings[dir], addr, size, regs->u_regs[UREG_RETPC]); in kernel_unaligned_trap()
623 unsigned long pc = regs->tpc; in handle_lddfmna()
676 unsigned long pc = regs->tpc; in handle_stdfmna()
Dsys_sparc.c413 regs->tpc &= 0xffffffff; in sparc_breakpoint()
417 printk ("TRAP: Entering kernel PC=%lx, nPC=%lx\n", regs->tpc, regs->tnpc); in sparc_breakpoint()
422 info.si_addr = (void *)regs->tpc; in sparc_breakpoint()
426 printk ("TRAP: Returning to space: PC=%lx nPC=%lx\n", regs->tpc, regs->tnpc); in sparc_breakpoint()
463 regs->tpc = regs->tnpc; in solaris_syscall()
466 regs->tpc &= 0xffffffff; in solaris_syscall()
483 regs->tpc = regs->tnpc; in sunos_syscall()
486 regs->tpc &= 0xffffffff; in sunos_syscall()
Detrap.S45 1: rdpr %tpc, %g3 ! Single Group
127 rdpr %tpc, %g3
137 rdpr %tpc, %g3
147 rdpr %tpc, %g3
157 rdpr %tpc, %g3
189 1: rdpr %tpc, %g3 ! Single Group
Ditlb_base.S54 rdpr %tpc, %g5 ! And load faulting VA
69 rdpr %tpc, %g3 ! Prepare winfixup TNPC
Dprocess.c307 regs->tpc, regs->tnpc, regs->y, print_tainted()); in __show_regs()
362 if (regs->tpc >= &etrap && regs->tpc < &etraptl1 && in show_regs()
367 idump_from_user(((struct pt_regs *)(regs->u_regs[14] + PTREGS_OFF))->tpc); in show_regs()
Dbinfmt_elf32.c42 dest[33] = (unsigned int) src->tpc; \
Dentry.S75 rdpr %tpc, %g4 ! Find original faulting iaddr
303 rdpr %tpc, %g1
605 rdpr %tpc, %l6
899 rdpr %tpc, %g3
936 rdpr %tpc, %g5 ! IMMU has no SFAR, use TPC
954 rdpr %tpc, %g5 ! IMMU has no SFAR, use TPC
1453 rdpr %tpc, %g3
Drtrap.S228 wrpr %l2, %g0, %tpc
Dsys_sunos32.c460 regs->tpc &= 0xffffffff; in sunos_nosys()
466 info.si_addr = (void *)regs->tpc; in sunos_nosys()
Dtime.c463 sparc64_do_profile(regs->tpc, regs->u_regs[UREG_RETPC]); in timer_interrupt()
Dsmp.c1135 sparc64_do_profile(regs->tpc, regs->u_regs[UREG_RETPC]); in smp_percpu_timer_interrupt()
Dirq.c729 bucket - &ivector_table[0], regs->tpc); in catch_disabled_ivec()
/linux-2.4.37.9/include/asm-sparc64/
Dprocessor.h197 regs->tpc = ((pc & (~3)) - 4); \
198 regs->tnpc = regs->tpc + 4; \
237 regs->tpc = ((pc & (~3)) - 4); \
238 regs->tnpc = regs->tpc + 4; \
309 #define KSTK_EIP(tsk) ((tsk)->thread.kregs->tpc)
Dptrace.h16 unsigned long tpc; member
98 #define instruction_pointer(regs) ((regs)->tpc)
Dsigcontext.h72 unsigned long tpc; member
Delf.h53 dest[33] = src->tpc; \
/linux-2.4.37.9/arch/sparc64/math-emu/
Dmath.c150 regs->tpc = regs->tnpc; in record_exception()
165 unsigned long pc = regs->tpc; in do_mathemu()
323 regs->tpc = regs->tnpc; in do_mathemu()
487 regs->tpc = regs->tnpc; in do_mathemu()