diff options
author | Summer Qin <summer.qin@arm.com> | 2019-07-02 14:56:08 +0800 |
---|---|---|
committer | Summer Qin <summer.qin@arm.com> | 2019-07-24 10:49:49 +0800 |
commit | 4b1d03b6b68611b671b57f218df8b28ded9f17f7 (patch) | |
tree | 8e1cdbc650ea07932428db0a9861ab7adeec4f2b /app | |
parent | 05b24199afbbcda2bcba1580e840a1cc156b5763 (diff) | |
download | trusted-firmware-m-4b1d03b6b68611b671b57f218df8b28ded9f17f7.tar.gz |
Core: PSA APIs alignment
Update PSA Client and Secure Partition APIs and some related files:
- Add psa_panic() to indicate an internal fault in a secure partition.
- Introduce a message type parameter to the psa_call() function which
is delivered as part of the psa_msg_t data to the RoT Service.
- Change 'minor version' to 'version'.
- Add PSA_HANDLE_IS_VALID() and PSA_HANDLE_TO_ERROR() macros.
- Move the definition of PSA_MAX_IOVEC and PSA_IPC_CALL from
psa/service.h to psa/client.h.
- Change the error code returned by psa_get() when the message could
not be delivered. It now returns PSA_ERROR_DOES_NOT_EXIST.
Change-Id: Ia717f591c80484699f4f491d1ed6dbc4fd7c050f
Signed-off-by: Summer Qin <summer.qin@arm.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/tfm_integ_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/tfm_integ_test.c b/app/tfm_integ_test.c index 5e7e722309..357397eb26 100644 --- a/app/tfm_integ_test.c +++ b/app/tfm_integ_test.c @@ -59,7 +59,7 @@ static psa_status_t psa_test_common(uint32_t sid, uint32_t minor_version, return CORE_TEST_ERRNO_INVALID_PARAMETER; } - status = psa_call(handle, in_vecs, in_len, out_vecs, out_len); + status = psa_call(handle, PSA_IPC_CALL, in_vecs, in_len, out_vecs, out_len); if (status < 0) { status = CORE_TEST_ERRNO_UNEXPECTED_CORE_BEHAVIOUR; } |