diff options
author | danh-arm <dan.handley@arm.com> | 2017-06-28 13:46:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-28 13:46:19 +0100 |
commit | d70a7d0ce02c0b73891cc1e26fc2c568d7120b84 (patch) | |
tree | 39d625c3f81a26af01f5f6db191fc37a415f95a3 /include | |
parent | 38fe380a9a04d0b4356123ed202abf064ec69cbf (diff) | |
parent | d60e6bae022c3504d58ca67a5dc87ba4ec6fd850 (diff) |
Merge pull request #978 from etienne-lms/minor-build
Minor build fixes
Diffstat (limited to 'include')
-rw-r--r-- | include/lib/aarch32/smcc_helpers.h | 4 | ||||
-rw-r--r-- | include/lib/el3_runtime/context_mgmt.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/lib/aarch32/smcc_helpers.h b/include/lib/aarch32/smcc_helpers.h index 5fb5a964..1bc84381 100644 --- a/include/lib/aarch32/smcc_helpers.h +++ b/include/lib/aarch32/smcc_helpers.h @@ -144,10 +144,10 @@ CASSERT(SMC_CTX_SIZE == sizeof(smc_ctx_t), assert_smc_ctx_size_mismatch); */ /* Get the pointer to `smc_ctx_t` corresponding to the security state. */ -void *smc_get_ctx(int security_state); +void *smc_get_ctx(unsigned int security_state); /* Set the next `smc_ctx_t` corresponding to the security state. */ -void smc_set_next_ctx(int security_state); +void smc_set_next_ctx(unsigned int security_state); /* Get the pointer to next `smc_ctx_t` already set by `smc_set_next_ctx()`. */ void *smc_get_next_ctx(void); diff --git a/include/lib/el3_runtime/context_mgmt.h b/include/lib/el3_runtime/context_mgmt.h index 94798691..eb7a9534 100644 --- a/include/lib/el3_runtime/context_mgmt.h +++ b/include/lib/el3_runtime/context_mgmt.h @@ -86,6 +86,7 @@ static inline void cm_set_next_context(void *context) #else void *cm_get_next_context(void); +void cm_set_next_context(void *context); #endif /* AARCH32 */ #endif /* __CM_H__ */ |