/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/sparc64/sparc64/ |
H A D | core_machdep.c | 95 md_core.md_tf.tf_pc = l->l_md.md_tf->tf_pc; in cpu_coredump() 96 md_core.md_tf.tf_npc = l->l_md.md_tf->tf_npc; in cpu_coredump() 97 md_core.md_tf.tf_y = l->l_md.md_tf->tf_y; in cpu_coredump() 98 md_core.md_tf.tf_tt = l->l_md.md_tf->tf_tt; in cpu_coredump() 99 md_core.md_tf.tf_pil = l->l_md.md_tf->tf_pil; in cpu_coredump() 130 md_core.md_tf.tf_in[0] = l->l_md.md_tf->tf_in[0]; in cpu_coredump() 131 md_core.md_tf.tf_in[1] = l->l_md.md_tf->tf_in[1]; in cpu_coredump() 132 md_core.md_tf.tf_in[2] = l->l_md.md_tf->tf_in[2]; in cpu_coredump() 133 md_core.md_tf.tf_in[3] = l->l_md.md_tf->tf_in[3]; in cpu_coredump() 139 if (l->l_md.md_fpstate) { in cpu_coredump() [all …]
|
H A D | vm_machdep.c | 224 if (l1->l_md.md_fpstate) { in cpu_lwp_fork() 226 l2->l_md.md_fpstate = pool_cache_get(fpstate_cache, PR_WAITOK); in cpu_lwp_fork() 227 memcpy(l2->l_md.md_fpstate, l1->l_md.md_fpstate, in cpu_lwp_fork() 230 l2->l_md.md_fpstate = NULL; in cpu_lwp_fork() 237 tf2 = l2->l_md.md_tf = (struct trapframe *) in cpu_lwp_fork() 287 savefpstate(l->l_md.md_fpstate); in fpusave_cpu() 338 if (l->l_md.md_fpstate != NULL) in cpu_lwp_free() 347 if ((fs = l->l_md.md_fpstate) != NULL) in cpu_lwp_free2() 354 struct trapframe *tf = l->l_md.md_tf; in cpu_lwp_setprivate()
|
H A D | process_machdep.c | 115 struct trapframe64* tf = l->l_md.md_tf; in process_read_regs() 149 struct trapframe64* tf = l->l_md.md_tf; in process_write_regs() 196 l->l_md.md_tf->tf_pc = (vaddr_t)addr; in process_set_pc() 197 l->l_md.md_tf->tf_npc = (vaddr_t)addr + 4; in process_set_pc() 209 if (l->l_md.md_fpstate) in process_read_fpregs() 210 statep = l->l_md.md_fpstate; in process_read_fpregs() 234 statep = l->l_md.md_fpstate; in process_write_fpregs()
|
H A D | netbsd32_machdep.c | 140 l->l_md.md_fpstate = NULL; in netbsd32_setregs() 187 tf = l->l_md.md_tf; in netbsd32_sendsig_sigcontext() 466 tf = l->l_md.md_tf; in compat_13_netbsd32_sigreturn() 558 tf = l->l_md.md_tf; in compat_16_netbsd32___sigreturn14() 655 if (l->l_md.md_fpstate) in netbsd32_process_read_fpregs() 671 statep = l->l_md.md_fpstate; 713 if (l->l_md.md_fpstate) { in cpu_coredump32() 802 fsp = l->l_md.md_fpstate; in netbsd32_cpu_getmcontext() 894 l->l_md.md_fpstate = fsp; in netbsd32_cpu_setmcontext() 1226 l->l_md.md_fpstate = fsp; in cpu_setmcontext32() [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/sparc/sparc/ |
H A D | process_machdep.c | 116 memcpy((void *)regs, p->l_md.md_tf, sizeof(struct reg)); in process_read_regs() 123 int psr = p->l_md.md_tf->tf_psr & ~PSR_ICC; in process_write_regs() 125 memcpy(p->l_md.md_tf, regs, sizeof(struct reg)); in process_write_regs() 126 p->l_md.md_tf->tf_psr = psr | (regs->r_psr & PSR_ICC); in process_write_regs() 143 p->l_md.md_tf->tf_pc = (u_int)addr; in process_set_pc() 144 p->l_md.md_tf->tf_npc = (u_int)addr + 4; in process_set_pc() 155 if (p->l_md.md_fpstate) in process_read_fpregs() 156 statep = p->l_md.md_fpstate; in process_read_fpregs() 165 if (p->l_md.md_fpstate == NULL) in process_write_fpregs() 169 memcpy(p->l_md.md_fpstate, regs, sizeof(struct fpreg)); in process_write_fpregs() [all …]
|
H A D | vm_machdep.c | 218 if (l1->l_md.md_fpstate != NULL) { in cpu_lwp_fork() 222 l2->l_md.md_fpstate = in cpu_lwp_fork() 226 if ((cpi = l1->l_md.md_fpu) != NULL) { in cpu_lwp_fork() 231 savefpstate(l1->l_md.md_fpstate); in cpu_lwp_fork() 238 memcpy(l2->l_md.md_fpstate, l1->l_md.md_fpstate, in cpu_lwp_fork() 242 l2->l_md.md_fpstate = NULL; in cpu_lwp_fork() 244 l2->l_md.md_fpu = NULL; in cpu_lwp_fork() 304 if ((cpi = l->l_md.md_fpu) != NULL) { in cpu_lwp_free() 316 l->l_md.md_fpu = NULL; in cpu_lwp_free() 326 if ((fs = l->l_md.md_fpstate) != NULL) in cpu_lwp_free2() [all …]
|
H A D | core_machdep.c | 94 md_core.md_tf = *l->l_md.md_tf; in cpu_coredump() 95 if (l->l_md.md_fpstate) { in cpu_coredump() 97 savefpstate(l->l_md.md_fpstate); in cpu_coredump() 98 md_core.md_fpstate = *l->l_md.md_fpstate; in cpu_coredump()
|
H A D | trap.c | 315 savefpstate(l->l_md.md_fpstate); in trap() 316 l->l_md.md_fpu = NULL; in trap() 421 l->l_md.md_fpstate = fs; in trap() 486 l->l_md.md_fpu = curcpu(); in trap() 593 savefpstate(l->l_md.md_fpstate); in trap() 595 l->l_md.md_fpu = NULL; in trap() 801 savefpstate(l->l_md.md_fpstate); in mem_access_fault() 802 l->l_md.md_fpu = NULL; in mem_access_fault() 882 l->l_md.md_tf = tf; in mem_access_fault() 1019 l->l_md.md_fpu = NULL; in mem_access_fault4m() [all …]
|
H A D | syscall.c | 176 savefpstate(l->l_md.md_fpstate); in save_fpu() 177 l->l_md.md_fpu = NULL; in save_fpu() 219 l->l_md.md_tf = tf; in syscall() 293 userret(l, l->l_md.md_tf->tf_pc, 0); in child_return() 305 userret(l, l->l_md.md_tf->tf_pc, 0); in cpu_spawn_return()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/x86/x86/ |
H A D | vm_machdep.c | 185 l2->l_md.md_regs = tf; in cpu_lwp_fork() 191 memcpy(tf, l1->l_md.md_regs, sizeof(struct trapframe)); in cpu_lwp_fork() 211 l2->l_md.md_flags = l1->l_md.md_flags; in cpu_lwp_fork() 212 l2->l_md.md_astpending = 0; in cpu_lwp_fork() 262 KASSERT(l->l_md.md_gc_ptp == NULL); in cpu_lwp_free2() 263 KASSERT(l->l_md.md_gc_pmap == NULL); in cpu_lwp_free2()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/riscv/riscv/ |
H A D | riscv_machdep.c | 101 struct trapframe * const tf = l->l_md.md_utf; in setregs() 122 struct trapframe * const tf = l->l_md.md_utf; in child_return() 162 const struct trapframe * const tf = l->l_md.md_utf; in cpu_getmcontext() 203 struct trapframe * const tf = l->l_md.md_utf; in cpu_setmcontext() 298 l->l_md.md_astpending = 1; /* force call to ast() */ in cpu_need_resched() 315 l->l_md.md_astpending = 1; /* force call to ast() */ in cpu_signotify() 325 l->l_md.md_astpending = 1; /* force call to ast() */ in cpu_need_proftick()
|
H A D | process_machdep.c | 46 *regs = l->l_md.md_utf->tf_regs; in process_read_regs() 56 l->l_md.md_utf->tf_regs = *regs; in process_write_regs() 103 l->l_md.md_utf->tf_pc = (register_t)addr; in process_set_pc()
|
H A D | vm_machdep.c | 83 l2->l_md.md_astpending = 0; in cpu_lwp_fork() 94 *tf = *l1->l_md.md_utf; in cpu_lwp_fork() 103 l2->l_md.md_utf = tf; in cpu_lwp_fork() 118 l2->l_md.md_ktf = tf; /* SP */ in cpu_lwp_fork() 200 return l->l_md.md_utf->tf_pc; in cpu_lwp_pc()
|
H A D | fpu.c | 61 struct trapframe * const tf = l->l_md.md_utf; in fpu_state_save() 122 struct trapframe * const tf = l->l_md.md_utf; in fpu_state_load() 192 l->l_md.md_utf->tf_sr &= ~SR_EF; in fpu_state_release()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/powerpc/powerpc/ |
H A D | process_machdep.c | 57 struct trapframe * const tf = l->l_md.md_utf; in process_read_regs() 72 struct trapframe * const tf = l->l_md.md_utf; in process_write_regs() 128 struct trapframe * const tf = l->l_md.md_utf; in process_set_pc() 138 struct trapframe * const tf = l->l_md.md_utf; in process_sstep() 142 l->l_md.md_flags |= PSL_SE; in process_sstep() 145 l->l_md.md_flags &= ~PSL_SE; in process_sstep()
|
H A D | vm_machdep.c | 98 l2->l_md = l1->l_md; in cpu_lwp_fork() 99 l2->l_md.md_utf = trapframe(l2); in cpu_lwp_fork() 109 *l2->l_md.md_utf = *l1->l_md.md_utf; in cpu_lwp_fork() 116 l2->l_md.md_utf->tf_fixreg[1] = in cpu_lwp_fork()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/compat/common/ |
H A D | kern_exit_43.c | 80 if ((GETPS(l->l_md.md_regs) & PSL_ALLCC) != PSL_ALLCC) { in compat_43_sys_wait() 84 l->l_md.md_regs[R0], (struct rusage *)l->l_md.md_regs[R1]); in compat_43_sys_wait()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/mips/mips/ |
H A D | vm_machdep.c | 98 l2->l_md.md_ss_addr = 0; in cpu_lwp_fork() 99 l2->l_md.md_ss_instr = 0; in cpu_lwp_fork() 100 l2->l_md.md_astpending = 0; in cpu_lwp_fork() 111 *tf = *l1->l_md.md_utf; in cpu_lwp_fork() 117 l2->l_md.md_utf = tf; in cpu_lwp_fork() 128 l2->l_md.md_upte[i] = pte[i] & ~x; in cpu_lwp_fork() 260 return l->l_md.md_utf->tf_regs[_R_PC]; in cpu_lwp_pc()
|
H A D | process_machdep.c | 116 *regs = l->l_md.md_utf->tf_registers; in process_read_regs() 123 struct trapframe * const tf = l->l_md.md_utf; in process_write_regs() 185 l->l_md.md_utf->tf_regs[_R_PC] = (intptr_t)addr; in process_set_pc()
|
H A D | mips_fputrap.c | 51 __func__, fpustat, l->l_md.md_utf->tf_regs[_R_PC]); in mips_fpuexcept() 68 __func__, opcode, l->l_md.md_utf->tf_regs[_R_PC]); in mips_fpuillinst() 75 ksi.ksi_addr = (void *)(uintptr_t)l->l_md.md_utf->tf_regs[_R_PC]; in mips_fpuillinst()
|
H A D | trap.c | 131 struct trapframe *utf = l->l_md.md_utf; in child_return() 159 struct trapframe * const utf = l->l_md.md_utf; in trap() 567 l->l_md.md_ss_addr, l->l_md.md_ss_instr); in trap() 568 l->l_md.md_ss_addr = 0; in trap() 651 while ((astpending = l->l_md.md_astpending) != 0) { in ast() 653 l->l_md.md_astpending = 0; in ast() 690 struct trapframe * const tf = l->l_md.md_utf; in mips_singlestep() 695 if (l->l_md.md_ss_addr) { in mips_singlestep() 697 p->p_comm, p->p_pid, l->l_md.md_ss_addr); in mips_singlestep() 717 l->l_md.md_ss_addr = va; in mips_singlestep() [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/aarch64/aarch64/ |
H A D | process_machdep.c | 46 *regs = l->l_md.md_utf->tf_regs; in process_read_regs() 63 l->l_md.md_utf->tf_regs = *regs; in process_write_regs() 98 l->l_md.md_utf->tf_pc = (uintptr_t) addr; in process_set_pc()
|
H A D | vm_machdep.c | 95 l2->l_md.md_cpacr = CPACR_FPEN_NONE; in cpu_lwp_fork() 103 l2->l_md.md_utf = utf; in cpu_lwp_fork() 105 *utf = *l1->l_md.md_utf; in cpu_lwp_fork() 125 l2->l_md.md_ktf = ktf; in cpu_lwp_fork()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/riscv/include/ |
H A D | locore.h | 172 curlwp->l_md.md_onfault = NULL; in cpu_unset_onfault() 178 struct faultbuf * const fb = curlwp->l_md.md_onfault; in cpu_disable_onfault() 179 curlwp->l_md.md_onfault = NULL; in cpu_disable_onfault() 186 curlwp->l_md.md_onfault = fb; in cpu_enable_onfault()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/i386/include/ |
H A D | vm86.h | 113 struct trapframe *tf = l->l_md.md_regs; in set_vflags() 130 struct trapframe *tf = l->l_md.md_regs; in get_vflags() 142 struct trapframe *tf = l->l_md.md_regs; in set_vflags_short() 157 struct trapframe *tf = l->l_md.md_regs; in get_vflags_short()
|