| /freebsd-14.2/sys/arm64/arm64/ |
| H A D | cpu_errata.c | 128 PCPU_SET(bp_harden, smccc_arch_workaround_1); in install_psci_bp_hardening() 164 PCPU_SET(ssbd, smccc_arch_workaround_2); in install_ssbd_workaround() 181 PCPU_SET(bcast_tlbi_workaround, 1); in install_thunderx_bcast_tlbi_workaround() 185 PCPU_SET(bcast_tlbi_workaround, 1); in install_thunderx_bcast_tlbi_workaround() 188 PCPU_SET(bcast_tlbi_workaround, 1); in install_thunderx_bcast_tlbi_workaround()
|
| H A D | vfp.c | 178 PCPU_SET(fpcurthread, NULL); in vfp_discard() 725 PCPU_SET(fpcurthread, td); in vfp_restore_state_common() 1101 PCPU_SET(fpcurthread, NULL); in fpu_kern_enter()
|
| /freebsd-14.2/sys/i386/i386/ |
| H A D | mp_machdep.c | 316 PCPU_SET(currentldt, _default_ldt); in init_secondary() 318 PCPU_SET(trampstk, (uintptr_t)ap_tramp_stack_base + TRAMP_STACK_SZ - in init_secondary() 326 PCPU_SET(tss_gdt, &gdt[myid * NGDT + GPROC0_SEL].sd); in init_secondary() 327 PCPU_SET(common_tssd, *PCPU_GET(tss_gdt)); in init_secondary() 330 PCPU_SET(fsgs_gdt, &gdt[myid * NGDT + GUFS_SEL].sd); in init_secondary() 331 PCPU_SET(copyout_buf, ap_copyout_buf); in init_secondary() 671 PCPU_SET(smp_tlb_done, generation); in invltlb_handler() 690 PCPU_SET(smp_tlb_done, generation); in invlpg_handler() 717 PCPU_SET(smp_tlb_done, generation); in invlrng_handler() 739 PCPU_SET(smp_tlb_done, generation); in invlcache_handler()
|
| H A D | machdep.c | 1470 PCPU_SET(prvspace, pc); in init386() 1471 PCPU_SET(curthread, &thread0); in init386() 1505 PCPU_SET(fsgs_gdt, &gdt[GUFS_SEL].sd); in init386() 1513 PCPU_SET(tss_gdt, &gdt[GPROC0_SEL].sd); in init386() 1585 PCPU_SET(curpcb, thread0.td_pcb); in init386() 1589 PCPU_SET(kesp0, common_tss0.tss_esp0); in init386() 1634 PCPU_SET(fsgs_gdt, &gdt[GUFS_SEL].sd); in machdep_init_trampoline() 1635 PCPU_SET(tss_gdt, &gdt[GPROC0_SEL].sd); in machdep_init_trampoline() 1637 PCPU_SET(common_tssp, tss); in machdep_init_trampoline() 1692 PCPU_SET(currentldt, _default_ldt); in machdep_init_trampoline() [all …]
|
| H A D | npx.c | 536 PCPU_SET(fpcurthread, NULL); in npxexit() 812 PCPU_SET(fpcurthread, td); in restore_npx_curthread() 907 PCPU_SET(fpcurthread, NULL); in npxswitch() 964 PCPU_SET(fpcurthread, NULL); in npxdrop() 1425 PCPU_SET(fpcurthread, NULL); in fpu_kern_enter()
|
| H A D | sys_machdep.c | 326 PCPU_SET(private_tss, 1); in i386_extend_pcb() 418 PCPU_SET(currentldt, GSEL(GUSERLDT_SEL, SEL_KPL)); in set_user_ldt_locked() 494 PCPU_SET(currentldt, _default_ldt); in user_ldt_free()
|
| /freebsd-14.2/sys/arm/arm/ |
| H A D | vfp.c | 147 PCPU_SET(vfpsid, fpsid); /* save the fpsid */ in vfp_init() 155 PCPU_SET(vfpmvfr0, tmp); in vfp_init() 165 PCPU_SET(vfpmvfr1, tmp); in vfp_init() 262 PCPU_SET(fpcurthread, curthread); in vfp_bounce() 379 PCPU_SET(fpcurthread, NULL); in vfp_discard() 453 PCPU_SET(fpcurthread, NULL); in fpu_kern_enter()
|
| H A D | cpuinfo.c | 374 PCPU_SET(bp_harden_kind, kind); in apply_bp_hardening() 376 PCPU_SET(bp_harden_kind, PCPU_BP_HARDEN_KIND_NONE); in apply_bp_hardening() 479 PCPU_SET(bp_harden_kind, PCPU_BP_HARDEN_KIND_NONE); in handle_bp_hardening() 484 PCPU_SET(bp_harden_kind, PCPU_BP_HARDEN_KIND_NONE); in handle_bp_hardening() 501 PCPU_SET(original_actlr, cp15_actlr_get()); in cpuinfo_init_bp_hardening()
|
| /freebsd-14.2/sys/amd64/amd64/ |
| H A D | machdep.c | 1198 PCPU_SET(prvspace, pc); in amd64_bsp_pcpu_init1() 1200 PCPU_SET(curthread, &thread0); in amd64_bsp_pcpu_init1() 1201 PCPU_SET(tssp, PCPU_PTR(common_tss)); in amd64_bsp_pcpu_init1() 1202 PCPU_SET(tss, (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); in amd64_bsp_pcpu_init1() 1204 PCPU_SET(fs32p, &gdt[GUFS32_SEL]); in amd64_bsp_pcpu_init1() 1205 PCPU_SET(gs32p, &gdt[GUGS32_SEL]); in amd64_bsp_pcpu_init1() 1206 PCPU_SET(ucr3_load_mask, PMAP_UCR3_NOMASK); in amd64_bsp_pcpu_init1() 1207 PCPU_SET(smp_tlb_gen, 1); in amd64_bsp_pcpu_init1() 1214 PCPU_SET(rsp0, rsp0); in amd64_bsp_pcpu_init2() 1215 PCPU_SET(pti_rsp0, ((vm_offset_t)PCPU_PTR(pti_stack) + in amd64_bsp_pcpu_init2() [all …]
|
| H A D | mp_machdep.c | 626 PCPU_SET(smp_tlb_addr1, addr1); in smp_targeted_tlb_shootdown_native() 627 PCPU_SET(smp_tlb_addr2, addr2); in smp_targeted_tlb_shootdown_native() 628 PCPU_SET(smp_tlb_pmap, pmap); in smp_targeted_tlb_shootdown_native() 632 PCPU_SET(smp_tlb_gen, generation); in smp_targeted_tlb_shootdown_native() 633 PCPU_SET(smp_tlb_op, op); in smp_targeted_tlb_shootdown_native() 833 PCPU_SET(ucr3_load_mask, ~CR3_PCID_SAVE); in invltlb_invpcid_pti_handler() 861 PCPU_SET(ucr3_load_mask, ~CR3_PCID_SAVE); in invltlb_pcid_handler()
|
| H A D | initcpu.c | 264 PCPU_SET(small_core, 1); in cpu_init_small_core() 267 PCPU_SET(pcid_invlpg_workaround, 1); in cpu_init_small_core()
|
| H A D | fpu.c | 494 PCPU_SET(fpcurthread, NULL); in fpuexit() 742 PCPU_SET(fpcurthread, td); in restore_fpu_curthread() 825 PCPU_SET(fpcurthread, NULL); in fpu_activate_sw() 840 PCPU_SET(fpcurthread, NULL); in fpudrop() 1166 PCPU_SET(fpcurthread, NULL); in fpu_kern_enter()
|
| H A D | efirt_machdep.c | 305 PCPU_SET(curpmap, NULL); in efi_arch_enter() 331 PCPU_SET(curpmap, curpmap); in efi_arch_leave()
|
| /freebsd-14.2/sys/powerpc/powerpc/ |
| H A D | altivec.c | 100 PCPU_SET(vecthread, td); in enable_vec() 160 PCPU_SET(vecthread, NULL); in save_vec()
|
| H A D | fpu.c | 116 PCPU_SET(fputhread, td); in enable_fpu() 196 PCPU_SET(fputhread, NULL); in save_fpu()
|
| /freebsd-14.2/sys/riscv/include/ |
| H A D | pcpu.h | 81 #define PCPU_SET(member,value) (get_pcpu()->pc_ ## member = (value)) macro
|
| /freebsd-14.2/sys/kern/ |
| H A D | kern_idle.c | 72 PCPU_SET(idlethread, td); in idle_setup()
|
| H A D | kern_synch.c | 536 PCPU_SET(switchtime, new_switchtime); in mi_switch() 539 PCPU_SET(switchticks, ticks); in mi_switch() 556 PCPU_SET(deadthread, NULL); in mi_switch()
|
| /freebsd-14.2/sys/arm64/include/ |
| H A D | pcpu.h | 86 #define PCPU_SET(member,value) (pcpup->pc_ ## member = (value)) macro
|
| /freebsd-14.2/sys/i386/acpica/ |
| H A D | acpi_wakeup.c | 286 PCPU_SET(switchtime, 0); in acpi_wakeup_machdep() 287 PCPU_SET(switchticks, ticks); in acpi_wakeup_machdep()
|
| /freebsd-14.2/sys/arm/include/ |
| H A D | pcpu.h | 137 #define PCPU_SET(member,value) (get_pcpu()->pc_ ## member = (value)) macro
|
| /freebsd-14.2/sys/powerpc/aim/ |
| H A D | aim_machdep.c | 763 PCPU_SET(restore, &resetjb); in mpc745x_sleep() 795 PCPU_SET(curthread, curthread); in mpc745x_sleep() 796 PCPU_SET(curpcb, curthread->td_pcb); in mpc745x_sleep()
|
| /freebsd-14.2/sys/powerpc/include/ |
| H A D | pcpu.h | 170 #define PCPU_SET(member,value) (pcpup->pc_ ## member = (value)) macro
|
| /freebsd-14.2/sys/amd64/acpica/ |
| H A D | acpi_wakeup.c | 276 PCPU_SET(switchtime, 0); in acpi_wakeup_machdep() 277 PCPU_SET(switchticks, ticks); in acpi_wakeup_machdep()
|
| /freebsd-14.2/sys/i386/include/ |
| H A D | pcpu.h | 197 #define PCPU_SET(member, val) __PCPU_SET(pc_ ## member, val) macro
|