Attest: Add IPC compatibility

1. Add IPC implementation for both secure and non-secure Initial
   Attestation APIs.
2. Update Initial Attestation Service manifest to support IPC model.
3. Add thread like behaviour to receive and handle requests according
   to IPC model.

Change-Id: Ia27a9e9661ed716bc7eb84d6f077252e0319a586
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Co-authored-by: Moran Peker <moran.peker@arm.com>
diff --git a/interface/include/tfm_attest_defs.h b/interface/include/tfm_attest_defs.h
new file mode 100644
index 0000000..5cbca7a
--- /dev/null
+++ b/interface/include/tfm_attest_defs.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2019, Arm Limited. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ */
+
+#ifndef __TFM_ATTEST_DEFS_H__
+#define __TFM_ATTEST_DEFS_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef TFM_PSA_API
+/*
+ * Defines for SID and minor version number. These SIDs must align with the
+ * value in service manifest file.
+ */
+#define TFM_ATTEST_GET_TOKEN_SID               (0x00000020)
+#define TFM_ATTEST_GET_TOKEN_MINOR_VER         (0x0001)
+#define TFM_ATTEST_GET_TOKEN_SIZE_SID          (0x00000021)
+#define TFM_ATTEST_GET_TOKEN_SIZE_MINOR_VER    (0x0001)
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __TFM_ATTEST_DEFS_H__ */
\ No newline at end of file