/freebsd/sys/arm64/vmm/ |
H A D | vmm_hyp.c | 278 WRITE_SPECIALREG(hcr_el2, hypctx->hcr_el2); in vmm_hyp_reg_restore() 283 WRITE_SPECIALREG(MRS_REG_ALT_NAME(HCRX_EL2), hypctx->hcrx_el2); in vmm_hyp_reg_restore() 288 WRITE_SPECIALREG(sp_el0, hypctx->sp_el0); in vmm_hyp_reg_restore() 289 WRITE_SPECIALREG(tpidr_el0, hypctx->tpidr_el0); in vmm_hyp_reg_restore() 290 WRITE_SPECIALREG(tpidrro_el0, hypctx->tpidrro_el0); in vmm_hyp_reg_restore() 291 WRITE_SPECIALREG(tpidr_el1, hypctx->tpidr_el1); in vmm_hyp_reg_restore() 293 WRITE_SPECIALREG(actlr_el1, hypctx->actlr_el1); in vmm_hyp_reg_restore() 294 WRITE_SPECIALREG(csselr_el1, hypctx->csselr_el1); in vmm_hyp_reg_restore() 295 WRITE_SPECIALREG(mdccint_el1, hypctx->mdccint_el1); in vmm_hyp_reg_restore() 296 WRITE_SPECIALREG(mdscr_el1, hypctx->mdscr_el1); in vmm_hyp_reg_restore() [all …]
|
H A D | vmm_arm64.c | 153 WRITE_SPECIALREG(vtcr_el2, el2_regs->vtcr_el2); in arm_setup_vectors()
|
/freebsd/sys/dev/hwpmc/ |
H A D | hwpmc_arm64.c | 66 WRITE_SPECIALREG(pmintenset_el1, reg); in arm64_interrupt_enable() 80 WRITE_SPECIALREG(pmintenclr_el1, reg); in arm64_interrupt_disable() 94 WRITE_SPECIALREG(pmcntenset_el0, reg); in arm64_counter_enable() 108 WRITE_SPECIALREG(pmcntenclr_el0, reg); in arm64_counter_disable() 130 WRITE_SPECIALREG(pmcr_el0, reg); in arm64_pmcr_write() 144 WRITE_SPECIALREG(pmselr_el0, pmc); in arm64_pmcn_read() 157 WRITE_SPECIALREG(pmselr_el0, pmc); in arm64_pmcn_write() 158 WRITE_SPECIALREG(pmxevcntr_el0, reg); in arm64_pmcn_write() 244 WRITE_SPECIALREG(pmovsclr_el0, reg); in arm64_read_pmc() 323 WRITE_SPECIALREG(pmselr_el [all...] |
/freebsd/sys/arm64/arm64/ |
H A D | debug_monitor.c | 225 WRITE_SPECIALREG(mdscr_el1, READ_SPECIALREG(mdscr_el1) | in kdb_cpu_clear_singlestep() 234 WRITE_SPECIALREG(mdscr_el1, in kdb_cpu_clear_singlestep() 249 WRITE_SPECIALREG(mdscr_el1, READ_SPECIALREG(mdscr_el1) & in kdb_cpu_set_watchpoint() 254 WRITE_SPECIALREG(mdscr_el1, in kdb_cpu_set_watchpoint() 258 WRITE_SPECIALREG(mdscr_el1, in kdb_cpu_set_watchpoint() 625 WRITE_SPECIALREG(mdscr_el1, mdscr); 686 WRITE_SPECIALREG(mdscr_el1, 719 WRITE_SPECIALREG(mdscr_el1,
|
H A D | vm_machdep.c | 241 WRITE_SPECIALREG(tpidrro_el0, tls_base); in cpu_set_user_tls() 242 WRITE_SPECIALREG(tpidr_el0, tls_base); in cpu_set_user_tls() 247 WRITE_SPECIALREG(tpidr_el0, tls_base); in cpu_set_user_tls()
|
H A D | freebsd32_machdep.c | 84 WRITE_SPECIALREG(tpidr_el0, uap->parms); in freebsd32_sysarch() 85 WRITE_SPECIALREG(tpidrro_el0, uap->parms); in freebsd32_sysarch() 238 WRITE_SPECIALREG(mdscr_el1, in set_mcontext32() 447 WRITE_SPECIALREG(mdscr_el1, in freebsd32_sendsig()
|
H A D | ptrauth.c | 229 WRITE_SPECIALREG(sctlr_el1, sctlr); in ptrauth_start() 265 WRITE_SPECIALREG(sctlr_el1, sctlr); in ptrauth_mp_start()
|
H A D | exec_machdep.c | 138 WRITE_SPECIALREG(mdscr_el1, in set_regs() 414 WRITE_SPECIALREG(tpidrro_el0, 0); in exec_setregs() 415 WRITE_SPECIALREG(tpidr_el0, 0); in exec_setregs() 505 WRITE_SPECIALREG(mdscr_el1, in set_mcontext() 816 WRITE_SPECIALREG(mdscr_el1, in sendsig()
|
H A D | vfp.c | 131 WRITE_SPECIALREG(cpacr_el1, cpacr); in vfp_enable() 145 WRITE_SPECIALREG(cpacr_el1, cpacr); in sve_enable() 159 WRITE_SPECIALREG(cpacr_el1, cpacr); in vfp_disable() 876 WRITE_SPECIALREG(ZCR_EL1_REG, ZCR_LEN_MASK); in sve_pcpu_read()
|
H A D | gic_v3_reg.h | 505 WRITE_SPECIALREG(icc_ ##reg ##_el1, val); \
|
H A D | machdep.c | 198 WRITE_SPECIALREG(sctlr_el1, in pan_enable() 907 WRITE_SPECIALREG(oslar_el1, 0); in dbg_init()
|
H A D | trap.c | 729 WRITE_SPECIALREG(mdscr_el1, in do_el0_sync()
|
H A D | identcpu.c | 2332 WRITE_SPECIALREG(sctlr_el1, in user_ctr_enable() 2833 WRITE_SPECIALREG(tcr_el1, tcr); in tcr_set_e0pd1() 3284 WRITE_SPECIALREG(csselr_el1, in identify_cpu() 3291 WRITE_SPECIALREG(csselr_el1, CSSELR_Level(i)); in identify_cpu()
|
H A D | gic_v3.c | 1270 WRITE_SPECIALREG(icc_sre_el1, sre); in gic_v3_cpu_enable_sre()
|
H A D | pmap.c | 1679 WRITE_SPECIALREG(tcr_el1, tcr); in pmap_dbm_enable() 8911 WRITE_SPECIALREG(ttbr0_el1, ttbr0); in pmap_set_cnp() 8912 WRITE_SPECIALREG(ttbr1_el1, ttbr1); in pmap_set_cnp()
|
/freebsd/sys/arm64/include/ |
H A D | cpufunc.h | 82 WRITE_SPECIALREG(daif, s); in intr_restore()
|
H A D | armreg.h | 75 #define WRITE_SPECIALREG(reg, _val) \ macro
|
/freebsd/sys/arm64/apple/ |
H A D | apple_aic.c | 611 WRITE_SPECIALREG(AIC_IPI_SR_EL1, AIC_IPI_SR_EL1_PENDING); in apple_aic_fiq() 704 WRITE_SPECIALREG(AIC_IPI_LOCAL_RR_EL1, in apple_aic_ipi_send() 708 WRITE_SPECIALREG(AIC_IPI_GLOBAL_RR_EL1, in apple_aic_ipi_send()
|
/freebsd/sys/arm64/vmm/io/ |
H A D | vtimer.c | 108 WRITE_SPECIALREG(cntv_ctl_el0, cntv_ctl); in vtimer_virtual_timer_intr() 225 WRITE_SPECIALREG(cntv_ctl_el0, cntv_ctl); in vtimer_vmcleanup()
|
/freebsd/sys/arm64/linux/ |
H A D | linux_sysvec.c | 177 WRITE_SPECIALREG(tpidrro_el0, 0); in linux_exec_setregs() 178 WRITE_SPECIALREG(tpidr_el0, 0); in linux_exec_setregs()
|
/freebsd/sys/arm/arm/ |
H A D | generic_timer.c | 184 #define set_el0(x, val) WRITE_SPECIALREG(x ##_el0, val) 185 #define set_el1(x, val) WRITE_SPECIALREG(x ##_el1, val)
|