Home
last modified time | relevance | path

Searched refs:PCPU_SET (Results 1 – 25 of 58) sorted by relevance

123

/freebsd/sys/i386/i386/
H A Dmp_machdep.c316 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()
669 PCPU_SET(smp_tlb_done, generation); in invltlb_handler()
688 PCPU_SET(smp_tlb_done, generation); in invlpg_handler()
715 PCPU_SET(smp_tlb_done, generation); in invlrng_handler()
737 PCPU_SET(smp_tlb_done, generation); in invlcache_handler()
H A Dmachdep.c1457 PCPU_SET(prvspace, pc); in init386()
1458 PCPU_SET(curthread, &thread0); in init386()
1492 PCPU_SET(fsgs_gdt, &gdt[GUFS_SEL].sd); in init386()
1500 PCPU_SET(tss_gdt, &gdt[GPROC0_SEL].sd); in init386()
1501 PCPU_SET(common_tssd, *PCPU_GET(tss_gdt)); in init386()
1574 PCPU_SET(curpcb, thread0.td_pcb); in init386()
1578 PCPU_SET(kesp0, common_tss0.tss_esp0); in init386()
1623 PCPU_SET(fsgs_gdt, &gdt[GUFS_SEL].sd); in machdep_init_trampoline()
1624 PCPU_SET(tss_gdt, &gdt[GPROC0_SEL].sd); in machdep_init_trampoline()
1625 PCPU_SET(common_tssd, *PCPU_GET(tss_gdt)); in machdep_init_trampoline()
[all …]
H A Dnpx.c534 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()
/freebsd/sys/arm64/arm64/
H A Dcpu_errata.c84 PCPU_SET(bcast_tlbi_workaround, 1); in install_thunderx_bcast_tlbi_workaround()
88 PCPU_SET(bcast_tlbi_workaround, 1); in install_thunderx_bcast_tlbi_workaround()
91 PCPU_SET(bcast_tlbi_workaround, 1); in install_thunderx_bcast_tlbi_workaround()
H A Dspec_workaround.c107 PCPU_SET(bp_harden, smccc_arch_workaround_1); in psci_bp_hardening_enable()
157 PCPU_SET(ssbd, smccc_arch_workaround_2); in ssbd_workaround_enable()
/freebsd/sys/arm/arm/
H A Dvfp.c147 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 Dcpuinfo.c373 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 Dmachdep.c1203 PCPU_SET(prvspace, pc); in amd64_bsp_pcpu_init1()
1205 PCPU_SET(curthread, &thread0); in amd64_bsp_pcpu_init1()
1206 PCPU_SET(tssp, PCPU_PTR(common_tss)); in amd64_bsp_pcpu_init1()
1207 PCPU_SET(tss, (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); in amd64_bsp_pcpu_init1()
1208 PCPU_SET(ldt, (struct system_segment_descriptor *)&gdt[GUSERLDT_SEL]); in amd64_bsp_pcpu_init1()
1209 PCPU_SET(fs32p, &gdt[GUFS32_SEL]); in amd64_bsp_pcpu_init1()
1210 PCPU_SET(gs32p, &gdt[GUGS32_SEL]); in amd64_bsp_pcpu_init1()
1211 PCPU_SET(ucr3_load_mask, PMAP_UCR3_NOMASK); in amd64_bsp_pcpu_init1()
1212 PCPU_SET(smp_tlb_gen, 1); in amd64_bsp_pcpu_init1()
1219 PCPU_SET(rsp0, rsp0); in amd64_bsp_pcpu_init2()
[all …]
H A Dmp_machdep.c639 PCPU_SET(smp_tlb_addr1, addr1); in smp_targeted_tlb_shootdown_native()
640 PCPU_SET(smp_tlb_addr2, addr2); in smp_targeted_tlb_shootdown_native()
641 PCPU_SET(smp_tlb_pmap, pmap); in smp_targeted_tlb_shootdown_native()
645 PCPU_SET(smp_tlb_gen, generation); in smp_targeted_tlb_shootdown_native()
646 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 Dinitcpu.c264 PCPU_SET(small_core, 1); in cpu_init_small_core()
267 PCPU_SET(pcid_invlpg_workaround, 1); in cpu_init_small_core()
H A Dfpu.c492 PCPU_SET(fpcurthread, NULL); in fpuexit()
740 PCPU_SET(fpcurthread, td); in restore_fpu_curthread()
823 PCPU_SET(fpcurthread, NULL); in fpu_activate_sw()
838 PCPU_SET(fpcurthread, NULL); in fpudrop()
1160 PCPU_SET(fpcurthread, NULL); in fpu_kern_enter()
H A Defirt_machdep.c339 PCPU_SET(curpmap, NULL); in efi_arch_enter()
369 PCPU_SET(curpmap, curpmap); in efi_arch_leave()
/freebsd/sys/powerpc/powerpc/
H A Daltivec.c99 PCPU_SET(vecthread, td); in enable_vec()
159 PCPU_SET(vecthread, NULL); in save_vec()
H A Dfpu.c126 PCPU_SET(fputhread, td); in enable_fpu()
217 PCPU_SET(fputhread, NULL); in save_fpu()
/freebsd/sys/riscv/include/
H A Dpcpu.h82 #define PCPU_SET(member,value) (get_pcpu()->pc_ ## member = (value)) macro
/freebsd/sys/kern/
H A Dkern_idle.c71 PCPU_SET(idlethread, td); in idle_setup()
H A Dkern_synch.c514 PCPU_SET(switchtime, new_switchtime); in mi_switch()
517 PCPU_SET(switchticks, ticks); in mi_switch()
534 PCPU_SET(deadthread, NULL); in mi_switch()
/freebsd/sys/arm64/include/
H A Dpcpu.h84 #define PCPU_SET(member,value) (get_pcpu()->pc_ ## member = (value)) macro
/freebsd/sys/i386/acpica/
H A Dacpi_wakeup.c286 PCPU_SET(switchtime, 0); in acpi_wakeup_machdep()
287 PCPU_SET(switchticks, ticks); in acpi_wakeup_machdep()
/freebsd/sys/powerpc/aim/
H A Daim_machdep.c764 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 Dpcpu.h137 #define PCPU_SET(member,value) (get_pcpu()->pc_ ## member = (value)) macro
/freebsd/sys/powerpc/include/
H A Dpcpu.h171 #define PCPU_SET(member,value) (pcpup->pc_ ## member = (value)) macro
/freebsd/sys/amd64/acpica/
H A Dacpi_wakeup.c274 PCPU_SET(switchtime, 0); in acpi_wakeup_machdep()
275 PCPU_SET(switchticks, ticks); in acpi_wakeup_machdep()
/freebsd/sys/i386/include/
H A Dpcpu.h190 #define PCPU_SET(member, val) __PCPU_SET(pc_ ## member, val) macro
/freebsd/sys/riscv/riscv/
H A Dmachdep.c455 PCPU_SET(hart, boot_hart); in parse_boot_hartid()
576 PCPU_SET(curthread, &thread0); in initriscv()

123