/freebsd/sys/arm64/arm64/ |
H A D | cpu_errata.c | 127 PCPU_SET(bp_harden, smccc_arch_workaround_1); in install_psci_bp_hardening() 163 PCPU_SET(ssbd, smccc_arch_workaround_2); in install_ssbd_workaround() 180 PCPU_SET(bcast_tlbi_workaround, 1); in install_thunderx_bcast_tlbi_workaround() 184 PCPU_SET(bcast_tlbi_workaround, 1); in install_thunderx_bcast_tlbi_workaround() 187 PCPU_SET(bcast_tlbi_workaround, 1); in install_thunderx_bcast_tlbi_workaround()
|
/freebsd/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 | 1464 PCPU_SET(prvspace, pc); in init386() 1465 PCPU_SET(curthread, &thread0); in init386() 1499 PCPU_SET(fsgs_gdt, &gdt[GUFS_SEL].sd); in init386() 1507 PCPU_SET(tss_gdt, &gdt[GPROC0_SEL].sd); in init386() 1508 PCPU_SET(common_tssd, *PCPU_GET(tss_gdt)); in init386() 1580 PCPU_SET(curpcb, thread0.td_pcb); in init386() 1584 PCPU_SET(kesp0, common_tss0.tss_esp0); in init386() 1629 PCPU_SET(fsgs_gdt, &gdt[GUFS_SEL].sd); in machdep_init_trampoline() 1630 PCPU_SET(tss_gdt, &gdt[GPROC0_SEL].sd); in machdep_init_trampoline() 1631 PCPU_SET(common_tssd, *PCPU_GET(tss_gdt)); in machdep_init_trampoline() [all …]
|
H A D | npx.c | 534 PCPU_SET(fpcurthread, NULL); in npxexit() 810 PCPU_SET(fpcurthread, td); in restore_npx_curthread() 905 PCPU_SET(fpcurthread, NULL); in npxswitch() 962 PCPU_SET(fpcurthread, NULL); in npxdrop() 1419 PCPU_SET(fpcurthread, NULL); in fpu_kern_enter()
|
H A D | sys_machdep.c | 324 PCPU_SET(private_tss, 1); in i386_extend_pcb() 416 PCPU_SET(currentldt, GSEL(GUSERLDT_SEL, SEL_KPL)); in set_user_ldt_locked() 492 PCPU_SET(currentldt, _default_ldt); in user_ldt_free()
|
/freebsd/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 | 373 PCPU_SET(bp_harden_kind, kind); in apply_bp_hardening() 375 PCPU_SET(bp_harden_kind, PCPU_BP_HARDEN_KIND_NONE); in apply_bp_hardening() 478 PCPU_SET(bp_harden_kind, PCPU_BP_HARDEN_KIND_NONE); in handle_bp_hardening() 483 PCPU_SET(bp_harden_kind, PCPU_BP_HARDEN_KIND_NONE); in handle_bp_hardening() 500 PCPU_SET(original_actlr, cp15_actlr_get()); in cpuinfo_init_bp_hardening()
|
/freebsd/sys/amd64/amd64/ |
H A D | machdep.c | 1194 PCPU_SET(prvspace, pc); in amd64_bsp_pcpu_init1() 1196 PCPU_SET(curthread, &thread0); in amd64_bsp_pcpu_init1() 1197 PCPU_SET(tssp, PCPU_PTR(common_tss)); in amd64_bsp_pcpu_init1() 1198 PCPU_SET(tss, (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); in amd64_bsp_pcpu_init1() 1199 PCPU_SET(ldt, (struct system_segment_descriptor *)&gdt[GUSERLDT_SEL]); in amd64_bsp_pcpu_init1() 1200 PCPU_SET(fs32p, &gdt[GUFS32_SEL]); in amd64_bsp_pcpu_init1() 1201 PCPU_SET(gs32p, &gdt[GUGS32_SEL]); in amd64_bsp_pcpu_init1() 1202 PCPU_SET(ucr3_load_mask, PMAP_UCR3_NOMASK); in amd64_bsp_pcpu_init1() 1203 PCPU_SET(smp_tlb_gen, 1); in amd64_bsp_pcpu_init1() 1210 PCPU_SET(rsp0, rsp0); 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 | efirt_machdep.c | 305 PCPU_SET(curpmap, NULL); in efi_arch_enter() 331 PCPU_SET(curpmap, curpmap); in efi_arch_leave()
|
H A D | fpu.c | 499 PCPU_SET(fpcurthread, NULL); in fpuexit() 747 PCPU_SET(fpcurthread, td); in restore_fpu_curthread() 830 PCPU_SET(fpcurthread, NULL); in fpu_activate_sw() 845 PCPU_SET(fpcurthread, NULL); in fpudrop() 1167 PCPU_SET(fpcurthread, NULL); in fpu_kern_enter()
|
/freebsd/sys/powerpc/powerpc/ |
H A D | altivec.c | 99 PCPU_SET(vecthread, td); in enable_vec() 159 PCPU_SET(vecthread, NULL); in save_vec()
|
H A D | fpu.c | 115 PCPU_SET(fputhread, td); in enable_fpu() 195 PCPU_SET(fputhread, NULL); in save_fpu()
|
/freebsd/sys/riscv/include/ |
H A D | pcpu.h | 82 #define PCPU_SET(member,value) (get_pcpu()->pc_ ## member = (value)) macro
|
/freebsd/sys/kern/ |
H A D | kern_idle.c | 71 PCPU_SET(idlethread, td); in idle_setup()
|
H A D | kern_synch.c | 518 PCPU_SET(switchtime, new_switchtime); in mi_switch() 521 PCPU_SET(switchticks, ticks); in mi_switch() 538 PCPU_SET(deadthread, NULL); in mi_switch()
|
/freebsd/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/sys/arm64/include/ |
H A D | pcpu.h | 85 #define PCPU_SET(member,value) (pcpup->pc_ ## member = (value)) macro
|
/freebsd/sys/powerpc/aim/ |
H A D | aim_machdep.c | 764 PCPU_SET(restore, &resetjb); in mpc745x_sleep() 796 PCPU_SET(curthread, curthread); in mpc745x_sleep() 797 PCPU_SET(curpcb, curthread->td_pcb); in mpc745x_sleep()
|
/freebsd/sys/arm/include/ |
H A D | pcpu.h | 137 #define PCPU_SET(member,value) (get_pcpu()->pc_ ## member = (value)) macro
|
/freebsd/sys/amd64/acpica/ |
H A D | acpi_wakeup.c | 278 PCPU_SET(switchtime, 0); in acpi_wakeup_machdep() 279 PCPU_SET(switchticks, ticks); in acpi_wakeup_machdep()
|
/freebsd/sys/riscv/riscv/ |
H A D | machdep.c | 458 PCPU_SET(hart, boot_hart); in parse_boot_hartid() 529 PCPU_SET(curthread, &thread0); in initriscv()
|
/freebsd/sys/powerpc/include/ |
H A D | pcpu.h | 170 #define PCPU_SET(member,value) (pcpup->pc_ ## member = (value)) macro
|
/freebsd/sys/i386/include/ |
H A D | pcpu.h | 190 #define PCPU_SET(member, val) __PCPU_SET(pc_ ## member, val) 197 #define PCPU_SET(member, val) __PCPU_SET( global() macro
|