App, Test: Updates for thread mode NS-S transition

 - Remove the SVC call framework from the non-secure
 - Update the S and NS tests to work with the new concept
 - Update documentation to reflect changes

Change-Id: Iac4e1b7d11f264f1905e71a81a1d622421ea5d6d
Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
diff --git a/interface/src/tfm_log_api.c b/interface/src/tfm_log_api.c
index ae918da..c6b27e7 100644
--- a/interface/src/tfm_log_api.c
+++ b/interface/src/tfm_log_api.c
@@ -5,6 +5,7 @@
  *
  */
 
+#include "tfm_log_veneers.h"
 #include "tfm_log_defs.h"
 #include "tfm_ns_lock.h"
 
@@ -13,28 +14,28 @@
                                   uint8_t *buffer,
                                   struct tfm_log_info *info)
 {
-    return tfm_ns_lock_svc_dispatch(SVC_TFM_LOG_RETRIEVE,
-                                    size,
-                                    (uint32_t)start,
-                                    (uint32_t)buffer,
-                                    (uint32_t)info);
+    return tfm_ns_lock_dispatch((veneer_fn)tfm_log_veneer_retrieve,
+                                size,
+                                (uint32_t)start,
+                                (uint32_t)buffer,
+                                (uint32_t)info);
 }
 
 enum tfm_log_err tfm_log_get_info(struct tfm_log_info *info)
 {
-    return tfm_ns_lock_svc_dispatch(SVC_TFM_LOG_GET_INFO,
-                                    (uint32_t)info,
-                                    0,
-                                    0,
-                                    0);
+    return tfm_ns_lock_dispatch((veneer_fn)tfm_log_veneer_get_info,
+                                (uint32_t)info,
+                                0,
+                                0,
+                                0);
 }
 
 enum tfm_log_err tfm_log_delete_items(uint32_t num_items,
                                       uint32_t *rem_items)
 {
-    return tfm_ns_lock_svc_dispatch(SVC_TFM_LOG_DELETE_ITEMS,
-                                    num_items,
-                                    (uint32_t)rem_items,
-                                    0,
-                                    0);
+    return tfm_ns_lock_dispatch((veneer_fn)tfm_log_veneer_delete_items,
+                                num_items,
+                                (uint32_t)rem_items,
+                                0,
+                                0);
 }