/netbsd/sys/arch/riscv/riscv/ |
H A D | netbsd32_machdep.c | 89 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 D | mcontext.h | 55 #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 D | mcontext.h | 115 #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 D | mcontext.h | 60 #define _REG_PC 15 macro 72 #define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC])
|
/netbsd/sys/arch/arm/arm/ |
H A D | sig_machdep.c | 182 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.S | 83 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 D | mcontext.h | 44 #define _REG_PC 1 macro 86 #define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC])
|
/netbsd/sys/arch/alpha/include/ |
H A D | mcontext.h | 76 #define _REG_PC 32 macro 102 #define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC])
|
/netbsd/sys/arch/m68k/include/ |
H A D | mcontext.h | 68 #define _REG_PC 16 macro 106 #define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC])
|
/netbsd/sys/arch/or1k/include/ |
H A D | mcontext.h | 73 #define _REG_PC 31 macro 92 #define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC])
|
/netbsd/lib/libc/arch/m68k/ |
H A D | genassym.cf | 42 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 D | t_lwp_create.c | 172 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 D | mcontext.h | 82 #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 D | mcontext.h | 88 #define _REG_PC 31 macro 120 #define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC])
|
/netbsd/lib/libc/arch/powerpc/ |
H A D | genassym.cf | 49 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 D | sig_machdep.c | 221 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 D | sh3_machdep.c | 407 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 D | genassym.cf | 39 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 D | genassym.cf | 54 define _REG_PC _REG_PC
|
/netbsd/lib/libc/arch/alpha/sys/ |
H A D | getcontext.S | 41 stq ra, (UC_GREGS + _REG_PC*8)(a0) /* Adjust saved PC */
|
/netbsd/lib/libc/arch/sparc/sys/ |
H A D | getcontext.S | 51 st %o1, [%o2 + 40 + 1 * 4] ! gr[_REG_PC] = retaddr
|
/netbsd/lib/libc/arch/m68k/gen/ |
H A D | makecontext.c | 51 mcp->__gregs[_REG_PC] = (__greg_t)func; in makecontext()
|
H A D | _lwp.c | 56 u->uc_mcontext.__gregs[_REG_PC] = (int)start; in _lwp_makecontext()
|
/netbsd/lib/libc/arch/alpha/ |
H A D | genassym.cf | 70 define _REG_PC _REG_PC /* 32 */
|
/netbsd/sys/arch/powerpc/powerpc/ |
H A D | sig_machdep.c | 166 gr[_REG_PC] = tf->tf_srr0; in cpu_getmcontext() 233 tf->tf_srr0 = gr[_REG_PC]; in cpu_setmcontext()
|