Home
last modified time | relevance | path

Searched refs:npc (Results 1 – 25 of 34) sorted by relevance

12

/arch/sparc/kernel/
A Dtraps_32.c121 void do_priv_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_priv_instruction() argument
135 printk("KERNEL MNA at pc %08lx npc %08lx called by %08lx\n", pc, npc, in do_memaccess_unaligned()
157 void do_fpd_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_fpd_trap() argument
199 void do_fpe_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
270 regs->pc = regs->npc;
271 regs->npc += 4;
310 void handle_watchpoint(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
315 pc, npc, psr);
322 void handle_reg_access(struct pt_regs *regs, unsigned long pc, unsigned long npc, argument
327 pc, npc, psr);
[all …]
A Dentry.h16 unsigned long npc, unsigned long psr);
19 unsigned long npc, unsigned long psr);
21 unsigned long npc, unsigned long psr);
23 unsigned long npc, unsigned long psr);
25 unsigned long npc, unsigned long psr);
27 unsigned long npc, unsigned long psr);
29 unsigned long npc, unsigned long psr);
31 unsigned long npc, unsigned long psr);
33 unsigned long npc, unsigned long psr);
35 unsigned long npc, unsigned long psr);
A Dsignal_32.c101 err |= __get_user(npc, &sf->info.si_regs.npc); in do_sigreturn()
103 if ((pc | npc) & 3) in do_sigreturn()
162 err |= __get_user(npc, &sf->regs.npc); in do_rt_sigreturn()
163 err |= ((pc | npc) & 0x03); in do_rt_sigreturn()
186 regs->npc = npc; in do_rt_sigreturn()
298 regs->npc = (regs->pc + 4); in setup_frame()
345 err |= __put_user(regs->npc, &sf->regs.npc); in setup_rt_frame()
396 regs->npc = (regs->pc + 4); in setup_rt_frame()
447 regs->npc -= 4; in syscall_restart()
507 regs->npc -= 4; in do_signal()
[all …]
A Dkgdb_32.c42 gdb_regs[GDB_NPC] = regs->npc; in pt_regs_to_gdb_regs()
100 regs->npc = gdb_regs[GDB_NPC]; in gdb_regs_to_pt_regs()
123 linux_regs->npc = addr + 4; in kgdb_arch_handle_exception()
130 linux_regs->pc = linux_regs->npc; in kgdb_arch_handle_exception()
131 linux_regs->npc += 4; in kgdb_arch_handle_exception()
166 regs->npc = regs->pc + 4; in kgdb_arch_set_pc()
A Dsignal32.c89 unsigned int pc, npc; in do_sigreturn32() local
113 __get_user(npc, &sf->info.si_regs.npc)) in do_sigreturn32()
116 if ((pc | npc) & 3) in do_sigreturn32()
121 npc &= 0xffffffff; in do_sigreturn32()
124 regs->tnpc = npc; in do_sigreturn32()
177 unsigned int psr, pc, npc, ufp; in do_rt_sigreturn32() local
201 __get_user(npc, &sf->regs.npc)) in do_rt_sigreturn32()
204 if ((pc | npc) & 3) in do_rt_sigreturn32()
209 npc &= 0xffffffff; in do_rt_sigreturn32()
212 regs->tnpc = npc; in do_rt_sigreturn32()
[all …]
A Dunaligned_32.c201 regs->pc = regs->npc; in advance()
202 regs->npc += 4; in advance()
237 regs->npc = regs->pc + 4; in kernel_mna_trap_fault()
A Dptrace_32.c101 membuf_store(&to, regs->npc); in genregs32_get()
152 &regs->npc, in genregs32_set()
255 membuf_store(&to, regs->npc); in getregs_get()
280 regs->npc = v[2]; in setregs_set()
A Dsys_sparc_32.c160 printk ("TRAP: Entering kernel PC=%x, nPC=%x\n", regs->pc, regs->npc); in sparc_breakpoint()
165 printk ("TRAP: Returning to space: PC=%x nPC=%x\n", regs->pc, regs->npc); in sparc_breakpoint()
A Dsyscalls.S268 ldx [%sp + PTREGS_OFF + PT_V9_TNPC], %l1 ! pc = npc
276 add %l1, 0x4, %l2 ! npc = npc+4
287 ldx [%sp + PTREGS_OFF + PT_V9_TNPC], %l1 ! pc = npc
A Dsignal_64.c47 unsigned long pc, npc, tstate; in sparc64_set_context() local
59 err |= __get_user(npc, &((*grp)[MC_NPC])); in sparc64_set_context()
60 if (err || ((pc | npc) & 3)) in sparc64_set_context()
76 npc &= 0xffffffff; in sparc64_set_context()
79 regs->tnpc = npc; in sparc64_set_context()
A Dkernel.h91 unsigned long npc, unsigned long psr);
A Dpcic.c761 regs->pc = regs->npc; in pcic_nmi()
762 regs->npc += 4; in pcic_nmi()
A Dprocess_32.c123 r->psr, r->pc, r->npc, r->y, print_tainted()); in show_regs()
/arch/powerpc/platforms/cell/spufs/
A Drun.c222 ctx->ops->npc_write(ctx, *npc); in spu_run_init()
252 *npc = ctx->ops->npc_read(ctx); in spu_run_fini()
274 unsigned int *npc) in spu_handle_restartsys() argument
286 *npc -= 8; in spu_handle_restartsys()
312 u32 ls_pointer, npc; in spu_process_callback() local
318 npc = ctx->ops->npc_read(ctx) & ~3; in spu_process_callback()
320 ls_pointer = in_be32(ls + npc); in spu_process_callback()
328 npc += 4; in spu_process_callback()
348 ctx->ops->npc_write(ctx, npc); in spu_process_callback()
371 ret = spu_run_init(ctx, npc); in spufs_run_spu()
[all …]
A Dsyscalls.c40 u32 npc, status; in do_spu_run() local
43 if (get_user(npc, unpc)) in do_spu_run()
52 ret = spufs_run_spu(i->i_ctx, &npc, &status); in do_spu_run()
54 if (put_user(npc, unpc)) in do_spu_run()
/arch/parisc/kernel/
A Dunwind.c277 unsigned long npc; in unwind_frame_regs() local
330 for (npc = e->region_start; in unwind_frame_regs()
333 npc < info->ip; in unwind_frame_regs()
334 npc += 4) { in unwind_frame_regs()
336 insn = *(unsigned int *)npc; in unwind_frame_regs()
344 insn, npc, frame_size); in unwind_frame_regs()
350 insn, npc, frame_size); in unwind_frame_regs()
356 "-20(sp) @ %lx\n", info->ip, npc); in unwind_frame_regs()
362 "-16(sp) @ %lx\n", info->ip, npc); in unwind_frame_regs()
381 info->prev_ip, npc); in unwind_frame_regs()
/arch/sparc/include/uapi/asm/
A Dptrace.h46 unsigned int npc; member
107 unsigned long npc; member
/arch/sparc/include/asm/
A Dsigcontext.h42 unsigned int npc; member
A Dprocessor_32.h63 regs->npc = regs->pc + 4; in start_thread()
/arch/sparc/math-emu/
A Dmath_32.c186 regs->pc = regs->npc; in do_mathemu()
187 regs->npc += 4; in do_mathemu()
/arch/powerpc/boot/dts/fsl/
A Db4420si-post.dtsi46 dcsr-npc {
A Dp5020si-post.dtsi208 dcsr-npc {
209 compatible = "fsl,dcsr-npc";
A Dp5040si-post.dtsi153 dcsr-npc {
154 compatible = "fsl,dcsr-npc";
A Dp2041si-post.dtsi179 dcsr-npc {
180 compatible = "fsl,dcsr-npc";
/arch/sparc/mm/
A Dfault_32.c242 regs->npc = regs->pc + 4; in do_sparc_fault()

Completed in 39 milliseconds

12