/freebsd-11-stable/gnu/usr.bin/gdb/kgdb/ |
H A D | trgt_powerpc.c | 32 #include <sys/powerpc/include/pcb.h> 35 #include <machine/pcb.h> 55 return (kgdb_trgt_stop_pcb(cpuid, sizeof(struct pcb))); 62 struct pcb pcb; local 71 if (kvm_read(kvm, kt->pcb, &pcb, sizeof(pcb)) != sizeof(pcb)) { 73 memset(&pcb, [all...] |
H A D | trgt_powerpc64.c | 31 #include <machine/pcb.h> 50 return (kgdb_trgt_stop_pcb(cpuid, sizeof(struct pcb))); 57 struct pcb pcb; local 66 if (kvm_read(kvm, kt->pcb, &pcb, sizeof(pcb)) != sizeof(pcb)) { 68 memset(&pcb, 0, sizeof(pcb)); [all...] |
H A D | trgt_sparc64.c | 32 #include <machine/pcb.h> 52 return (kgdb_trgt_stop_pcb(cpuid, sizeof(struct pcb))); 59 struct pcb pcb; local 64 if (kvm_read(kvm, kt->pcb, &pcb, sizeof(pcb)) != sizeof(pcb)) { 66 memset(&pcb, 0, sizeof(pcb)); [all...] |
H A D | trgt_mips.c | 35 #include <machine/pcb.h> 50 #include <machine/pcb.h> 58 return (kgdb_trgt_stop_pcb(cpuid, sizeof(struct pcb))); 66 struct pcb pcb; local 71 if (kvm_read(kvm, kt->pcb, &pcb, sizeof(pcb)) != sizeof(pcb)) { 73 memset(&pcb, [all...] |
H A D | trgt_arm.c | 32 #include <machine/pcb.h> 54 return (kgdb_trgt_stop_pcb(cpuid, sizeof(struct pcb))); 65 struct pcb pcb; local 71 if (kvm_read(kvm, kt->pcb, &pcb, sizeof(pcb)) != sizeof(pcb)) { 73 memset(&pcb, 0, sizeof(pcb)); [all...] |
/freebsd-11-stable/sys/arm64/arm64/ |
H A D | vfp.c | 41 #include <machine/pcb.h> 45 CTASSERT(sizeof(((struct pcb *)0)->pcb_vfp) == 16 * 32); 85 vfp_save_state(struct thread *td, struct pcb *pcb) argument 91 KASSERT(pcb != NULL, ("NULL vfp pcb")); 92 KASSERT(td == NULL || td->td_pcb == pcb, ("Invalid vfp pcb")); 107 vfp_state = pcb->pcb_vfp; 129 pcb [all...] |
H A D | genassym.c | 37 #include <machine/pcb.h> 47 /* Size of pcb, rounded to keep stack alignment */ 48 ASSYM(PCB_SIZE, roundup2(sizeof(struct pcb), STACKALIGNBYTES + 1)); 50 ASSYM(PCB_REGS, offsetof(struct pcb, pcb_x)); 51 ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp)); 52 ASSYM(PCB_L0ADDR, offsetof(struct pcb, pcb_l0addr)); 53 ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault)); 54 ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags));
|
/freebsd-11-stable/sys/arm/arm/ |
H A D | genassym.c | 46 #include <machine/pcb.h> 66 ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault)); 68 ASSYM(PCB_DACR, offsetof(struct pcb, pcb_dacr)); 70 ASSYM(PCB_PAGEDIR, offsetof(struct pcb, pcb_pagedir)); 72 ASSYM(PCB_L1VEC, offsetof(struct pcb, pcb_l1vec)); 73 ASSYM(PCB_PL1VEC, offsetof(struct pcb, pcb_pl1vec)); 75 ASSYM(PCB_R4, offsetof(struct pcb, pcb_regs.sf_r4)); 76 ASSYM(PCB_R5, offsetof(struct pcb, pcb_regs.sf_r5)); 77 ASSYM(PCB_R6, offsetof(struct pcb, pcb_regs.sf_r6)); 78 ASSYM(PCB_R7, offsetof(struct pcb, pcb_reg [all...] |
/freebsd-11-stable/sys/riscv/riscv/ |
H A D | genassym.c | 52 #include <machine/pcb.h> 65 ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault)); 66 ASSYM(PCB_L1ADDR, offsetof(struct pcb, pcb_l1addr)); 67 ASSYM(PCB_SIZE, sizeof(struct pcb)); 68 ASSYM(PCB_RA, offsetof(struct pcb, pcb_ra)); 69 ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp)); 70 ASSYM(PCB_GP, offsetof(struct pcb, pcb_gp)); 71 ASSYM(PCB_TP, offsetof(struct pcb, pcb_tp)); 72 ASSYM(PCB_T, offsetof(struct pcb, pcb_t)); 73 ASSYM(PCB_S, offsetof(struct pcb, pcb_ [all...] |
H A D | vm_machdep.c | 54 #include <machine/pcb.h> 59 * Copy and update the pcb, set up the stack so that the child 65 struct pcb *pcb2; 71 pcb2 = (struct pcb *)(td2->td_kstack + 149 * Initialize machine state, mostly pcb and trap frame for a new 160 bcopy(td0->td_pcb, td->td_pcb, sizeof(struct pcb)); 190 struct pcb *pcb; local 195 pcb = td->td_pcb; 196 pcb [all...] |
/freebsd-11-stable/usr.bin/bluetooth/btsockstat/ |
H A D | btsockstat.c | 219 ng_btsocket_hci_raw_pcb_t pcb; local 230 if (kread(kvmd, (u_long) this, (char *) &pcb, sizeof(pcb)) < 0) 232 if (kread(kvmd, (u_long) pcb.so, (char *) &so, sizeof(so)) < 0) 235 next = LIST_NEXT(&pcb, next); 250 if (pcb.addr.hci_node[0] == 0) { 251 pcb.addr.hci_node[0] = '*'; 252 pcb.addr.hci_node[1] = 0; 257 (unsigned long) pcb.so, 259 pcb 274 ng_btsocket_l2cap_raw_pcb_t pcb; local 330 ng_btsocket_l2cap_pcb_t pcb; local 435 ng_btsocket_rfcomm_pcb_t pcb; local [all...] |
/freebsd-11-stable/sys/i386/include/ |
H A D | pcb.h | 32 * from: @(#)pcb.h 5.10 (Berkeley) 5/12/91 51 struct pcb { struct 91 struct pcb_ext *pcb_ext; /* optional pcb extension */ 101 struct pcb sp_pcb; 110 void makectx(struct trapframe *, struct pcb *); 111 int savectx(struct pcb *) __returns_twice; 112 void resumectx(struct pcb *) __fastcall;
|
H A D | smp.h | 28 #include <machine/pcb.h>
|
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | vm_machdep.c | 71 #include <machine/pcb.h> 102 get_pcb_user_save_pcb(struct pcb *pcb) argument 106 p = (vm_offset_t)(pcb + 1); 110 struct pcb * 117 sizeof(struct pcb); 118 return ((struct pcb *)p); 138 * Copy and update the pcb, set up the stack so that the child 145 struct pcb *pcb2; 164 /* Ensure that td1's pcb i 303 struct pcb *pcb; local 322 struct pcb *pcb; local 351 struct pcb *pcb; local 539 struct pcb *pcb; local [all...] |
H A D | ptrace_machdep.c | 42 #include <machine/pcb.h> 145 struct pcb *pcb; local 147 pcb = td->td_pcb; 148 set_pcb_flags(pcb, PCB_FULL_IRET); 150 pcb->pcb_fsbase = r; 153 pcb->pcb_gsbase = r; 166 struct pcb *pcb; local 198 pcb 230 struct pcb *pcb; local [all...] |
H A D | genassym.c | 66 #include <machine/pcb.h> 118 ASSYM(PCB_R15, offsetof(struct pcb, pcb_r15)); 119 ASSYM(PCB_R14, offsetof(struct pcb, pcb_r14)); 120 ASSYM(PCB_R13, offsetof(struct pcb, pcb_r13)); 121 ASSYM(PCB_R12, offsetof(struct pcb, pcb_r12)); 122 ASSYM(PCB_RBP, offsetof(struct pcb, pcb_rbp)); 123 ASSYM(PCB_RSP, offsetof(struct pcb, pcb_rsp)); 124 ASSYM(PCB_RBX, offsetof(struct pcb, pcb_rbx)); 125 ASSYM(PCB_RIP, offsetof(struct pcb, pcb_rip)); 126 ASSYM(PCB_FSBASE, offsetof(struct pcb, pcb_fsbas [all...] |
H A D | fpu.c | 56 #include <machine/pcb.h> 125 * offset of the fpu save area from the pcb address. FPU save area 128 CTASSERT(sizeof(struct pcb) % XSAVE_AREA_ALIGN == 0); 624 struct pcb *pcb; local 633 pcb = td->td_pcb; 635 if ((pcb->pcb_flags & PCB_FPUINITDONE) == 0) { 646 bcopy(fpu_initialstate, pcb->pcb_save, 648 fpurestore(pcb->pcb_save); 649 if (pcb 741 struct pcb *pcb; local 789 struct pcb *pcb; local 845 struct pcb *pcb; local 1006 struct pcb *pcb; local 1059 struct pcb *pcb; local [all...] |
/freebsd-11-stable/sys/arm/include/ |
H A D | smp.h | 7 #include <machine/pcb.h> 51 extern struct pcb stoppcbs[];
|
/freebsd-11-stable/sys/mips/include/ |
H A D | smp.h | 22 #include <machine/pcb.h> 47 extern struct pcb stoppcbs[];
|
/freebsd-11-stable/sys/sparc64/include/ |
H A D | proc.h | 65 #include <machine/pcb.h> 70 (total) = td->td_kstack_pages * PAGE_SIZE - sizeof(struct pcb); \
|
/freebsd-11-stable/sys/i386/i386/ |
H A D | genassym.c | 76 #include <machine/pcb.h> 120 ASSYM(PCB_CR0, offsetof(struct pcb, pcb_cr0)); 121 ASSYM(PCB_CR2, offsetof(struct pcb, pcb_cr2)); 122 ASSYM(PCB_CR3, offsetof(struct pcb, pcb_cr3)); 123 ASSYM(PCB_CR4, offsetof(struct pcb, pcb_cr4)); 124 ASSYM(PCB_EDI, offsetof(struct pcb, pcb_edi)); 125 ASSYM(PCB_ESI, offsetof(struct pcb, pcb_esi)); 126 ASSYM(PCB_EBP, offsetof(struct pcb, pcb_ebp)); 127 ASSYM(PCB_ESP, offsetof(struct pcb, pcb_esp)); 128 ASSYM(PCB_EBX, offsetof(struct pcb, pcb_eb [all...] |
H A D | vm_machdep.c | 76 #include <machine/pcb.h> 115 get_pcb_user_save_pcb(struct pcb *pcb) argument 119 p = (vm_offset_t)(pcb + 1); 123 struct pcb * 130 sizeof(struct pcb); 131 return ((struct pcb *)p); 150 * Copy and update the pcb, set up the stack so that the child 157 struct pcb *pcb2; 182 /* Ensure that td1's pcb i 342 struct pcb *pcb; local 370 struct pcb *pcb; local [all...] |
/freebsd-11-stable/sys/i386/isa/ |
H A D | npx.c | 64 #include <machine/pcb.h> 172 * offset of the fpu save area from the pcb address. FPU save area 175 CTASSERT(sizeof(struct pcb) % XSAVE_AREA_ALIGN == 0); 795 restore_npx_curthread(struct thread *td, struct pcb *pcb) argument 807 if ((pcb->pcb_flags & PCB_NPXINITDONE) == 0) { 818 bcopy(npx_initialstate, pcb->pcb_save, cpu_max_ext_state_size); 819 fpurstor(pcb->pcb_save); 820 if (pcb->pcb_initial_npxcw != __INITIAL_NPXCW__) 821 fldcw(pcb 891 npxswitch(struct thread *td, struct pcb *pcb) argument 967 struct pcb *pcb; local 1028 struct pcb *pcb; local 1079 struct pcb *pcb; local 1367 struct pcb *pcb; local 1394 struct pcb *pcb; local [all...] |
/freebsd-11-stable/sys/powerpc/powerpc/ |
H A D | exec_machdep.c | 90 #include <machine/pcb.h> 345 makectx(struct trapframe *tf, struct pcb *pcb) argument 348 pcb->pcb_lr = tf->srr0; 349 pcb->pcb_sp = tf->fixreg[1]; 359 struct pcb *pcb; local 362 pcb = td->td_pcb; 380 if (pcb->pcb_flags & PCB_FPREGS) { 381 if (pcb 440 struct pcb *pcb; local 610 struct pcb *pcb; local 648 struct pcb *pcb; local 935 struct pcb *pcb; local 1048 ppc_instr_emulate(struct trapframe *frame, struct pcb *pcb) argument [all...] |
/freebsd-11-stable/sys/x86/acpica/ |
H A D | acpi_wakeup.c | 57 #include <machine/pcb.h> 123 struct pcb *pcb; local 128 pcb = &susppcbs[cpu]->sp_pcb; 129 WAKECODE_FIXUP(wakeup_pcb, struct pcb *, pcb); 130 WAKECODE_FIXUP(wakeup_gdt, uint16_t, pcb->pcb_gdt.rd_limit); 131 WAKECODE_FIXUP(wakeup_gdt + 2, uint64_t, pcb->pcb_gdt.rd_base); 195 struct pcb *pcb; local [all...] |