diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-11-30 10:53:26 +0000 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-12-11 15:04:24 +0000 |
commit | 83a5d512790f7fd5da667b3345943e41dc86bc70 (patch) | |
tree | bff6b06c617fbdc576f83c1d1178d5ab9f0f9b19 /include/services | |
parent | e23ae073cbba7cf4dcb8a47eb9f4583289e709ba (diff) |
SPM: Remove remaining SMC interfaces
Also, add a disclaimer to explain that the current implementation of SPM
is a prototype that is going to undergo a lot of rework.
Change-Id: I303c1e61c51d9f286cc599fea565fc9ba5a996bf
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'include/services')
-rw-r--r-- | include/services/spm_svc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/services/spm_svc.h b/include/services/spm_svc.h index 7a69b282..763b24ea 100644 --- a/include/services/spm_svc.h +++ b/include/services/spm_svc.h @@ -7,6 +7,8 @@ #ifndef SPM_SVC_H #define SPM_SVC_H +#if SPM_DEPRECATED + #include <utils_def.h> #define SPM_VERSION_MAJOR U(0) @@ -59,12 +61,16 @@ #define SPM_DENIED -3 #define SPM_NO_MEMORY -5 +#endif /* SPM_DEPRECATED */ + #ifndef __ASSEMBLY__ #include <stdint.h> int32_t spm_setup(void); +#if SPM_DEPRECATED + uint64_t spm_smc_handler(uint32_t smc_fid, uint64_t x1, uint64_t x2, @@ -77,6 +83,8 @@ uint64_t spm_smc_handler(uint32_t smc_fid, /* Helper to enter a Secure Partition */ uint64_t spm_sp_call(uint32_t smc_fid, uint64_t x1, uint64_t x2, uint64_t x3); +#endif /* SPM_DEPRECATED */ + #endif /* __ASSEMBLY__ */ #endif /* SPM_SVC_H */ |