Home
last modified time | relevance | path

Searched refs:localcfg (Results 1 – 11 of 11) sorted by relevance

/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/common/
Dtfm_hal_isolation.c172 struct mpu_armv8m_region_cfg_t localcfg; in tfm_hal_set_up_static_boundaries() local
187 memcpy(&localcfg, &isolation_regions[i], sizeof(localcfg)); in tfm_hal_set_up_static_boundaries()
189 localcfg.region_nr = i; in tfm_hal_set_up_static_boundaries()
191 if (mpu_armv8m_region_enable(&dev_mpu_s, &localcfg) != MPU_ARMV8M_OK) { in tfm_hal_set_up_static_boundaries()
201 memcpy(&localcfg, &region_cfg[i], sizeof(localcfg)); in tfm_hal_set_up_static_boundaries()
202 localcfg.region_nr = i; in tfm_hal_set_up_static_boundaries()
204 (struct mpu_armv8m_region_cfg_t *)&localcfg) in tfm_hal_set_up_static_boundaries()
271 struct mpu_armv8m_region_cfg_t localcfg; in tfm_hal_bind_boundary() local
328 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_bind_boundary()
329 localcfg.region_limit = plat_data_ptr->periph_limit; in tfm_hal_bind_boundary()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32l5xx/secure/
Dtfm_hal_isolation.c175 struct mpu_armv8m_region_cfg_t localcfg; in tfm_hal_set_up_static_boundaries() local
190 memcpy(&localcfg, &isolation_regions[i], sizeof(localcfg)); in tfm_hal_set_up_static_boundaries()
192 localcfg.region_nr = i; in tfm_hal_set_up_static_boundaries()
194 if (mpu_armv8m_region_enable(&dev_mpu_s, &localcfg) != MPU_ARMV8M_OK) { in tfm_hal_set_up_static_boundaries()
204 memcpy(&localcfg, &region_cfg[i], sizeof(localcfg)); in tfm_hal_set_up_static_boundaries()
205 localcfg.region_nr = i; in tfm_hal_set_up_static_boundaries()
207 (struct mpu_armv8m_region_cfg_t *)&localcfg) in tfm_hal_set_up_static_boundaries()
275 struct mpu_armv8m_region_cfg_t localcfg; in tfm_hal_bind_boundary() local
319 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_bind_boundary()
320 localcfg.region_limit = plat_data_ptr->periph_limit; in tfm_hal_bind_boundary()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_b1/
Dtfm_hal_isolation.c283 struct mpu_armv8m_region_cfg_t localcfg; in tfm_hal_bind_boundary() local
341 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_bind_boundary()
342 localcfg.region_limit = plat_data_ptr->periph_limit; in tfm_hal_bind_boundary()
343 localcfg.region_attridx = MPU_ARMV8M_MAIR_ATTR_DEVICE_IDX; in tfm_hal_bind_boundary()
344 localcfg.attr_access = MPU_ARMV8M_AP_RW_PRIV_UNPRIV; in tfm_hal_bind_boundary()
345 localcfg.attr_sh = MPU_ARMV8M_SH_NONE; in tfm_hal_bind_boundary()
346 localcfg.attr_exec = MPU_ARMV8M_XN_EXEC_NEVER; in tfm_hal_bind_boundary()
347 localcfg.region_nr = n_configured_regions++; in tfm_hal_bind_boundary()
349 if (mpu_armv8m_region_enable(&dev_mpu_s, &localcfg) in tfm_hal_bind_boundary()
394 struct mpu_armv8m_region_cfg_t localcfg; in tfm_hal_activate_boundary() local
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32u5xx/secure/
Dtfm_hal_isolation.c197 struct mpu_armv8m_region_cfg_t localcfg; in mpu_init() local
207 memcpy(&localcfg, &region_cfg[i], sizeof(localcfg)); in mpu_init()
208 localcfg.region_nr = i; in mpu_init()
211 &localcfg) != MPU_ARMV8M_OK) in mpu_init()
218 FLOW_CONTROL_STEP(uFlowProtectValue, localcfg.flow_step_enable, in mpu_init()
234 memcpy(&localcfg, &region_cfg[i], sizeof(localcfg)); in mpu_init()
235 localcfg.region_nr = i; in mpu_init()
238 &localcfg) != MPU_ARMV8M_OK) in mpu_init()
245 FLOW_CONTROL_STEP(uFlowProtectValue, localcfg.flow_step_check, in mpu_init()
366 struct mpu_armv8m_region_cfg_t localcfg; in tfm_hal_bind_boundary() local
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an519/
Dtfm_hal_isolation.c111 struct mpu_armv8m_region_cfg_t localcfg; in tfm_hal_set_up_static_boundaries() local
130 memcpy(&localcfg, &region_cfg[i], sizeof(localcfg)); in tfm_hal_set_up_static_boundaries()
131 localcfg.region_nr = i; in tfm_hal_set_up_static_boundaries()
133 (struct mpu_armv8m_region_cfg_t *)&localcfg) in tfm_hal_set_up_static_boundaries()
170 struct mpu_armv8m_region_cfg_t localcfg; in tfm_hal_bind_boundary() local
226 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_bind_boundary()
227 localcfg.region_limit = plat_data_ptr->periph_limit; in tfm_hal_bind_boundary()
228 localcfg.region_attridx = MPU_ARMV8M_MAIR_ATTR_DEVICE_IDX; in tfm_hal_bind_boundary()
229 localcfg.attr_access = MPU_ARMV8M_AP_RW_PRIV_UNPRIV; in tfm_hal_bind_boundary()
230 localcfg.attr_sh = MPU_ARMV8M_SH_NONE; in tfm_hal_bind_boundary()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an521/
Dtfm_hal_isolation.c318 struct mpu_armv8m_region_cfg_t localcfg; in tfm_hal_set_up_static_boundaries() local
329 memcpy(&localcfg, &region_cfg[i], sizeof(localcfg)); in tfm_hal_set_up_static_boundaries()
331 localcfg.region_nr = i; in tfm_hal_set_up_static_boundaries()
333 FIH_CALL(mpu_armv8m_region_enable, fih_rc, &dev_mpu_s, &localcfg); in tfm_hal_set_up_static_boundaries()
396 struct mpu_armv8m_region_cfg_t localcfg; in tfm_hal_bind_boundary() local
474 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_bind_boundary()
475 localcfg.region_limit = plat_data_ptr->periph_limit; in tfm_hal_bind_boundary()
476 localcfg.region_attridx = MPU_ARMV8M_MAIR_ATTR_DEVICE_IDX; in tfm_hal_bind_boundary()
477 localcfg.attr_access = MPU_ARMV8M_AP_RW_PRIV_UNPRIV; in tfm_hal_bind_boundary()
478 localcfg.attr_sh = MPU_ARMV8M_SH_NONE; in tfm_hal_bind_boundary()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32h5xx/secure/
Dtfm_hal_isolation.c204 struct mpu_armv8m_region_cfg_t localcfg; in mpu_init() local
215 memcpy(&localcfg, &region_cfg[i], sizeof(localcfg)); in mpu_init()
216 localcfg.region_nr = i; in mpu_init()
219 &localcfg) != MPU_ARMV8M_OK) in mpu_init()
226 FLOW_CONTROL_STEP(uFlowProtectValue, localcfg.flow_step_enable, in mpu_init()
242 memcpy(&localcfg, &region_cfg[i], sizeof(localcfg)); in mpu_init()
243 localcfg.region_nr = i; in mpu_init()
246 &localcfg) != MPU_ARMV8M_OK) in mpu_init()
253 FLOW_CONTROL_STEP(uFlowProtectValue, localcfg.flow_step_check, in mpu_init()
426 struct mpu_armv8m_region_cfg_t localcfg; in tfm_hal_bind_boundary() local
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/nxp/common/
Dtfm_hal_isolation.c343 struct mpu_armv8m_region_cfg_t localcfg; in tfm_hal_bind_boundary() local
390 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_bind_boundary()
391 localcfg.region_limit = plat_data_ptr->periph_limit; in tfm_hal_bind_boundary()
392 localcfg.region_attridx = MPU_ARMV8M_MAIR_ATTR_DEVICE_IDX; in tfm_hal_bind_boundary()
393 localcfg.attr_access = MPU_ARMV8M_AP_RW_PRIV_UNPRIV; in tfm_hal_bind_boundary()
394 localcfg.attr_sh = MPU_ARMV8M_SH_NONE; in tfm_hal_bind_boundary()
395 localcfg.attr_exec = MPU_ARMV8M_XN_EXEC_NEVER; in tfm_hal_bind_boundary()
396 localcfg.region_nr = n_configured_regions++; in tfm_hal_bind_boundary()
398 FIH_CALL(mpu_armv8m_region_enable, fih_rc, &dev_mpu_s, &localcfg); in tfm_hal_bind_boundary()
444 struct mpu_armv8m_region_cfg_t localcfg; in tfm_hal_activate_boundary() local
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_s1/
Dtfm_hal_isolation.c178 struct mpu_armv8m_region_cfg_t localcfg; in tfm_hal_bind_boundary() local
236 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_bind_boundary()
237 localcfg.region_limit = plat_data_ptr->periph_limit; in tfm_hal_bind_boundary()
238 localcfg.region_attridx = MPU_ARMV8M_MAIR_ATTR_DEVICE_IDX; in tfm_hal_bind_boundary()
239 localcfg.attr_access = MPU_ARMV8M_AP_RW_PRIV_UNPRIV; in tfm_hal_bind_boundary()
240 localcfg.attr_sh = MPU_ARMV8M_SH_NONE; in tfm_hal_bind_boundary()
241 localcfg.attr_exec = MPU_ARMV8M_XN_EXEC_NEVER; in tfm_hal_bind_boundary()
242 localcfg.region_nr = n_configured_regions++; in tfm_hal_bind_boundary()
244 if (mpu_armv8m_region_enable(&dev_mpu_s, &localcfg) in tfm_hal_bind_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/nordic_nrf/common/core/
Dtfm_hal_isolation.c135 struct mpu_armv8m_region_cfg_t localcfg; in tfm_hal_bind_boundary() local
137 localcfg.region_nr = n_configured_regions++; in tfm_hal_bind_boundary()
139 localcfg.region_base = plat_data_ptr->periph_start; in tfm_hal_bind_boundary()
140 localcfg.region_limit = plat_data_ptr->periph_limit; in tfm_hal_bind_boundary()
141 localcfg.region_attridx = MPU_ARMV8M_MAIR_ATTR_DEVICE_IDX; in tfm_hal_bind_boundary()
142 localcfg.attr_access = MPU_ARMV8M_AP_RW_PRIV_UNPRIV; in tfm_hal_bind_boundary()
143 localcfg.attr_sh = MPU_ARMV8M_SH_NONE; in tfm_hal_bind_boundary()
144 localcfg.attr_exec = MPU_ARMV8M_XN_EXEC_NEVER; in tfm_hal_bind_boundary()
147 mpu_armv8m_region_enable(&dev_mpu_s, &localcfg); in tfm_hal_bind_boundary()
/trusted-firmware-m-3.7.0/platform/ext/common/
Dtfm_hal_isolation_v8m.c191 ARM_MPU_Region_t localcfg; in tfm_hal_set_up_static_boundaries() local
250 localcfg.RBAR = mpu_region_attributes[i].RBAR; in tfm_hal_set_up_static_boundaries()
251 localcfg.RLAR = mpu_region_attributes[i].RLAR; in tfm_hal_set_up_static_boundaries()
252 ARM_MPU_SetRegion(i, localcfg.RBAR, localcfg.RLAR); in tfm_hal_set_up_static_boundaries()