/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_b1/ |
D | tfm_hal_isolation.c | 42 struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; variable 121 mpu_armv8m_clean(&dev_mpu_s); in tfm_hal_set_up_static_boundaries() 137 if (mpu_armv8m_region_enable(&dev_mpu_s, &isolation_regions[i]) in tfm_hal_set_up_static_boundaries() 155 if (mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg) != MPU_ARMV8M_OK) { in tfm_hal_set_up_static_boundaries() 170 if (mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg) != MPU_ARMV8M_OK) { in tfm_hal_set_up_static_boundaries() 185 if (mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg) != MPU_ARMV8M_OK) { in tfm_hal_set_up_static_boundaries() 200 if (mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg) != MPU_ARMV8M_OK) { in tfm_hal_set_up_static_boundaries() 216 if (mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg) != MPU_ARMV8M_OK) { in tfm_hal_set_up_static_boundaries() 224 if (mpu_armv8m_enable(&dev_mpu_s, in tfm_hal_set_up_static_boundaries() 349 if (mpu_armv8m_region_enable(&dev_mpu_s, &localcfg) in tfm_hal_bind_boundary() [all …]
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_s1/ |
D | tfm_hal_isolation.c | 35 struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; variable 70 mpu_armv8m_clean(&dev_mpu_s); in tfm_hal_set_up_static_boundaries() 81 if (mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg) != MPU_ARMV8M_OK) { in tfm_hal_set_up_static_boundaries() 96 if (mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg) != MPU_ARMV8M_OK) { in tfm_hal_set_up_static_boundaries() 111 if (mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg) != MPU_ARMV8M_OK) { in tfm_hal_set_up_static_boundaries() 126 if (mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg) != MPU_ARMV8M_OK) { in tfm_hal_set_up_static_boundaries() 142 if (mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg) != MPU_ARMV8M_OK) { in tfm_hal_set_up_static_boundaries() 148 mpu_armv8m_enable(&dev_mpu_s, PRIVILEGED_DEFAULT_ENABLE, in tfm_hal_set_up_static_boundaries() 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/ |
D | tfm_hal_isolation.c | 40 struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; variable 147 mpu_armv8m_region_enable(&dev_mpu_s, &localcfg); in tfm_hal_bind_boundary() 321 mpu_armv8m_clean(&dev_mpu_s); in mpu_init_cfg() 333 err = mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg); in mpu_init_cfg() 351 err = mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg); in mpu_init_cfg() 369 err = mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg); in mpu_init_cfg() 387 err = mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg); in mpu_init_cfg() 406 err = mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg); in mpu_init_cfg() 447 err = mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg); in mpu_init_cfg() 455 mpu_armv8m_enable(&dev_mpu_s, PRIVILEGED_DEFAULT_ENABLE, in mpu_init_cfg()
|
/trusted-firmware-m-3.7.0/platform/ext/target/nxp/common/ |
D | tfm_hal_isolation.c | 51 struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; variable 130 struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; in tfm_hal_set_up_static_boundaries() local 132 mpu_armv8m_clean(&dev_mpu_s); in tfm_hal_set_up_static_boundaries() 148 FIH_CALL(mpu_armv8m_region_enable, fih_rc, &dev_mpu_s, &isolation_regions[i]); in tfm_hal_set_up_static_boundaries() 166 FIH_CALL(mpu_armv8m_region_enable, fih_rc, &dev_mpu_s, ®ion_cfg); in tfm_hal_set_up_static_boundaries() 188 FIH_CALL(mpu_armv8m_region_enable, fih_rc, &dev_mpu_s, ®ion_cfg); in tfm_hal_set_up_static_boundaries() 210 FIH_CALL(mpu_armv8m_region_enable, fih_rc, &dev_mpu_s, ®ion_cfg); in tfm_hal_set_up_static_boundaries() 232 FIH_CALL(mpu_armv8m_region_enable, fih_rc, &dev_mpu_s, ®ion_cfg); in tfm_hal_set_up_static_boundaries() 252 FIH_CALL(mpu_armv8m_region_enable, fih_rc, &dev_mpu_s, ®ion_cfg); in tfm_hal_set_up_static_boundaries() 275 FIH_CALL(mpu_armv8m_region_enable, fih_rc, &dev_mpu_s, ®ion_cfg); in tfm_hal_set_up_static_boundaries() [all …]
|
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/common/ |
D | tfm_hal_isolation.c | 43 struct mpu_armv8m_dev_t dev_mpu_s = {MPU_BASE}; variable 175 mpu_armv8m_clean(&dev_mpu_s); 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() 203 if (mpu_armv8m_region_enable(&dev_mpu_s, in tfm_hal_set_up_static_boundaries() 213 if (mpu_armv8m_enable(&dev_mpu_s, in tfm_hal_set_up_static_boundaries() 336 if (mpu_armv8m_region_enable(&dev_mpu_s, &localcfg) in tfm_hal_bind_boundary() 423 if (mpu_armv8m_region_enable(&dev_mpu_s, &localcfg) != MPU_ARMV8M_OK) { in tfm_hal_activate_boundary() 446 if (mpu_armv8m_region_enable(&dev_mpu_s, &localcfg) != MPU_ARMV8M_OK) { in tfm_hal_activate_boundary() 456 if (mpu_armv8m_region_disable(&dev_mpu_s, i++)!= MPU_ARMV8M_OK) { in tfm_hal_activate_boundary()
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32l5xx/secure/ |
D | tfm_hal_isolation.c | 45 struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; variable 178 mpu_armv8m_clean(&dev_mpu_s); 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() 206 if (mpu_armv8m_region_enable(&dev_mpu_s, in tfm_hal_set_up_static_boundaries() 216 if (mpu_armv8m_enable(&dev_mpu_s, in tfm_hal_set_up_static_boundaries() 327 if (mpu_armv8m_region_enable(&dev_mpu_s, &localcfg) in tfm_hal_bind_boundary() 414 if (mpu_armv8m_region_enable(&dev_mpu_s, &localcfg) != MPU_ARMV8M_OK) { in tfm_hal_activate_boundary() 437 if (mpu_armv8m_region_enable(&dev_mpu_s, &localcfg) != MPU_ARMV8M_OK) { in tfm_hal_activate_boundary() 447 if (mpu_armv8m_region_disable(&dev_mpu_s, i++)!= MPU_ARMV8M_OK) { in tfm_hal_activate_boundary()
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps4/corstone315/bl1/ |
D | boot_hal_bl1_2.c | 26 struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; variable 113 rc = mpu_armv8m_region_enable(&dev_mpu_s, &rom_region_config); in disable_rom_execution() 118 return mpu_armv8m_enable(&dev_mpu_s, PRIVILEGED_DEFAULT_ENABLE, in disable_rom_execution()
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an521/ |
D | tfm_hal_isolation.c | 43 struct mpu_armv8m_dev_t dev_mpu_s = {MPU_BASE}; variable 269 …FIH_CALL(fih_verify_mpu_armv8m_region_enabled, fih_rc, &dev_mpu_s, ®ion_cfg[region_nr], region_… in tfm_hal_verify_static_boundaries() 274 …FIH_CALL(fih_verify_mpu_armv8m_region_enabled, fih_rc, &dev_mpu_s, ®ion_cfg[region_nr], region_… in tfm_hal_verify_static_boundaries() 281 FIH_CALL(fih_verify_mpu_armv8m_enabled, fih_rc, &dev_mpu_s, in tfm_hal_verify_static_boundaries() 287 FIH_CALL(fih_verify_mpu_armv8m_enabled, fih_rc, &dev_mpu_s, in tfm_hal_verify_static_boundaries() 321 mpu_armv8m_clean(&dev_mpu_s); 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() 341 FIH_CALL(mpu_armv8m_enable, fih_rc, &dev_mpu_s, in tfm_hal_set_up_static_boundaries() 482 FIH_CALL(mpu_armv8m_region_enable, fih_rc, &dev_mpu_s, &localcfg); in tfm_hal_bind_boundary() 574 FIH_CALL(mpu_armv8m_region_enable, fih_rc, &dev_mpu_s, &localcfg); in tfm_hal_activate_boundary() [all …]
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32u5xx/secure/ |
D | tfm_hal_isolation.c | 52 struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; variable 202 mpu_armv8m_clean(&dev_mpu_s); in mpu_init() 210 if (mpu_armv8m_region_enable(&dev_mpu_s, in mpu_init() 225 mpu_armv8m_enable(&dev_mpu_s, PRIVILEGED_DEFAULT_ENABLE, HARDFAULT_NMI_ENABLE); in mpu_init() 237 if (mpu_armv8m_region_enable_check(&dev_mpu_s, in mpu_init() 251 if (mpu_armv8m_check(&dev_mpu_s, PRIVILEGED_DEFAULT_ENABLE, in mpu_init() 418 if (mpu_armv8m_region_enable(&dev_mpu_s, &localcfg) in tfm_hal_bind_boundary()
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32h5xx/secure/ |
D | tfm_hal_isolation.c | 56 struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; variable 209 mpu_armv8m_disable(&dev_mpu_s); in mpu_init() 210 mpu_armv8m_clean(&dev_mpu_s); in mpu_init() 218 if (mpu_armv8m_region_enable(&dev_mpu_s, in mpu_init() 233 mpu_armv8m_enable(&dev_mpu_s, PRIVILEGED_DEFAULT_ENABLE, HARDFAULT_NMI_ENABLE); in mpu_init() 245 if (mpu_armv8m_region_enable_check(&dev_mpu_s, in mpu_init() 259 if (mpu_armv8m_check(&dev_mpu_s, PRIVILEGED_DEFAULT_ENABLE, in mpu_init() 478 if (mpu_armv8m_region_enable(&dev_mpu_s, &localcfg) in tfm_hal_bind_boundary()
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an519/ |
D | tfm_hal_isolation.c | 36 struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; variable 124 mpu_armv8m_clean(&dev_mpu_s); in tfm_hal_set_up_static_boundaries() 132 if (mpu_armv8m_region_enable(&dev_mpu_s, in tfm_hal_set_up_static_boundaries() 140 mpu_armv8m_enable(&dev_mpu_s, PRIVILEGED_DEFAULT_ENABLE, in tfm_hal_set_up_static_boundaries() 234 if (mpu_armv8m_region_enable(&dev_mpu_s, &localcfg) in tfm_hal_bind_boundary()
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32l5xx/bl2/ |
D | tfm_low_level_security.c | 538 struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; in mpu_init_cfg() local 554 if (mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg) != MPU_ARMV8M_OK) in mpu_init_cfg() 565 if (mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg) != MPU_ARMV8M_OK) in mpu_init_cfg() 576 if (mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg) != MPU_ARMV8M_OK) in mpu_init_cfg() 587 if (mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg) != MPU_ARMV8M_OK) in mpu_init_cfg() 599 if (mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg) != MPU_ARMV8M_OK) in mpu_init_cfg() 611 if (mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg) != MPU_ARMV8M_OK) in mpu_init_cfg() 616 mpu_armv8m_enable(&dev_mpu_s, PRIVILEGED_DEFAULT_ENABLE, in mpu_init_cfg() 695 static struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; in mpu_appli_cfg() local 706 if (mpu_armv8m_region_enable(&dev_mpu_s, ®ion_cfg) != MPU_ARMV8M_OK) in mpu_appli_cfg()
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32h5xx/bl2/ |
D | low_level_security.c | 1552 struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; in LL_SECU_DisableCleanMpu() local 1553 mpu_armv8m_disable(&dev_mpu_s); in LL_SECU_DisableCleanMpu() 1554 mpu_armv8m_clean(&dev_mpu_s); in LL_SECU_DisableCleanMpu() 1566 struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; in mpu_init_cfg() local 1575 if (mpu_armv8m_region_enable(&dev_mpu_s, in mpu_init_cfg() 1589 mpu_armv8m_enable(&dev_mpu_s, PRIVILEGED_DEFAULT_DISABLE, HARDFAULT_NMI_ENABLE); in mpu_init_cfg() 1598 if (mpu_armv8m_region_enable_check(&dev_mpu_s, in mpu_init_cfg() 1612 if (mpu_armv8m_check(&dev_mpu_s, PRIVILEGED_DEFAULT_DISABLE, in mpu_init_cfg() 1670 static struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; in mpu_appli_cfg() local 1684 …status = mpu_armv8m_region_config_only(&dev_mpu_s, (struct mpu_armv8m_region_cfg_t *)®ion_cfg_a… in mpu_appli_cfg() [all …]
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/rse/common/bl1/ |
D | boot_hal_bl1_2.c | 53 struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; variable 422 rc = mpu_armv8m_region_enable(&dev_mpu_s, &rom_region_config); in disable_rom_execution() 427 return mpu_armv8m_enable(&dev_mpu_s, PRIVILEGED_DEFAULT_ENABLE, in disable_rom_execution()
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32u5xx/bl2/ |
D | low_level_security.c | 1317 struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; in mpu_init_cfg() local 1327 if (mpu_armv8m_region_enable(&dev_mpu_s, in mpu_init_cfg() 1341 mpu_armv8m_enable(&dev_mpu_s, PRIVILEGED_DEFAULT_ENABLE, HARDFAULT_NMI_ENABLE); in mpu_init_cfg() 1370 if (mpu_armv8m_region_enable_check(&dev_mpu_s, in mpu_init_cfg() 1384 if (mpu_armv8m_check(&dev_mpu_s, PRIVILEGED_DEFAULT_ENABLE, in mpu_init_cfg() 1436 static struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; in mpu_appli_cfg() local 1446 if (mpu_armv8m_region_enable(&dev_mpu_s, in mpu_appli_cfg() 1482 if (mpu_armv8m_region_enable_check(&dev_mpu_s, in mpu_appli_cfg() 1529 static struct mpu_armv8m_dev_t dev_mpu_s = { MPU_BASE }; in mpu_loader_cfg() local 1535 mpu_armv8m_region_disable(&dev_mpu_s, 2); in mpu_loader_cfg() [all …]
|