Core: Update the code related with request message type
The patch inlcudes the following changes:
-Create message with type instead of PSA_IPC_CALL in
tfm_svcall_psa_call();
-Change the condition to check whether message handle refers to a
request message instead of PSA_IPC_CALL;
-Move the request message logic into default block in
tfm_svcall_psa_reply().
Change-Id: I0c59b5f55c4a46feb05c674d5cb3bce666779171
Signed-off-by: Summer Qin <summer.qin@arm.com>
diff --git a/interface/include/psa/client.h b/interface/include/psa/client.h
index d040834..4115f93 100644
--- a/interface/include/psa/client.h
+++ b/interface/include/psa/client.h
@@ -127,7 +127,7 @@
*
* \param[in] handle A handle to an established connection.
* \param[in] type The reuqest type.
- * Must be zero( \ ref PSA_IPC_CALL) or positive.
+ * Must be zero( \ref PSA_IPC_CALL) or positive.
* \param[in] in_vec Array of input \ref psa_invec structures.
* \param[in] in_len Number of input \ref psa_invec structures.
* \param[in/out] out_vec Array of output \ref psa_outvec structures.