aboutsummaryrefslogtreecommitdiff
path: root/platform/include
diff options
context:
space:
mode:
authorKevin Peng <kevin.peng@arm.com>2020-10-30 17:10:45 +0800
committerKen Liu <ken.liu@arm.com>2020-11-04 08:03:30 +0000
commit25b190b0ef05416b266ab25b83815ad00cb948a0 (patch)
tree6f3f3cb2444e182885334867844073ad0f212ed3 /platform/include
parentd1ed673f4a233ebdaaf03f2b7ac6757ae5249252 (diff)
downloadtrusted-firmware-m-25b190b0ef05416b266ab25b83815ad00cb948a0.tar.gz
Isolation L3 for AN521 and Musca-B1
- Add Isolation L3 region configuration for AN521 and Musca-B1. - Add level3-specific linker script/scatter load files for these two platforms. The other platforms do not support L3 and do not need specific load files at current stage. - Implement level3-specific dynamic MPU region switching function tfm_hal_mpu_update_partition_boundary() while isolation level3 is chosen. Change-Id: Icc50683c8a9b32494b29948d1ebeedcb59c0bcaa Signed-off-by: Kevin Peng <kevin.peng@arm.com> Co-authored-by: Mingyang Sun <mingyang.sun@arm.com>
Diffstat (limited to 'platform/include')
-rw-r--r--platform/include/tfm_spm_hal.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/platform/include/tfm_spm_hal.h b/platform/include/tfm_spm_hal.h
index fc2246a28a..0b49340ca0 100644
--- a/platform/include/tfm_spm_hal.h
+++ b/platform/include/tfm_spm_hal.h
@@ -43,8 +43,17 @@ enum irq_target_state_t {
*/
struct tfm_spm_partition_memory_data_t
{
- uint32_t stack_bottom; /*!< The bottom of the stack for the partition. */
- uint32_t stack_top; /*!< The top of the stack for the partition. */
+#if TFM_LVL == 3
+ uint32_t data_start; /* Start of the private data region of current
+ * partition. Specifically, the private data
+ * includes RW, ZI and the partition stack below.
+ */
+ uint32_t data_limit; /* Address of the byte beyond the end of the data
+ * region of this partition.
+ */
+#endif
+ uint32_t stack_bottom; /* The bottom of the stack for the partition. */
+ uint32_t stack_top; /* The top of the stack for the partition. */
};
#endif