Home
last modified time | relevance | path

Searched refs:sctlr (Results 1 – 12 of 12) sorted by relevance

/trusted-firmware-a-3.6.0-3.5.0/lib/xlat_tables/aarch32/
Dxlat_tables.c74 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()
Dnonlpae_tables.c513 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()
/trusted-firmware-a-3.6.0-3.5.0/lib/xlat_tables/aarch64/
Dxlat_tables.c153 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); \
/trusted-firmware-a-3.6.0-3.5.0/lib/xlat_tables_v2/aarch64/
Denable_mmu.S40 _mrs x1, sctlr, \el
72 _mrs x4, sctlr, \el
81 _msr sctlr, \el, x4
/trusted-firmware-a-3.6.0-3.5.0/lib/el3_runtime/aarch32/
Dcontext_mgmt.c60 uint32_t scr, sctlr; in cm_setup_context() local
103 sctlr = (EP_GET_EE(ep->h.attr) != 0U) ? SCTLR_EE_BIT : 0U; in cm_setup_context()
104 sctlr |= (SCTLR_RESET_VAL & ~(SCTLR_TE_BIT | SCTLR_V_BIT)); in cm_setup_context()
105 write_ctx_reg(reg_ctx, CTX_NS_SCTLR, sctlr); in cm_setup_context()
/trusted-firmware-a-3.6.0-3.5.0/plat/arm/common/aarch64/
Dexecution_state_switch.c43 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()
/trusted-firmware-a-3.6.0-3.5.0/plat/nvidia/tegra/soc/t194/drivers/mce/
Dmce.c178 uint64_t sctlr = read_sctlr_el3(); in mce_enable_strict_checking() local
197 if ((sctlr & (uint64_t)SCTLR_M_BIT) == (uint64_t)SCTLR_M_BIT) { in mce_enable_strict_checking()
/trusted-firmware-a-3.6.0-3.5.0/services/std_svc/drtm/
Ddrtm_main.c489 uint64_t sctlr; in drtm_dl_reset_dlme_el_state() local
499 sctlr = read_sctlr_el1(); in drtm_dl_reset_dlme_el_state()
503 sctlr = read_sctlr_el2(); in drtm_dl_reset_dlme_el_state()
512 sctlr &= ~(/* Disable DLME's EL MMU, since the existing page-tables are untrusted. */ in drtm_dl_reset_dlme_el_state()
517 sctlr |= SCTLR_C_BIT | SCTLR_I_BIT; /* Allow instruction and data caching. */ in drtm_dl_reset_dlme_el_state()
521 write_sctlr_el1(sctlr); in drtm_dl_reset_dlme_el_state()
525 write_sctlr_el2(sctlr); in drtm_dl_reset_dlme_el_state()
/trusted-firmware-a-3.6.0-3.5.0/lib/psci/
Dpsci_common.c850 u_register_t ep_attr, sctlr; in psci_get_ns_ep_info() local
855 sctlr = ((ns_scr_el3 & SCR_HCE_BIT) != 0U) ? in psci_get_ns_ep_info()
860 if ((sctlr & SCTLR_EE_BIT) != 0U) { in psci_get_ns_ep_info()
912 u_register_t ns_sctlr, sctlr; in psci_get_ns_ep_info() local
919 sctlr = scr & SCR_HCE_BIT ? read_hsctlr() : ns_sctlr; in psci_get_ns_ep_info()
927 if (sctlr & SCTLR_EE_BIT) { in psci_get_ns_ep_info()
/trusted-firmware-a-3.6.0-3.5.0/docs/security_advisories/
Dsecurity-advisory-tfv-3.rst73 sctlr = read_sctlr_el##_el(); \
74 sctlr |= SCTLR_WXN_BIT | SCTLR_M_BIT; \
/trusted-firmware-a-3.6.0-3.5.0/drivers/renesas/common/pwrc/
Dpwrc.c735 uint32_t sctlr; in rcar_pwrc_set_suspend_to_ram() local
740 sctlr = (uint32_t) read_sctlr_el3(); in rcar_pwrc_set_suspend_to_ram()
741 sctlr &= (uint32_t) ~SCTLR_EL3_M_BIT; in rcar_pwrc_set_suspend_to_ram()
742 write_sctlr_el3((uint64_t) sctlr); in rcar_pwrc_set_suspend_to_ram()
/trusted-firmware-a-3.6.0-3.5.0/include/arch/aarch32/
Darch_helpers.h230 DEFINE_COPROCR_RW_FUNCS(sctlr, SCTLR) in DEFINE_SYSREG_RW_FUNCS()