Home
last modified time | relevance | path

Searched refs:TRAP (Results 1 – 14 of 14) sorted by relevance

/arch/sparc/kernel/
Dttable.S26 tl0_privop: TRAP(do_privop)
33 tl0_tof: TRAP(do_tof)
35 tl0_div0: TRAP(do_div0)
80 tl0_paw: TRAP(do_paw)
81 tl0_vaw: TRAP(do_vaw)
133 tl0_divz: TRAP(do_div0)
149 tl0_getpsr: TRAP(do_getpsr)
166 tl0_gsctx: TRAP(sparc64_get_context) TRAP(sparc64_set_context)
/arch/powerpc/include/asm/
Dsyscall.h26 return TRAP(regs) == 0xc00 ? regs->gpr[0] : -1L; in syscall_get_nr()
Dptrace.h141 #define TRAP(regs) ((regs)->trap & ~0xF) macro
/arch/powerpc/kernel/
Dkgdb.c120 return !kgdb_handle_exception(1, computeSignal(TRAP(regs)), in kgdb_debugger()
174 if (kgdb_handle_exception(0, computeSignal(TRAP(regs)), 0, regs) != 0) in kgdb_iabr_match()
184 if (kgdb_handle_exception(0, computeSignal(TRAP(regs)), 0, regs) != 0) in kgdb_dabr_match()
Dsignal.c71 if (TRAP(regs) != 0x0C00) in check_syscall_restart()
Dcrash.c330 if (TRAP(regs) == 0x100) in default_machine_crash_shutdown()
Dprocess.c655 trap = TRAP(regs); in show_regs()
Dtraps.c156 if (kexec_should_crash(current) || (TRAP(regs) == 0x100)) { in oops_end()
/arch/powerpc/mm/
Dpgtable.c39 return current->thread.regs && TRAP(current->thread.regs) == 0x400; in is_exec_fault()
Dfault.c206 int trap = TRAP(regs); in do_page_fault()
Dmem.c547 trap = TRAP(current->thread.regs); in update_mmu_cache()
/arch/powerpc/xmon/
Dxmon.c379 cpu, regs->trap, getvecname(TRAP(regs))); in xmon_core()
449 if (bp || TRAP(regs) == 0xd00) in xmon_core()
491 regs->trap, getvecname(TRAP(regs))); in xmon_core()
510 if (bp || TRAP(regs) == 0xd00) in xmon_core()
1363 getvecname(TRAP(&regs))); in xmon_show_stack()
1421 trap = TRAP(fp); in excprint()
1497 if (TRAP(fp) != 0xc00 && cpu_has_feature(CPU_FTR_CFAR)) { in prregs()
1506 trap = TRAP(fp); in prregs()
1741 fault_except = TRAP(regs); in handle_fault()
1742 switch (TRAP(regs)) { in handle_fault()
/arch/sparc/include/asm/
Dttable.h24 #define TRAP(routine) \ macro
119 #define GETCC_TRAP TRAP(getcc)
120 #define SETCC_TRAP TRAP(setcc)
121 #define BREAKPOINT_TRAP TRAP(breakpoint_trap)
/arch/powerpc/perf/
Dcore-book3s.c135 if (TRAP(regs) != 0xf00) in perf_get_misc_flags()
1336 if (TRAP(regs) != 0xf00) in perf_instruction_pointer()