commit | 1c06e7712d4fe6efe068f60ad8b177931dc346e8 | [log] [tgz] |
---|---|---|
author | Javier Almansa Sobrino <javier.almansasobrino@arm.com> | Mon Dec 16 13:26:48 2024 +0000 |
committer | Javier Almansa Sobrino <javier.almansasobrino@arm.com> | Mon Dec 16 13:26:48 2024 +0000 |
tree | ebc140f0239edb16dfb4341f9d12ca33cd364cb2 | |
parent | dc18ace1a36a4f684f1e4c7ef193a34c563d75c1 [diff] |
fix(realm): rmi_realm_params structure is not zeroed upon realm creation Signed-off-by: Javier Almansa Sobrino <javier.almansasobrino@arm.com> Change-Id: I2513a6977625f98e7d81f9cb57ee3e724fcbff81
diff --git a/tftf/tests/runtime_services/host_realm_managment/host_realm_rmi.c b/tftf/tests/runtime_services/host_realm_managment/host_realm_rmi.c index e6b6ad4..ebf4580 100644 --- a/tftf/tests/runtime_services/host_realm_managment/host_realm_rmi.c +++ b/tftf/tests/runtime_services/host_realm_managment/host_realm_rmi.c
@@ -772,6 +772,8 @@ goto err_undelegate_rtt; } + memset((char *)params, 0U, PAGE_SIZE); + /* Populate params */ params->s2sz = EXTRACT(RMI_FEATURE_REGISTER_0_S2SZ, realm->rmm_feat_reg0);