test(spm): tests for RXTX_MAP/RXTX_UNMAP

Tests to check that RXTX_MAP and RXTX_UNMAP properly unmap/map the RX
and TX pages from the NWd stage 2 page tables.
Specifically:
* RXTX_MAP should fail when using secure memory
* RXTX_MAP should fail when using non-secure memory outside the regions
  specified in SPMC nodes
* Memory sharing functions (lend, share, donate) should fail when using
  memory that has been mapped by RXTX_MAP
* RXTX_UNMAP should fail when using different VM IDs
* Forwarded RXTX_MAP should succeed when the region is not mapped
* Two consecutive forwarded RXTX_MAPs should succeed when the regions
  don't overlap and the endpoint IDs are different
* Forwarded RXTX_MAP should fail when the region is already mapped
* Memory sharing functions (lend, share, donate) should fail when using
  memory that has been mapped by forwarded RXTX_MAP

Change-Id: I006681ab54f5ff602e862ae09438d0d174c8d0b0
Signed-off-by: Karl Meakin <karl.meakin@arm.com>
4 files changed