feat(rmm): add support for multiple rec and cpu
Changes to support creating and
executing multiple rec on multiple cpus.
Added per REC shared buffer between Host and Rec.
Signed-off-by: Shruti Gupta <shruti.gupta@arm.com>
Change-Id: Ib6dbd814ee9f68df4a53f9cfdc8b7f9c905c35fe
diff --git a/realm/realm_sve.c b/realm/realm_sve.c
index d5ef8c1..0512789 100644
--- a/realm/realm_sve.c
+++ b/realm/realm_sve.c
@@ -25,7 +25,7 @@
/* Returns the maximum supported VL. This test is called only by sve Realm */
bool test_realm_sve_rdvl(void)
{
- host_shared_data_t *sd = realm_get_shared_structure();
+ host_shared_data_t *sd = realm_get_my_shared_structure();
struct sve_cmd_rdvl *output;
assert(is_armv8_2_sve_present());
@@ -45,7 +45,7 @@
*/
bool test_realm_sve_read_id_registers(void)
{
- host_shared_data_t *sd = realm_get_shared_structure();
+ host_shared_data_t *sd = realm_get_my_shared_structure();
struct sve_cmd_id_regs *output;
output = (struct sve_cmd_id_regs *)sd->realm_cmd_output_buffer;
@@ -65,7 +65,7 @@
*/
bool test_realm_sve_probe_vl(void)
{
- host_shared_data_t *sd = realm_get_shared_structure();
+ host_shared_data_t *sd = realm_get_my_shared_structure();
struct sve_cmd_probe_vl *output;
assert(is_armv8_2_sve_present());