Home
last modified time | relevance | path

Searched defs:pcb (Results 1 – 25 of 91) sorted by relevance

1234

/openbsd/sys/arch/i386/include/
H A Dpcb.h55 struct pcb { struct
57 int pcb_cr3; argument
58 int pcb_esp; argument
59 int pcb_ebp; argument
60 int pcb_kstack; /* kernel stack address */ argument
61 int pcb_cr0; /* saved image of CR0 */ argument
62 caddr_t pcb_onfault; /* copyin/out fault recovery */ argument
63 struct segment_descriptor pcb_threadsegs[2]; argument
68 struct pmap *pcb_pmap; /* back pointer to our pmap */ argument
69 struct cpu_info *pcb_fpcpu; /* cpu holding our fpu state */ argument
[all …]
/openbsd/sys/arch/sparc64/include/
H A Dpcb.h127 struct pcb { struct
128 u_int64_t pcb_sp; /* sp (%o6) when switch() was called */ argument
129 u_int64_t pcb_pc; /* pc (%o7) when switch() was called */ argument
130 caddr_t pcb_onfault; /* for copyin/out */ argument
131 …short pcb_pstate; /* %pstate when switch() was called -- may be useful if we support multiple memo… argument
132 char pcb_nsaved; /* number of windows saved in pcb */ argument
135 char pcb_cwp; /* %cwp when switch() was called */ argument
136 char pcb_pil; /* %pil when switch() was called -- probably not needed */ argument
139 u_int64_t pcb_wcookie; argument
142 struct rwindow pcb_rw[PCB_MAXWIN]; /* saved windows */ argument
[all …]
/openbsd/sys/arch/amd64/include/
H A Dpcb.h78 struct pcb { struct
79 struct savefpu pcb_savefpu; /* floating point state */ argument
80 u_int64_t pcb_cr3; argument
81 u_int64_t pcb_rsp; argument
82 u_int64_t pcb_rbp; argument
83 u_int64_t pcb_kstack; /* kernel stack address */ argument
84 u_int64_t pcb_fsbase; /* per-thread offset: %fs */ argument
85 caddr_t pcb_onfault; /* copyin/out fault recovery */ argument
86 struct pmap *pcb_pmap; /* back pointer to our pmap */ argument
/openbsd/sys/arch/powerpc/include/
H A Dpcb.h47 struct pcb { struct
48 struct pmap *pcb_pm; /* pmap of our vmspace */ argument
49 struct pmap *pcb_pmreal; /* real address of above */ argument
50 register_t pcb_sp; /* saved SP */ argument
51 faultbuf *pcb_onfault; /* For use during copyin/copyout */ argument
52 int pcb_flags; argument
57 } pcb_fpu; /* Floating point processor */ argument
58 struct vreg *pcb_vr; /* Vector unit */ argument
59 struct cpu_info *pcb_fpcpu; argument
60 struct cpu_info *pcb_veccpu; argument
/openbsd/sys/arch/arm64/include/
H A Dpcb.h31 struct pcb { struct
32 u_int pcb_flags; argument
35 struct trapframe *pcb_tf; argument
37 register_t pcb_sp; // stack pointer of switchframe argument
39 caddr_t pcb_onfault; // On fault handler argument
40 struct fpreg pcb_fpstate; // Floating Point state */ argument
42 void *pcb_tcb; argument
/openbsd/sys/arch/powerpc64/include/
H A Dpcb.h25 struct pcb { struct
26 register_t pcb_sp; argument
27 u_int pcb_flags; argument
31 struct slb pcb_slb[32]; argument
32 vaddr_t pcb_onfault; argument
33 vaddr_t pcb_userva; argument
34 struct fpreg pcb_fpstate; argument
/openbsd/sys/arch/alpha/include/
H A Dpcb.h52 struct pcb { struct
53 struct alpha_pcb pcb_hw; /* PALcode defined */ argument
54 unsigned long pcb_context[9]; /* s[0-6], ra, ps [SW] */ argument
55 struct fpreg pcb_fp; /* FP registers [SW] */ argument
56 unsigned long pcb_onfault; /* for copy faults [SW] */ argument
57 struct cpu_info *volatile pcb_fpcpu; /* CPU with our FP state[SW] */ argument
/openbsd/sys/arch/riscv64/include/
H A Dpcb.h32 struct pcb { struct
33 u_int pcb_flags; argument
36 struct trapframe *pcb_tf; argument
38 register_t pcb_sp; // stack pointer of switchframe argument
40 caddr_t pcb_onfault; // On fault handler argument
41 struct fpreg pcb_fpstate; // Floating Point state */ argument
/openbsd/sys/arch/mips64/include/
H A Dpcb.h48 struct pcb { struct
49 struct trapframe pcb_regs; /* saved CPU and registers */ argument
53 } pcb_context; /* kernel context for resume */ argument
54 int pcb_onfault; /* for copyin/copyout faults */ argument
55 void *pcb_segtab; /* copy of pmap pm_segtab */ argument
/openbsd/sys/arch/arm/include/
H A Dpcb.h78 struct pcb { struct
79 u_int pcb_flags; argument
81 struct trapframe *pcb_tf; argument
82 caddr_t pcb_onfault; /* On fault handler */ argument
84 struct pcb_arm32 un_32; argument
85 } pcb_un; argument
86 struct fpreg pcb_fpstate; /* Floating Point state */ argument
87 struct cpu_info *pcb_fpcpu; argument
88 void *pcb_tcb; argument
/openbsd/sys/arch/hppa/include/
H A Dpcb.h35 struct pcb { struct
36 struct hppa_fpstate *pcb_fpstate; /* not in the trapframe */ argument
38 u_int32_t pcb_ksp; /* kernel sp for ctxsw */ argument
39 u_int32_t pcb_onfault; /* SW copy fault handler */ argument
40 pa_space_t pcb_space; /* copy pmap_space, for asm's sake */ argument
/openbsd/sys/arch/sh/include/
H A Dpcb.h39 struct pcb { struct
40 struct switchframe pcb_sf; /* kernel context for resume */ argument
41 caddr_t pcb_onfault; /* for copyin/out fault */ argument
42 struct fpreg pcb_fp; /* fp context for resume */ argument
/openbsd/sys/arch/powerpc/powerpc/
H A Dprocess_machdep.c50 struct pcb *pcb = &p->p_addr->u_pcb; in process_read_regs() local
78 struct pcb *pcb = &p->p_addr->u_pcb; in process_read_fpregs() local
125 struct pcb *pcb = &p->p_addr->u_pcb; in process_write_regs() local
159 struct pcb *pcb = &p->p_addr->u_pcb; in process_write_fpregs() local
H A Dfpu.c46 struct pcb *pcb = &p->p_addr->u_pcb; in enable_fpu() local
107 struct pcb *pcb; in save_fpu() local
H A Dvm_machdep.c61 struct pcb *pcb = &p2->p_addr->u_pcb; in cpu_fork() local
146 struct pcb *pcb = &p->p_addr->u_pcb; in cpu_exit() local
/openbsd/sys/arch/arm64/arm64/
H A Dfpu.c28 struct pcb *pcb = &p->p_addr->u_pcb; in fpu_save() local
80 struct pcb *pcb = &p->p_addr->u_pcb; in fpu_load() local
158 struct pcb *pcb = &curproc->p_addr->u_pcb; in fpu_kernel_enter() local
/openbsd/sys/arch/m88k/include/
H A Dpcb.h76 struct pcb struct
78 struct m88100_pcb kernel_state; argument
80 int pcb_onfault; argument
/openbsd/sys/arch/arm/arm/
H A Dvfp.c87 struct pcb *pcb = curpcb; in vfp_save() local
138 struct pcb *pcb = &p->p_addr->u_pcb; in vfp_load() local
176 struct pcb *pcb = &p->p_addr->u_pcb; in vfp_fault() local
H A Dsig_machdep.c81 struct pcb *pcb = &p->p_addr->u_pcb; in sendsig() local
183 struct pcb *pcb = &p->p_addr->u_pcb; in sys_sigreturn() local
/openbsd/sys/arch/riscv64/riscv64/
H A Dfpu.c41 struct pcb *pcb = &p->p_addr->u_pcb; in fpu_save() local
98 struct pcb *pcb = &p->p_addr->u_pcb; in fpu_load() local
/openbsd/sys/arch/sh/sh/
H A Dprocess_machdep.c177 struct pcb *pcb = p->p_md.md_pcb; in process_read_fpregs() local
236 struct pcb *pcb = p->p_md.md_pcb; in process_write_fpregs() local
/openbsd/sys/arch/powerpc64/powerpc64/
H A Dprocess_machdep.c51 struct pcb *pcb = &p->p_addr->u_pcb; in process_read_fpregs() local
123 struct pcb *pcb = &p->p_addr->u_pcb; in process_write_fpregs() local
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dbsd-kvm.c124 struct pcb pcb; in bsd_kvm_fetch_pcb() local
276 bsd_kvm_add_target (int (*supply_pcb)(struct regcache *, struct pcb *)) in bsd_kvm_add_target()
/openbsd/sys/arch/amd64/amd64/
H A Ddb_trace.c261 struct pcb *pcb = curpcb; in stacktrace_save_at() local
294 struct pcb *pcb = curpcb; in stacktrace_save_utrace() local
/openbsd/sys/arch/i386/i386/
H A Ddb_trace.c260 struct pcb *pcb = curpcb; in stacktrace_save_at() local
293 struct pcb *pcb = curpcb; in stacktrace_save_utrace() local

1234