RSS: Add RSS comms driver

Adds RSS communication driver for arm/rss platform.
The RSS comms driver functions as the protocol layer in the
inter-core communication and uses MHUs as the transfer layer.

Change-Id: I52333b97e3b7a0ec5a5b011936af5492b9edda47
Signed-off-by: Jamie Fox <jamie.fox@arm.com>
Signed-off-by: David Vincze <david.vincze@arm.com>
diff --git a/interface/include/tfm_psa_call_pack.h b/interface/include/tfm_psa_call_pack.h
index 3b14fbc..2d4a370 100644
--- a/interface/include/tfm_psa_call_pack.h
+++ b/interface/include/tfm_psa_call_pack.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2021, Arm Limited. All rights reserved.
+ * Copyright (c) 2021-2022, Arm Limited. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  *
@@ -27,6 +27,15 @@
          ((((uint32_t)in_len) << IN_LEN_OFFSET) & IN_LEN_MASK) | \
          ((((uint32_t)out_len) << OUT_LEN_OFFSET) & OUT_LEN_MASK))
 
+#define PARAM_UNPACK_TYPE(ctrl_param) \
+        ((int32_t)(((ctrl_param) & TYPE_MASK) >> TYPE_OFFSET))
+
+#define PARAM_UNPACK_IN_LEN(ctrl_param) \
+        ((size_t)(((ctrl_param) & IN_LEN_MASK) >> IN_LEN_OFFSET))
+
+#define PARAM_UNPACK_OUT_LEN(ctrl_param) \
+        ((size_t)(((ctrl_param) & OUT_LEN_MASK) >> OUT_LEN_OFFSET))
+
 psa_status_t tfm_psa_call_pack(psa_handle_t handle,
                                uint32_t ctrl_param,
                                const psa_invec *in_vec,