commit | 9fd29075c72aa99da8fdf40c86f29cf2967befb8 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Wed Apr 22 12:12:14 2020 +0100 |
committer | Andrew Walbran <qwandor@google.com> | Fri Apr 24 12:31:24 2020 +0100 |
tree | 3ad38099de66f3e77103abb2e84209f0ab76571f | |
parent | 0e14665f359c0cee00c1e63903c6d24dec1f28ad [diff] [blame] |
Update SPCI_VERSION implementation to match latest spec. This also updates the version number from 0.9 to 1.0. Bug: 132420445 Change-Id: I991ea9f71634935c21a590f9309dd66ac910eff5
diff --git a/src/arch/aarch64/hypervisor/handler.c b/src/arch/aarch64/hypervisor/handler.c index 4a4f035..924d024 100644 --- a/src/arch/aarch64/hypervisor/handler.c +++ b/src/arch/aarch64/hypervisor/handler.c
@@ -323,7 +323,7 @@ */ switch (func) { case SPCI_VERSION_32: - *args = api_spci_version(); + *args = api_spci_version(args->arg1); return true; case SPCI_ID_GET_32: *args = api_spci_id_get(current());