Home
last modified time | relevance | path

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

/f-stack/freebsd/arm64/arm64/
H A Ddebug_monitor.c190 WRITE_SPECIALREG(mdscr_el1, READ_SPECIALREG(mdscr_el1) | in kdb_cpu_set_singlestep()
200 READ_SPECIALREG(mdscr_el1) & ~DBG_MDSCR_MDE); in kdb_cpu_set_singlestep()
208 WRITE_SPECIALREG(mdscr_el1, READ_SPECIALREG(mdscr_el1) & in kdb_cpu_clear_singlestep()
214 READ_SPECIALREG(mdscr_el1) | DBG_MDSCR_MDE); in kdb_cpu_clear_singlestep()
218 READ_SPECIALREG(mdscr_el1) | DBG_MDSCR_KDE); in kdb_cpu_clear_singlestep()
446 mdscr = READ_SPECIALREG(mdscr_el1); in dbg_register_sync()
477 dbg_watchpoint_num = ((READ_SPECIALREG(id_aa64dfr0_el1) >> 20) & 0xf) + 1; in dbg_monitor_init()
478 dbg_breakpoint_num = ((READ_SPECIALREG(id_aa64dfr0_el1) >> 12) & 0xf) + 1; in dbg_monitor_init()
527 READ_SPECIALREG(mdscr_el1) & in dbg_monitor_enter()
561 READ_SPECIALREG(mdscr_el1) & in dbg_monitor_exit()
H A Dtrap.c396 far = READ_SPECIALREG(far_el1); in do_el1h_sync()
438 printf(" far: %16lx\n", READ_SPECIALREG(far_el1)); in do_el1h_sync()
455 get_pcpu(), READ_SPECIALREG(tpidr_el1))); in do_el0_sync()
461 far = READ_SPECIALREG(far_el1); in do_el0_sync()
478 far = READ_SPECIALREG(far_el1); in do_el0_sync()
558 READ_SPECIALREG(mdscr_el1) & ~DBG_MDSCR_SS); in do_el0_sync()
585 far = READ_SPECIALREG(far_el1); in do_serror()
599 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()
236 pfr = READ_SPECIALREG(id_aa64pfr0_el1); in vfp_init()
H A Didentcpu.c1027 value = READ_SPECIALREG(midr_el1); in user_mrs_handler()
1030 value = READ_SPECIALREG(mpidr_el1); in user_mrs_handler()
1033 value = READ_SPECIALREG(revidr_el1); in user_mrs_handler()
1728 cpu_desc[cpu].ctr = READ_SPECIALREG(ctr_el0); in identify_cpu()
1729 cpu_desc[cpu].id_aa64dfr0 = READ_SPECIALREG(id_aa64dfr0_el1); in identify_cpu()
1730 cpu_desc[cpu].id_aa64dfr1 = READ_SPECIALREG(id_aa64dfr1_el1); in identify_cpu()
1731 cpu_desc[cpu].id_aa64isar0 = READ_SPECIALREG(id_aa64isar0_el1); in identify_cpu()
1732 cpu_desc[cpu].id_aa64isar1 = READ_SPECIALREG(id_aa64isar1_el1); in identify_cpu()
1733 cpu_desc[cpu].id_aa64mmfr0 = READ_SPECIALREG(id_aa64mmfr0_el1); in identify_cpu()
1736 cpu_desc[cpu].id_aa64pfr0 = READ_SPECIALREG(id_aa64pfr0_el1); in identify_cpu()
[all …]
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 Dmp_machdep.c216 mpidr = READ_SPECIALREG(mpidr_el1) & CPU_AFF_MASK; in init_secondary()
260 KASSERT(pmap_to_ttbr0(pmap0) == READ_SPECIALREG(ttbr0_el1), in init_secondary()
643 __pcpu[0].pc_mpidr = READ_SPECIALREG(mpidr_el1) & CPU_AFF_MASK; in cpu_mp_start()
H A Dmachdep.c142 id_aa64mfr1 = READ_SPECIALREG(id_aa64mmfr1_el1); in pan_setup()
163 READ_SPECIALREG(sctlr_el1) & ~SCTLR_SPAN); in pan_enable()
1164 identify_cache(READ_SPECIALREG(ctr_el0)); in cache_setup()
1166 dczid_el0 = READ_SPECIALREG(dczid_el0); in cache_setup()
1372 db_printf(__STRING(reg) " = %#016lx\n", READ_SPECIALREG(reg)) in DB_SHOW_COMMAND()
H A Dgic_v3_reg.h414 val = READ_SPECIALREG(icc_ ##reg ##_el1); \
H A Delf32_machdep.c135 if (ID_AA64PFR0_EL0_VAL(READ_SPECIALREG(id_aa64pfr0_el1)) != in elf32_arm_abi_supported()
H A Dgic_v3.c1062 sre = READ_SPECIALREG(icc_sre_el1); in gic_v3_cpu_enable_sre()
1069 sre = READ_SPECIALREG(icc_sre_el1); in gic_v3_cpu_enable_sre()
H A Dpmap.c958 KASSERT((READ_SPECIALREG(tcr_el1) & TCR_A1) == 0, in pmap_bootstrap()
1104 (READ_SPECIALREG(tcr_el1) & TCR_ASID_16) != 0 ? 16 : 8); in pmap_init()
1107 mmfr1 = READ_SPECIALREG(id_aa64mmfr1_el1); in pmap_init()
1761 pmap->pm_l0_paddr = READ_SPECIALREG(ttbr0_el1); in pmap_pinit0()
/f-stack/freebsd/arm64/include/
H A Dcpufunc.h155 midr = READ_SPECIALREG(midr_el1); in get_midr()
165 mpidr = READ_SPECIALREG(mpidr_el1); in get_mpidr()
H A Dcpu.h187 ret = READ_SPECIALREG(cntvct_el0); in get_cyclecount()
H A Darmreg.h59 #define READ_SPECIALREG(reg) \ macro
/f-stack/freebsd/arm/arm/
H A Dgeneric_timer.c132 #define get_el0(x) READ_SPECIALREG(x ##_el0)
133 #define get_el1(x) READ_SPECIALREG(x ##_el1)
/f-stack/freebsd/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()