Home
last modified time | relevance | path

Searched refs:_REG_PC (Results 1 – 25 of 73) sorted by relevance

123

/netbsd/sys/arch/riscv/riscv/
H A Dnetbsd32_machdep.c89 mcp->__gregs[_REG_PC] = tf->tf_pc; in cpu_getmcontext32()
116 if ((int32_t) mcp->__gregs[_REG_PC] < 0 in cpu_mcontext32_validate()
118 || (mcp->__gregs[_REG_PC] & 1)) in cpu_mcontext32_validate()
142 tf->tf_pc = (int32_t) gr[_REG_PC]; in cpu_setmcontext32()
/netbsd/sys/arch/sparc/include/
H A Dmcontext.h55 #define _REG_PC 1 macro
155 #define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC])
160 (uc)->uc_mcontext.__gregs[_REG_PC] = (pc); \
/netbsd/sys/arch/arm/include/
H A Dmcontext.h115 #define _REG_PC _REG_ELR macro
121 #define _REG_PC _REG_R15 macro
271 #define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC])
/netbsd/sys/arch/vax/include/
H A Dmcontext.h60 #define _REG_PC 15 macro
72 #define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC])
/netbsd/sys/arch/arm/arm/
H A Dsig_machdep.c182 gr[_REG_PC] = tf->tf_pc; in cpu_getmcontext()
188 (void *) gr[_REG_PC])) != -1) in cpu_getmcontext()
189 gr[_REG_PC] = ras_pc; in cpu_getmcontext()
250 tf->tf_pc = gr[_REG_PC]; in cpu_setmcontext()
/netbsd/lib/libc/arch/m68k/sys/
H A D__sigtramp2.S83 CFI_OFFSET_DWARF_REG(DWARF_RETURN_REG, _REG_PC)
84 CFI_OFFSET_DWARF_REG(DWARF_SIGRETURN_REG, _REG_PC)
/netbsd/sys/arch/sh3/include/
H A Dmcontext.h44 #define _REG_PC 1 macro
86 #define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC])
/netbsd/sys/arch/alpha/include/
H A Dmcontext.h76 #define _REG_PC 32 macro
102 #define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC])
/netbsd/sys/arch/m68k/include/
H A Dmcontext.h68 #define _REG_PC 16 macro
106 #define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC])
/netbsd/sys/arch/or1k/include/
H A Dmcontext.h73 #define _REG_PC 31 macro
92 #define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC])
/netbsd/lib/libc/arch/m68k/
H A Dgenassym.cf42 define UC_MCONTEXT_PC offsetof(ucontext_t, uc_mcontext.__gregs[_REG_PC])
61 define _REG_PC _REG_PC
/netbsd/tests/lib/libc/sys/
H A Dt_lwp_create.c172 uc->uc_mcontext.__gregs[_REG_PC] |= 0x1f /*PSR_SYS32_MODE*/;
206 uc->uc_mcontext.__gregs[_REG_PC] = 0x100002;
212 uc->uc_mcontext.__gregs[_REG_PC] = 0;
/netbsd/sys/arch/powerpc/include/
H A Dmcontext.h82 #define _REG_PC 34 /* PC (copy of SRR0) */ macro
139 #define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC])
/netbsd/sys/arch/riscv/include/
H A Dmcontext.h88 #define _REG_PC 31 macro
120 #define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC])
/netbsd/lib/libc/arch/powerpc/
H A Dgenassym.cf49 define UC_GREGS_PC offsetof(ucontext_t, uc_mcontext.__gregs[_REG_PC])
85 define _REG_PC _REG_PC
/netbsd/sys/arch/m68k/m68k/
H A Dsig_machdep.c221 gr[_REG_PC] = frame->f_pc; in cpu_getmcontext()
224 (void *) gr[_REG_PC])) != -1) in cpu_getmcontext()
225 gr[_REG_PC] = ras_pc; in cpu_getmcontext()
361 frame->f_pc = gr[_REG_PC]; in cpu_setmcontext()
/netbsd/sys/arch/sh3/sh3/
H A Dsh3_machdep.c407 gr[_REG_PC] = tf->tf_spc; in cpu_getmcontext()
430 (void *) gr[_REG_PC])) != -1) in cpu_getmcontext()
431 gr[_REG_PC] = ras_pc; in cpu_getmcontext()
468 tf->tf_spc = gr[_REG_PC]; in cpu_setmcontext()
/netbsd/lib/libc/arch/aarch64/
H A Dgenassym.cf39 define _UC_REGS_PC offsetof(ucontext_t, uc_mcontext.__gregs[_REG_PC])
73 define _REG_PC _REG_PC
/netbsd/lib/libc/arch/sh3/
H A Dgenassym.cf54 define _REG_PC _REG_PC
/netbsd/lib/libc/arch/alpha/sys/
H A Dgetcontext.S41 stq ra, (UC_GREGS + _REG_PC*8)(a0) /* Adjust saved PC */
/netbsd/lib/libc/arch/sparc/sys/
H A Dgetcontext.S51 st %o1, [%o2 + 40 + 1 * 4] ! gr[_REG_PC] = retaddr
/netbsd/lib/libc/arch/m68k/gen/
H A Dmakecontext.c51 mcp->__gregs[_REG_PC] = (__greg_t)func; in makecontext()
H A D_lwp.c56 u->uc_mcontext.__gregs[_REG_PC] = (int)start; in _lwp_makecontext()
/netbsd/lib/libc/arch/alpha/
H A Dgenassym.cf70 define _REG_PC _REG_PC /* 32 */
/netbsd/sys/arch/powerpc/powerpc/
H A Dsig_machdep.c166 gr[_REG_PC] = tf->tf_srr0; in cpu_getmcontext()
233 tf->tf_srr0 = gr[_REG_PC]; in cpu_setmcontext()

123