feat: partition runtime models initial support
This patch adds initial support for specifying runtime model of
a partition. FF-A v1.1 EAC0 spec specifies four runtime models:
1. Runtime model for FFA_RUN
2. Runtime model for FFA_MSG_SEND_DIRECT_REQUEST
3. Runtime model for Secure Interrupt handling
4. Runtime model for SP Initialization
Change-Id: I9361e8217bb92c0f80338663b2edbce8e968a54e
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
diff --git a/src/vcpu.c b/src/vcpu.c
index 87486f2..cb7bcca 100644
--- a/src/vcpu.c
+++ b/src/vcpu.c
@@ -199,6 +199,7 @@
/* Reset the registers to give a clean start for vCPU. */
arch_regs_reset(vcpu);
+ vcpu->rt_model = RTM_SP_INIT;
}
void vcpu_set_phys_core_idx(struct vcpu *vcpu)