Home
last modified time | relevance | path

Searched refs:xlat_regime (Results 1 – 10 of 10) sorted by relevance

/tf-a-ffa_el3_spmc/lib/xlat_tables_v2/aarch32/
A Dxlat_tables_arch.c60 if (ctx->xlat_regime == EL1_EL0_REGIME) { in is_mmu_enabled_ctx()
64 assert(ctx->xlat_regime == EL2_REGIME); in is_mmu_enabled_ctx()
79 uint64_t xlat_arch_regime_get_xn_desc(int xlat_regime) in xlat_arch_regime_get_xn_desc() argument
81 if (xlat_regime == EL1_EL0_REGIME) { in xlat_arch_regime_get_xn_desc()
84 assert(xlat_regime == EL2_REGIME); in xlat_arch_regime_get_xn_desc()
89 void xlat_arch_tlbi_va(uintptr_t va, int xlat_regime) in xlat_arch_tlbi_va() argument
97 if (xlat_regime == EL1_EL0_REGIME) { in xlat_arch_tlbi_va()
100 assert(xlat_regime == EL2_REGIME); in xlat_arch_tlbi_va()
156 uintptr_t max_va, __unused int xlat_regime) in setup_mmu_cfg() argument
176 if (xlat_regime == EL1_EL0_REGIME) { in setup_mmu_cfg()
[all …]
/tf-a-ffa_el3_spmc/lib/xlat_tables_v2/aarch64/
A Dxlat_tables_arch.c130 assert(ctx->xlat_regime == EL3_REGIME); in is_mmu_enabled_ctx()
151 if (xlat_regime == EL1_EL0_REGIME) { in xlat_arch_regime_get_xn_desc()
154 assert((xlat_regime == EL2_REGIME) || in xlat_arch_regime_get_xn_desc()
155 (xlat_regime == EL3_REGIME)); in xlat_arch_regime_get_xn_desc()
175 if (xlat_regime == EL1_EL0_REGIME) { in xlat_arch_tlbi_va()
178 } else if (xlat_regime == EL2_REGIME) { in xlat_arch_tlbi_va()
182 assert(xlat_regime == EL3_REGIME); in xlat_arch_tlbi_va()
222 uintptr_t max_va, int xlat_regime) in setup_mmu_cfg() argument
273 if (xlat_regime == EL1_EL0_REGIME) { in setup_mmu_cfg()
279 } else if (xlat_regime == EL2_REGIME) { in setup_mmu_cfg()
[all …]
/tf-a-ffa_el3_spmc/lib/xlat_tables_v2/
A Dxlat_tables_context.c97 assert(tf_xlat_ctx.xlat_regime == EL_REGIME_INVALID); in init_xlat_tables()
102 tf_xlat_ctx.xlat_regime = EL1_EL0_REGIME; in init_xlat_tables()
104 tf_xlat_ctx.xlat_regime = EL2_REGIME; in init_xlat_tables()
107 tf_xlat_ctx.xlat_regime = EL3_REGIME; in init_xlat_tables()
144 if (tf_xlat_ctx.xlat_regime == EL1_EL0_REGIME) { in xlat_make_tables_readonly()
146 } else if (tf_xlat_ctx.xlat_regime == EL3_REGIME) { in xlat_make_tables_readonly()
149 assert(tf_xlat_ctx.xlat_regime == EL2_REGIME); in xlat_make_tables_readonly()
156 assert(tf_xlat_ctx.xlat_regime == EL1_EL0_REGIME); in xlat_make_tables_readonly()
174 if (tf_xlat_ctx.xlat_regime == EL1_EL0_REGIME) { in xlat_make_tables_readonly()
177 assert(tf_xlat_ctx.xlat_regime == EL3_REGIME); in xlat_make_tables_readonly()
A Dxlat_tables_utils.c55 int xlat_regime = ctx->xlat_regime; in xlat_desc_print() local
66 if ((xlat_regime == EL3_REGIME) || (xlat_regime == EL2_REGIME)) { in xlat_desc_print()
71 assert(xlat_regime == EL1_EL0_REGIME); in xlat_desc_print()
210 if (ctx->xlat_regime == EL1_EL0_REGIME) { in xlat_tables_print()
212 } else if (ctx->xlat_regime == EL2_REGIME) { in xlat_tables_print()
215 assert(ctx->xlat_regime == EL3_REGIME); in xlat_tables_print()
342 assert((ctx->xlat_regime == EL1_EL0_REGIME) || in xlat_get_mem_attributes_internal()
343 (ctx->xlat_regime == EL2_REGIME) || in xlat_get_mem_attributes_internal()
344 (ctx->xlat_regime == EL3_REGIME)); in xlat_get_mem_attributes_internal()
398 if (ctx->xlat_regime == EL1_EL0_REGIME) { in xlat_get_mem_attributes_internal()
[all …]
A Dxlat_tables_private.h47 uint64_t xlat_arch_regime_get_xn_desc(int xlat_regime);
60 void xlat_arch_tlbi_va(uintptr_t va, int xlat_regime);
A Dxlat_tables_core.c140 if (ctx->xlat_regime == EL1_EL0_REGIME) { in xlat_desc()
149 assert((ctx->xlat_regime == EL2_REGIME) || in xlat_desc()
150 (ctx->xlat_regime == EL3_REGIME)); in xlat_desc()
173 desc |= xlat_arch_regime_get_xn_desc(ctx->xlat_regime); in xlat_desc()
389 xlat_arch_tlbi_va(table_idx_va, ctx->xlat_regime); in xlat_tables_unmap_region()
409 ctx->xlat_regime); in xlat_tables_unmap_region()
1157 int xlat_regime, int *mapped_regions) in xlat_setup_dynamic_ctx() argument
1159 ctx->xlat_regime = xlat_regime; in xlat_setup_dynamic_ctx()
1189 assert((ctx->xlat_regime == EL3_REGIME) || in init_xlat_tables_ctx()
1190 (ctx->xlat_regime == EL2_REGIME) || in init_xlat_tables_ctx()
[all …]
/tf-a-ffa_el3_spmc/include/lib/xlat_tables/
A Dxlat_tables_v2_helpers.h112 int xlat_regime; member
175 .xlat_regime = (_xlat_regime) \
A Dxlat_mmu_helpers.h68 uintptr_t max_va, int xlat_regime);
A Dxlat_tables_v2.h245 int xlat_regime, int *mapped_regions);
/tf-a-ffa_el3_spmc/services/std_svc/spm/spmc/
A Dspmc_setup.c136 sp->xlat_ctx_handle->xlat_regime = in spmc_el0_sp_setup()

Completed in 12 milliseconds