test(realm): add plane PSI interface

Add Plane service routine interface.
Aux plane can communicate with primary plane using PSI
PSI uses hvc conduit from aux plane.
Add initial printf support for planes

Signed-off-by: Shruti Gupta <shruti.gupta@arm.com>
Change-Id: I484cbd32791970c6e22c5d63e13b43807f4f3c06
diff --git a/realm/include/realm_helpers.h b/realm/include/realm_helpers.h
index a9b2f7c..9214564 100644
--- a/realm/include/realm_helpers.h
+++ b/realm/include/realm_helpers.h
@@ -8,6 +8,8 @@
 #ifndef REALM_HELPERS_H
 #define REALM_HELPERS_H
 
+#include <realm_rsi.h>
+
 /* Generate 64-bit random number */
 unsigned long long realm_rand64(void);
 /*
@@ -21,6 +23,15 @@
 bool realm_plane_enter(u_register_t plane_index, u_register_t perm_index,
 		u_register_t base, u_register_t flags, rsi_plane_run *run);
 
+/* This function will call the Host to request IPA of the NS shared buffer */
+u_register_t realm_get_ns_buffer(void);
+
+/* This function will return plane index of current plane */
+unsigned int realm_get_my_plane_num(void);
+
+/** This function will return true for primary plane false for aux plane */
+bool realm_is_plane0(void);
+
 /* Function for initializing planes, called at Boot */
 void realm_plane_init(void);