aboutsummaryrefslogtreecommitdiff
path: root/services/spd/trusty/generic-arm64-smcall.c
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2018-08-01 15:55:34 +0200
committerSandrine Bailleux <sandrine.bailleux@arm.com>2018-08-01 16:07:20 +0200
commit2de6deaae55031f003ba8c095e00106ffe4aa632 (patch)
tree9c010b189378b5c04da39244a012a50fa1142623 /services/spd/trusty/generic-arm64-smcall.c
parente313c122a707aedec63134448920c466e160957e (diff)
downloadtrusted-firmware-a-2de6deaae55031f003ba8c095e00106ffe4aa632.tar.gz
Fix handler prototype in Trusty generic dispatcher
Fix the types of the arguments of trusty_generic_platform_smc() to match the expected prototype of a runtime service handler (see rt_svc_handle_t type). Change-Id: Ie839d116ca924b4b018ea2abbef72a1073da2a32 Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
Diffstat (limited to 'services/spd/trusty/generic-arm64-smcall.c')
-rw-r--r--services/spd/trusty/generic-arm64-smcall.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/services/spd/trusty/generic-arm64-smcall.c b/services/spd/trusty/generic-arm64-smcall.c
index 38da279e4..feeecaa49 100644
--- a/services/spd/trusty/generic-arm64-smcall.c
+++ b/services/spd/trusty/generic-arm64-smcall.c
@@ -57,14 +57,14 @@ static uint64_t trusty_get_reg_base(uint32_t reg)
}
}
-static uint64_t trusty_generic_platform_smc(uint32_t smc_fid,
- uint64_t x1,
- uint64_t x2,
- uint64_t x3,
- uint64_t x4,
+static uintptr_t trusty_generic_platform_smc(uint32_t smc_fid,
+ u_register_t x1,
+ u_register_t x2,
+ u_register_t x3,
+ u_register_t x4,
void *cookie,
void *handle,
- uint64_t flags)
+ u_register_t flags)
{
switch (smc_fid) {
case SMC_FC_DEBUG_PUTC: