SPM: RXTX map test on TFTF

Some FF-A interfaces use RXTX buffers to exchange information with SPMC.
To avoid repetition of RXTX mapping across the spm-related tests, and
prevent allocation of multiple pages for RXTX buffers within TFTF
runtime:
- Implemented test helpers that hold address of RXTX buffers;
- Implemented test to FFA_RXTX_MAP ABI, that also sets value of RXTX
buffers;
- Cleaned up memory sharing tests that previously implemented RXTX
mapping.

Signed-off-by: J-Alves <joao.alves@arm.com>
Change-Id: I4a67982d3d185bf83809156e4fce03c6edb967d9
diff --git a/include/common/test_helpers.h b/include/common/test_helpers.h
index f9d41dd..a6ec074 100644
--- a/include/common/test_helpers.h
+++ b/include/common/test_helpers.h
@@ -267,4 +267,19 @@
 test_result_t map_test_unmap(const map_args_unmap_t *args,
 			     test_function_arg_t test);
 
+/*
+ * Helper function to set TFTF global mailbox for SPM related tests.
+ * This function should be invoked by the first TFTF test that requires
+ * RX and/or TX buffers.
+ */
+void set_tftf_mailbox(const struct mailbox_buffers *mb);
+
+/*
+ * Helper function to get TFTF global mailbox for SPM related tests.
+ * This function should be called by all tests that require access to RX or TX
+ * buffers, after the function 'set_tftf_mailbox' has been used by the first
+ * test to rely on RX and TX buffers.
+ */
+bool get_tftf_mailbox(struct mailbox_buffers *mb);
+
 #endif /* __TEST_HELPERS_H__ */