diff options
Diffstat (limited to 'platform/include/tfm_spm_hal.h')
-rw-r--r-- | platform/include/tfm_spm_hal.h | 13 |
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 |