Core: Thread mode transition from NS to S

Change TF-M Core to require NS client to make secure
function requests in thread mode instead of handler
mode.
Different secure API options of DEPRIORITIZE and
SVCCLEAR are obsolete, remove them.
Clear registers on secure function entry to avoid
leaking data.
Set AIRCR.PRIS flag by default to avoid NS pre-emption
of secure fault handler and SVC handlers.

Change-Id: Ib771485ebc6b28c0080316ab8d028ba9849a9fcb
Signed-off-by: Miklos Balint <miklos.balint@arm.com>
diff --git a/app/tfm_integ_test.c b/app/tfm_integ_test.c
index acef4d6..37421fb 100644
--- a/app/tfm_integ_test.c
+++ b/app/tfm_integ_test.c
@@ -92,8 +92,7 @@
     TEST_TYPE_6      /*!< Like TEST_TYPE_2, but the high priority task has now a
                           timeout to acquire the NS lock. The timeout will
                           expire only if TFM Core is built with the
-                          de-prioritization disabled (i.e. TFM_API_SVCCLEAR
-                          defined) */
+                          de-prioritization disabled */
 };
 
 static const osThreadAttr_t tattr_seq = {