mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-28 16:11:49 +00:00
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>
This commit is contained in:
parent
e313c122a7
commit
2de6deaae5
1 changed files with 6 additions and 6 deletions
|
@ -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,
|
static uintptr_t trusty_generic_platform_smc(uint32_t smc_fid,
|
||||||
uint64_t x1,
|
u_register_t x1,
|
||||||
uint64_t x2,
|
u_register_t x2,
|
||||||
uint64_t x3,
|
u_register_t x3,
|
||||||
uint64_t x4,
|
u_register_t x4,
|
||||||
void *cookie,
|
void *cookie,
|
||||||
void *handle,
|
void *handle,
|
||||||
uint64_t flags)
|
u_register_t flags)
|
||||||
{
|
{
|
||||||
switch (smc_fid) {
|
switch (smc_fid) {
|
||||||
case SMC_FC_DEBUG_PUTC:
|
case SMC_FC_DEBUG_PUTC:
|
||||||
|
|
Loading…
Add table
Reference in a new issue