Searched refs:sctlr (Results 1 – 11 of 11) sorted by relevance
/external/arm-trusted-firmware/lib/xlat_tables/aarch32/ |
D | xlat_tables.c | 74 unsigned int mair0, ttbcr, sctlr; in enable_mmu_svc_mon() local 124 sctlr = read_sctlr(); in enable_mmu_svc_mon() 125 sctlr |= SCTLR_WXN_BIT | SCTLR_M_BIT; in enable_mmu_svc_mon() 128 sctlr &= ~SCTLR_C_BIT; in enable_mmu_svc_mon() 130 sctlr |= SCTLR_C_BIT; in enable_mmu_svc_mon() 132 write_sctlr(sctlr); in enable_mmu_svc_mon()
|
D | nonlpae_tables.c | 513 unsigned int sctlr; in enable_mmu_svc_mon() local 550 sctlr = read_sctlr(); in enable_mmu_svc_mon() 551 sctlr |= SCTLR_M_BIT; in enable_mmu_svc_mon() 553 sctlr |= SCTLR_WXN_BIT; in enable_mmu_svc_mon() 557 sctlr &= ~SCTLR_C_BIT; in enable_mmu_svc_mon() 559 sctlr |= SCTLR_C_BIT; in enable_mmu_svc_mon() 562 write_sctlr(sctlr); in enable_mmu_svc_mon()
|
/external/arm-trusted-firmware/lib/xlat_tables/aarch64/ |
D | xlat_tables.c | 153 uint32_t sctlr; \ 198 sctlr = read_sctlr_el##_el(); \ 199 sctlr |= SCTLR_WXN_BIT | SCTLR_M_BIT; \ 202 sctlr &= ~SCTLR_C_BIT; \ 204 sctlr |= SCTLR_C_BIT; \ 206 write_sctlr_el##_el(sctlr); \
|
/external/arm-trusted-firmware/lib/el3_runtime/aarch32/ |
D | context_mgmt.c | 57 uint32_t scr, sctlr; in cm_setup_context() local 100 sctlr = (EP_GET_EE(ep->h.attr) != 0U) ? SCTLR_EE_BIT : 0U; in cm_setup_context() 101 sctlr |= (SCTLR_RESET_VAL & ~(SCTLR_TE_BIT | SCTLR_V_BIT)); in cm_setup_context() 102 write_ctx_reg(reg_ctx, CTX_NS_SCTLR, sctlr); in cm_setup_context()
|
/external/arm-trusted-firmware/lib/xlat_tables_v2/aarch64/ |
D | enable_mmu.S | 40 _mrs x1, sctlr, \el 72 _mrs x4, sctlr, \el 81 _msr sctlr, \el, x4
|
/external/arm-trusted-firmware/plat/arm/common/aarch64/ |
D | execution_state_switch.c | 43 u_register_t spsr, pc, scr, sctlr; in arm_execution_state_switch() local 112 sctlr = from_el2 ? read_sctlr_el2() : read_sctlr_el1(); in arm_execution_state_switch() 113 endianness = ((sctlr & SCTLR_EE_BIT) != 0U) ? 1U : 0U; in arm_execution_state_switch()
|
/external/arm-trusted-firmware/lib/psci/ |
D | psci_common.c | 631 u_register_t ep_attr, sctlr; in psci_get_ns_ep_info() local 636 sctlr = ((ns_scr_el3 & SCR_HCE_BIT) != 0U) ? in psci_get_ns_ep_info() 641 if ((sctlr & SCTLR_EE_BIT) != 0U) { in psci_get_ns_ep_info() 693 u_register_t ns_sctlr, sctlr; in psci_get_ns_ep_info() local 700 sctlr = scr & SCR_HCE_BIT ? read_hsctlr() : ns_sctlr; in psci_get_ns_ep_info() 708 if (sctlr & SCTLR_EE_BIT) { in psci_get_ns_ep_info()
|
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t194/drivers/mce/ |
D | mce.c | 176 uint64_t sctlr = read_sctlr_el3(); in mce_enable_strict_checking() local 195 if ((sctlr & (uint64_t)SCTLR_M_BIT) == (uint64_t)SCTLR_M_BIT) { in mce_enable_strict_checking()
|
/external/arm-trusted-firmware/drivers/renesas/common/pwrc/ |
D | pwrc.c | 689 uint32_t sctlr; in rcar_pwrc_set_suspend_to_ram() local 694 sctlr = (uint32_t) read_sctlr_el3(); in rcar_pwrc_set_suspend_to_ram() 695 sctlr &= (uint32_t) ~SCTLR_EL3_M_BIT; in rcar_pwrc_set_suspend_to_ram() 696 write_sctlr_el3((uint64_t) sctlr); in rcar_pwrc_set_suspend_to_ram()
|
/external/arm-trusted-firmware/docs/security_advisories/ |
D | security-advisory-tfv-3.rst | 73 sctlr = read_sctlr_el##_el(); \ 74 sctlr |= SCTLR_WXN_BIT | SCTLR_M_BIT; \
|
/external/arm-trusted-firmware/include/arch/aarch32/ |
D | arch_helpers.h | 228 DEFINE_COPROCR_RW_FUNCS(sctlr, SCTLR) in DEFINE_SYSREG_RW_FUNCS()
|