Remove struct typdef for SMC results.
Change-Id: I8e0b2f8c361f3f8319a4dda50ac9254db756d8ee
diff --git a/src/arch/aarch64/hypervisor/handler.c b/src/arch/aarch64/hypervisor/handler.c
index 8c97203..26b5496 100644
--- a/src/arch/aarch64/hypervisor/handler.c
+++ b/src/arch/aarch64/hypervisor/handler.c
@@ -273,7 +273,7 @@
* Forwards the call if access is granted.
* Returns true if call is forwarded.
*/
-static bool smc_forwarder(const struct vcpu *vcpu, smc_res_t *ret)
+static bool smc_forwarder(const struct vcpu *vcpu, struct smc_result *ret)
{
uint32_t func = vcpu->regs.r[0];
/* TODO(b/132421503): obtain vmid according to new scheme. */
@@ -362,7 +362,8 @@
/**
* Processes SMC instruction calls.
*/
-static bool smc_handler(struct vcpu *vcpu, smc_res_t *ret, struct vcpu **next)
+static bool smc_handler(struct vcpu *vcpu, struct smc_result *ret,
+ struct vcpu **next)
{
uint32_t func = vcpu->regs.r[0];
@@ -582,7 +583,7 @@
case 0x17: /* EC = 010111, SMC instruction. */ {
uintreg_t smc_pc = vcpu->regs.pc;
- smc_res_t ret = {0};
+ struct smc_result ret = {0};
struct vcpu *next = NULL;
if (!smc_handler(vcpu, &ret, &next)) {