feat(realm): add host call to flush realm prints
add new host call to push out realm print buffer
buffer is flushed after every print statement
Change-Id: I6efa92a7c75ab7df4615a432802426de39d0032c
Signed-off-by: Shruti Gupta <shruti.gupta@arm.com>
diff --git a/realm/realm_rsi.c b/realm/realm_rsi.c
index c805514..586d4d2 100644
--- a/realm/realm_rsi.c
+++ b/realm/realm_rsi.c
@@ -42,6 +42,7 @@
void rsi_exit_to_host(enum host_call_cmd exit_code)
{
host_cal.imm = exit_code;
+ host_cal.gprs[0] = read_mpidr_el1() & MPID_MASK;
tftf_smc(&(smc_args) {RSI_HOST_CALL, (u_register_t)&host_cal,
0UL, 0UL, 0UL, 0UL, 0UL, 0UL});
}