/src/sys/arch/i386/i386/ |
autoconf.c | 64 #include <machine/pcb.h> 106 struct pcb *pcb; local in function:cpu_configure 140 pcb = lwp_getpcb(&lwp0); 141 pcb->pcb_cr0 = rcr0() & ~CR0_TS; 143 /* propagate this to the idle pcb's. */
|
/src/sys/arch/sh3/include/ |
pcb.h | 1 /* $NetBSD: pcb.h,v 1.10 2019/04/06 03:06:27 thorpej Exp $ */ 37 struct pcb { struct 42 extern struct pcb *curpcb;
|
/src/usr.sbin/crash/arch/ |
mips.c | 41 #include <machine/pcb.h> 51 struct pcb pcb; variable in typeref:struct:pcb 60 if ((size_t)kvm_read(kd, nl[0].n_value, &pcb, sizeof(pcb)) != 61 sizeof(pcb)) {
|
sparc.c | 44 #include <machine/pcb.h> 53 struct pcb pcb; variable in typeref:struct:pcb 62 if ((size_t)kvm_read(kd, nl[0].n_value, &pcb, sizeof(pcb)) != 63 sizeof(pcb)) {
|
x86.c | 45 #include <machine/pcb.h> 62 struct pcb pcb; variable in typeref:struct:pcb 71 if ((size_t)kvm_read(kd, nl[0].n_value, &pcb, sizeof(pcb)) != 72 sizeof(pcb)) { 82 ddb_regs.tf_sp = pcb.pcb_sp; 83 ddb_regs.tf_bp = pcb.pcb_bp;
|
alpha.c | 45 #include <machine/pcb.h> 50 struct pcb pcb; variable in typeref:struct:pcb 63 &pcb, sizeof(pcb)) != sizeof(pcb)) { 68 &pcb.pcb_context[0], 7 * sizeof(unsigned long)); 69 ddb_regs.tf_regs[FRAME_RA] = pcb.pcb_context[7]; 70 ddb_regs.tf_regs[FRAME_SP] = pcb.pcb_hw.apcb_ksp;
|
/src/sys/arch/m68k/m68k/ |
m68k_machdep.c | 79 #include <m68k/pcb.h> 94 struct pcb *pcb = lwp_getpcb(l); local in function:setregs 118 pcb->pcb_fpregs.fpf_null = 0; 121 m68881_restore(&pcb->pcb_fpregs);
|
/src/sys/arch/aarch64/aarch64/ |
core_machdep.c | 43 #include <aarch64/pcb.h> 57 struct pcb * const pcb = lwp_getpcb(l); local in function:cpu_coredump 74 md_core.fpreg = pcb->pcb_fpregs;
|
process_machdep.c | 41 #include <aarch64/pcb.h> 70 struct pcb * const pcb = lwp_getpcb(l); local in function:process_read_fpregs 74 memcpy(fpregs, &pcb->pcb_fpregs, *lenp); 82 struct pcb * const pcb = lwp_getpcb(l); local in function:process_write_fpregs 86 memcpy(&pcb->pcb_fpregs, fpregs, len);
|
/src/sys/arch/powerpc/booke/ |
kcopy.c | 43 #include <machine/pcb.h> 58 struct pcb * const pcb = lwp_getpcb(curlwp); local in function:kcopy 59 struct faultbuf * const saved_onfault = pcb->pcb_onfault; 66 pcb->pcb_onfault = saved_onfault;
|
/src/sys/arch/powerpc/powerpc/ |
core_machdep.c | 57 #include <machine/pcb.h> 68 struct pcb * const pcb = lwp_getpcb(l); local in function:cpu_coredump 83 md_core.fpstate = pcb->pcb_fpu; 89 md_core.vstate = pcb->pcb_vr;
|
/src/sys/arch/aarch64/include/ |
pcb.h | 1 /* $NetBSD: pcb.h,v 1.2 2018/12/27 09:55:27 mrg Exp $ */ 39 struct pcb { struct 51 #include <arm/pcb.h>
|
/src/sys/arch/alpha/alpha/ |
compat_13_machdep.c | 68 struct pcb *pcb; local in function:compat_13_sys_sigreturn 96 pcb = lwp_getpcb(l); 98 memcpy(&pcb->pcb_fp, (struct fpreg *)ksc.sc_fpregs,
|
process_machdep.c | 76 struct pcb *pcb = lwp_getpcb(l); local in function:process_read_regs 80 regs->r_regs[R_SP] = pcb->pcb_hw.apcb_usp; 87 struct pcb *pcb = lwp_getpcb(l); local in function:process_write_regs 91 pcb->pcb_hw.apcb_usp = regs->r_regs[R_SP]; 117 struct pcb *pcb = lwp_getpcb(l); local in function:process_read_fpregs 121 memcpy(regs, &pcb->pcb_fp, sizeof(struct fpreg)); 128 struct pcb *pcb = lwp_getpcb(l) local in function:process_write_fpregs [all...] |
sys_machdep.c | 239 struct pcb *pcb; local in function:cpu_lwp_setprivate 241 pcb = lwp_getpcb(l); 242 pcb->pcb_hw.apcb_unique = (unsigned long)addr; 244 alpha_pal_wrunique(pcb->pcb_hw.apcb_unique);
|
/src/sys/arch/arm/arm/ |
process_machdep.c | 148 #include <machine/pcb.h> 181 const struct pcb * const pcb = lwp_getpcb(l); local in function:process_read_fpregs 183 regs->fpr_vfp = pcb->pcb_vfp; 217 struct pcb * const pcb = lwp_getpcb(l); local in function:process_write_fpregs 219 pcb->pcb_vfp = regs->fpr_vfp; 220 pcb->pcb_vfp.vfp_fpexc &= ~VFP_FPEXC_EN;
|
/src/sys/arch/hppa/hppa/ |
process_machdep.c | 44 #include <machine/pcb.h> 113 struct pcb *pcb = lwp_getpcb(l); local in function:process_read_fpregs 116 memcpy(fpregs, pcb->pcb_fpregs, sizeof(*fpregs)); 182 struct pcb *pcb = lwp_getpcb(l); local in function:process_write_fpregs 185 memcpy(pcb->pcb_fpregs, fpregs, sizeof(*fpregs));
|
/src/sys/arch/or1k/include/ |
pcb.h | 1 /* $NetBSD: pcb.h,v 1.1 2014/09/03 19:34:26 matt Exp $ */ 37 struct pcb { struct
|
/src/sys/arch/riscv/riscv/ |
process_machdep.c | 67 struct pcb * const pcb = lwp_getpcb(l); local in function:process_read_fpregs 75 *fpregs = pcb->pcb_fpregs; 83 struct pcb * const pcb = lwp_getpcb(l); local in function:process_write_fpregs 86 pcb->pcb_fpregs = *fpregs;
|
fpu.c | 76 struct pcb * const pcb = lwp_getpcb(l); local in function:fpu_state_save 77 struct fpreg * const fp = &pcb->pcb_fpregs; 133 struct pcb * const pcb = lwp_getpcb(l); local in function:fpu_state_load 134 struct fpreg * const fp = &pcb->pcb_fpregs;
|
/src/sys/arch/arm/arm32/ |
sys_machdep.c | 57 #include <machine/pcb.h> 97 struct pcb * const pcb = lwp_getpcb(l); local in function:arm32_vfp_fpscr 107 retval[0] = pcb->pcb_vfp.vfp_fpscr; 116 pcb->pcb_vfp.vfp_fpscr &= ~ua.fpscr_clear; 117 pcb->pcb_vfp.vfp_fpscr |= ua.fpscr_set;
|
/src/sys/arch/hppa/include/ |
pcb.h | 1 /* $NetBSD: pcb.h,v 1.10 2019/04/16 12:25:17 skrll Exp $ */ 3 /* $OpenBSD: pcb.h,v 1.6 2000/01/12 07:24:35 mickey Exp $ */ 37 struct pcb { struct
|
/src/sys/arch/usermode/include/ |
pcb.h | 1 /* $NetBSD: pcb.h,v 1.17 2012/01/14 17:42:51 reinoud Exp $ */ 38 struct pcb { struct
|
/src/sys/arch/mips/mips/ |
process_machdep.c | 112 #include <mips/pcb.h> 143 struct pcb * const pcb = lwp_getpcb(l); local in function:process_read_fpregs 152 memcpy(regs, &pcb->pcb_fpregs, sizeof(*regs)); 159 struct pcb * const pcb = lwp_getpcb(l); local in function:process_write_fpregs 171 memcpy(&pcb->pcb_fpregs, regs, regslen);
|
/src/sys/arch/alpha/include/ |
pcb.h | 1 /* $NetBSD: pcb.h,v 1.22 2019/04/06 03:06:24 thorpej Exp $ */ 45 * PCB: process control block 52 * It's said in the VMS PALcode section of the AARM that the pcb address 55 * So we cache the physical address of the pcb in the md_proc struct. 57 struct pcb { struct 64 #define FPCPU_LOCK(pcb) mutex_enter(&(pcb)->pcb_fpcpu_lock) 65 #define FPCPU_UNLOCK(pcb) mutex_exit(&(pcb)->pcb_fpcpu_lock) 68 * The pcb is augmented with machine-dependent additional data fo [all...] |