Home
last modified time | relevance | path

Searched refs:READ_SPECIALREG (Results 1 – 24 of 24) sorted by relevance

/freebsd-13.1/sys/arm64/arm64/
H A Ddebug_monitor.c189 KASSERT((READ_SPECIALREG(daif) & PSR_D) == PSR_D, in kdb_cpu_set_singlestep()
193 WRITE_SPECIALREG(mdscr_el1, READ_SPECIALREG(mdscr_el1) | in kdb_cpu_set_singlestep()
203 READ_SPECIALREG(mdscr_el1) & ~MDSCR_MDE); in kdb_cpu_set_singlestep()
211 KASSERT((READ_SPECIALREG(daif) & PSR_D) == PSR_D, in kdb_cpu_clear_singlestep()
214 WRITE_SPECIALREG(mdscr_el1, READ_SPECIALREG(mdscr_el1) & in kdb_cpu_clear_singlestep()
220 READ_SPECIALREG(mdscr_el1) | MDSCR_MDE); in kdb_cpu_clear_singlestep()
224 READ_SPECIALREG(mdscr_el1) | MDSCR_KDE); in kdb_cpu_clear_singlestep()
483 mdscr = READ_SPECIALREG(mdscr_el1); in dbg_register_sync()
514 dbg_watchpoint_num = ((READ_SPECIALREG(id_aa64dfr0_el1) >> 20) & 0xf) + 1; in dbg_monitor_init()
564 READ_SPECIALREG(mdscr_el1) & ~(MDSCR_MDE | MDSCR_KDE)); in dbg_monitor_enter()
[all …]
H A Dtrap.c456 far = READ_SPECIALREG(far_el1); in do_el1h_sync()
498 print_gp_register("far", READ_SPECIALREG(far_el1)); in do_el1h_sync()
515 get_pcpu(), READ_SPECIALREG(tpidr_el1))); in do_el0_sync()
521 far = READ_SPECIALREG(far_el1); in do_el0_sync()
538 far = READ_SPECIALREG(far_el1); in do_el0_sync()
620 READ_SPECIALREG(mdscr_el1) & ~MDSCR_SS); in do_el0_sync()
649 far = READ_SPECIALREG(far_el1); in do_serror()
663 far = READ_SPECIALREG(far_el1); in unhandled_exception()
H A Dvfp.c65 cpacr = READ_SPECIALREG(cpacr_el1); in vfp_enable()
76 cpacr = READ_SPECIALREG(cpacr_el1); in vfp_disable()
190 cpacr = READ_SPECIALREG(cpacr_el1); in vfp_save_state()
256 pfr = READ_SPECIALREG(id_aa64pfr0_el1); in vfp_init()
H A Didentcpu.c1484 value = READ_SPECIALREG(midr_el1); in user_mrs_handler()
1487 value = READ_SPECIALREG(mpidr_el1); in user_mrs_handler()
1490 value = READ_SPECIALREG(revidr_el1); in user_mrs_handler()
2115 cpu_desc[cpu].ctr = READ_SPECIALREG(ctr_el0); in identify_cpu()
2116 cpu_desc[cpu].id_aa64dfr0 = READ_SPECIALREG(id_aa64dfr0_el1); in identify_cpu()
2117 cpu_desc[cpu].id_aa64dfr1 = READ_SPECIALREG(id_aa64dfr1_el1); in identify_cpu()
2123 cpu_desc[cpu].id_aa64pfr0 = READ_SPECIALREG(id_aa64pfr0_el1); in identify_cpu()
2124 cpu_desc[cpu].id_aa64pfr1 = READ_SPECIALREG(id_aa64pfr1_el1); in identify_cpu()
2129 cpu_desc[cpu].id_isar5 = READ_SPECIALREG(id_isar5_el1); in identify_cpu()
2130 cpu_desc[cpu].mvfr0 = READ_SPECIALREG(mvfr0_el1); in identify_cpu()
[all …]
H A Dmachdep.c157 id_aa64mfr1 = READ_SPECIALREG(id_aa64mmfr1_el1); in pan_setup()
178 READ_SPECIALREG(sctlr_el1) & ~SCTLR_SPAN); in pan_enable()
665 identify_cache(READ_SPECIALREG(ctr_el0)); in cache_setup()
667 dczid_el0 = READ_SPECIALREG(dczid_el0); in cache_setup()
900 db_printf(__STRING(reg) " = %#016lx\n", READ_SPECIALREG(reg)) in DB_SHOW_COMMAND()
H A Dvm_machdep.c82 td1->td_pcb->pcb_tpidr_el0 = READ_SPECIALREG(tpidr_el0); in cpu_fork()
83 td1->td_pcb->pcb_tpidrro_el0 = READ_SPECIALREG(tpidrro_el0); in cpu_fork()
H A Dgdb_machdep.c121 gdb_tx_varhex((uintmax_t)READ_SPECIALREG(far_el1)); in gdb_cpu_stop_reason()
H A Dmp_machdep.c215 mpidr = READ_SPECIALREG(mpidr_el1) & CPU_AFF_MASK; in init_secondary()
259 KASSERT(pmap_to_ttbr0(pmap0) == READ_SPECIALREG(ttbr0_el1), in init_secondary()
671 __pcpu[0].pc_mpidr = READ_SPECIALREG(mpidr_el1) & CPU_AFF_MASK; in cpu_mp_start()
H A Dexec_machdep.c129 READ_SPECIALREG(mdscr_el1) | MDSCR_SS); in set_regs()
470 READ_SPECIALREG(mdscr_el1) | MDSCR_SS); in set_mcontext()
631 READ_SPECIALREG(mdscr_el1) & ~MDSCR_SS); in sendsig()
H A Dfreebsd32_machdep.c224 READ_SPECIALREG(mdscr_el1) | MDSCR_SS); in set_mcontext32()
435 READ_SPECIALREG(mdscr_el1) & ~MDSCR_SS); in freebsd32_sendsig()
H A Delf32_machdep.c146 if (ID_AA64PFR0_EL0_VAL(READ_SPECIALREG(id_aa64pfr0_el1)) != in elf32_arm_abi_supported()
H A Dgic_v3_reg.h491 val = READ_SPECIALREG(icc_ ##reg ##_el1); \
H A Dgic_v3.c1061 sre = READ_SPECIALREG(icc_sre_el1); in gic_v3_cpu_enable_sre()
1068 sre = READ_SPECIALREG(icc_sre_el1); in gic_v3_cpu_enable_sre()
H A Dpmap.c947 KASSERT((READ_SPECIALREG(tcr_el1) & TCR_A1) == 0, in pmap_bootstrap()
1093 (READ_SPECIALREG(tcr_el1) & TCR_ASID_16) != 0 ? 16 : 8); in pmap_init()
1096 mmfr1 = READ_SPECIALREG(id_aa64mmfr1_el1); in pmap_init()
1754 pmap->pm_l0_paddr = READ_SPECIALREG(ttbr0_el1); in pmap_pinit0()
/freebsd-13.1/stand/efi/libefi/
H A Dtime_arm64.c48 timer_freq = READ_SPECIALREG(cntfrq_el0); in efi_time_init()
61 t = READ_SPECIALREG(cntvct_el0) / timer_freq; in time()
/freebsd-13.1/stand/arm64/libarm64/
H A Dcache.c89 ctr = READ_SPECIALREG(ctr_el0); in cpu_flush_dcache()
116 ctr = READ_SPECIALREG(ctr_el0); in cpu_inval_icache()
/freebsd-13.1/sys/arm64/include/
H A Dcpufunc.h162 midr = READ_SPECIALREG(midr_el1); in get_midr()
172 mpidr = READ_SPECIALREG(mpidr_el1); in get_mpidr()
H A Dcpu.h189 ret = READ_SPECIALREG(cntvct_el0); in get_cyclecount()
H A Darmreg.h62 #define READ_SPECIALREG(reg) \ macro
/freebsd-13.1/sys/dev/hwpmc/
H A Dhwpmc_arm64.c121 reg = READ_SPECIALREG(pmcr_el0); in arm64_pmcr_read()
148 return (READ_SPECIALREG(pmxevcntr_el0)); in arm64_pmcn_read()
219 if ((READ_SPECIALREG(pmovsclr_el0) & reg) != 0) { in arm64_read_pmc()
381 if ((READ_SPECIALREG(pmovsclr_el0) & reg) == 0) in arm64_intr()
/freebsd-13.1/sys/cddl/dev/dtrace/aarch64/
H A Ddtrace_subr.c166 count = READ_SPECIALREG(cntvct_el0); in dtrace_gethrtime()
167 freq = READ_SPECIALREG(cntfrq_el0); in dtrace_gethrtime()
/freebsd-13.1/stand/libsa/
H A Dtslog.c86 uint64_t tsc = READ_SPECIALREG(cntvct_el0); in tslog()
/freebsd-13.1/sys/arm/arm/
H A Dgeneric_timer.c132 #define get_el0(x) READ_SPECIALREG(x ##_el0)
133 #define get_el1(x) READ_SPECIALREG(x ##_el1)
/freebsd-13.1/sys/crypto/armv8/
H A Darmv8_crypto.c111 reg = READ_SPECIALREG(id_aa64isar0_el1); in armv8_crypto_probe()
144 reg = READ_SPECIALREG(id_aa64isar0_el1); in armv8_crypto_attach()