test(boot): test suite uses to test the SPMC
Use the "boot" test suite, to validate memory range that the SP can
access its address space:
- Added the "mem_size" to the SP's FF-A manifest, needed within the
aforementioned tests.
- Test services retrieve the "load-address" from the SPs FF-A manifest,
use it to do the accesses to validate the configuration of the SPs
address space.
Change-Id: I9f3580b9313d8f168675d86435ea2a1eacc6149f
Signed-off-by: J-Alves <joao.alves@arm.com>
diff --git a/test/hftest/service_common.c b/test/hftest/service_common.c
index c5665e1..bf3464d 100644
--- a/test/hftest/service_common.c
+++ b/test/hftest/service_common.c
@@ -190,6 +190,9 @@
* manifest for the SP.
*/
hftest_parse_ffa_manifest(ctx, &fdt);
+
+ /* TODO: Determine memory size referring to the SP Pkg. */
+ ctx->memory_size = 1048576;
}
/* Pause so the next time cycles are given the service will be run. */