Core: Unify the naming and types for context
The stacked context is named as 'state context' in the datasheet, unify
this naming and adjust related thread members to the proper type.
Change-Id: Ic013156f44ce480d1674088166bbf7392bce72b2
Signed-off-by: Ken Liu <ken.liu@arm.com>
diff --git a/secure_fw/spm/spm_api_ipc.c b/secure_fw/spm/spm_api_ipc.c
index 1a1e8a6..13a00bb 100644
--- a/secure_fw/spm/spm_api_ipc.c
+++ b/secure_fw/spm/spm_api_ipc.c
@@ -476,8 +476,8 @@
tfm_thrd_init(pth,
tfm_spm_partition_get_init_func(i),
NULL,
- (uint8_t *)tfm_spm_partition_get_stack_top(i),
- (uint8_t *)tfm_spm_partition_get_stack_bottom(i));
+ (uintptr_t)tfm_spm_partition_get_stack_top(i),
+ (uintptr_t)tfm_spm_partition_get_stack_bottom(i));
pth->prior = tfm_spm_partition_get_priority(i);