feat(boot): writing boot info to partition's memory
Implemented writing VM's boot info:
- Setting boot info header and descriptors array.
- Copying info if it has been listed in the partition's manifest.
- Providing the boot info memory address to partition in the GP register
specified in the partition's manifest.
Change-Id: I39248811289c6b8c4f4cac6080c600ce73cad993
Signed-off-by: J-Alves <joao.alves@arm.com>
diff --git a/src/main.c b/src/main.c
index 32e0476..45624e5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -42,5 +42,7 @@
/* Initialize SRI for running core. */
plat_ffa_sri_init(c);
+ vm_set_boot_info_gp_reg(first_boot, vcpu);
+
return vcpu;
}