cactus: map memory regions, used as RX/TX buffers in SPM

To demonstrate implementation of memory-regions in SPM create RX/TX
buffers for each cactus VM. A VM will only map its allocated RX/TX
memory region.
The RX/TX regions start at 0x7200000 in Trusted DRAM. Each RX/TX buffer
pair in a VM will be of size 2 pages one for each of them.

Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: I7d9dc5d82415d9543d4b9583ed6dca0d1f40b1cb
diff --git a/spm/cactus/cactus_def.h b/spm/cactus/cactus_def.h
index 6eceb01..a0adb23 100644
--- a/spm/cactus/cactus_def.h
+++ b/spm/cactus/cactus_def.h
@@ -20,16 +20,12 @@
 /* Memory reserved for stacks */
 #define CACTUS_STACKS_SIZE		ULL(0x1000)
 
-/* Memory shared between EL3 and S-EL0 (64 KiB). */
-#define CACTUS_SPM_BUF_BASE		(CACTUS_IMAGE_BASE + CACTUS_IMAGE_SIZE)
-#define CACTUS_SPM_BUF_SIZE		ULL(0x10000)
-
-/* Memory shared between Normal world and S-EL0 (64 KiB). */
-#define CACTUS_NS_BUF_BASE		(CACTUS_SPM_BUF_BASE + CACTUS_SPM_BUF_SIZE)
-#define CACTUS_NS_BUF_SIZE		ULL(0x10000)
-
-/* Memory area used by tests (128 KiB). */
-#define CACTUS_TEST_MEM_BASE		(CACTUS_NS_BUF_BASE + CACTUS_NS_BUF_SIZE)
-#define CACTUS_TEST_MEM_SIZE		ULL(0x20000)
+/*
+ * RX/TX buffer used by VM's in SPM for memory sharing
+ * Each VM allocated 2 pages, one for RX and one for TX buffer.
+ */
+#define CACTUS_RX_BASE			ULL(0x7200000)
+#define CACTUS_TX_BASE			CACTUS_RX_BASE + PAGE_SIZE
+#define CACTUS_RX_TX_SIZE		PAGE_SIZE * 2
 
 #endif /* CACTUS_DEF_H */