Home
last modified time | relevance | path

Searched hist:b96253db08383c3edfb417c505c8da6f7b1dbe75 (Results 1 – 3 of 3) sorted by relevance

/rk3399_ARM-atf/include/services/trp/
H A Dtrp_helpers.hb96253db08383c3edfb417c505c8da6f7b1dbe75 Thu Nov 24 13:42:44 UTC 2022 AlexeiFedorov <Alexei.Fedorov@arm.com> fix(trp): preserve RMI SMC X4 when not used as return

This patch adds X2-X6 and 'smc_ret' parameters to trp_rmi_handler().
The last 'smc_ret' parameter passed in X7 contains address of
'trp_smc_result' structure on stack to return result of RMI SMC call.

This allows to preserve X4 if not used as a return argument as per
SMCCCv1.2. The patch also removes use of trp_args_t in RMI handling.

Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com>
Change-Id: I9e3387a7380b37863eeccc53d13e92e0ac5cffbd
/rk3399_ARM-atf/services/std_svc/rmmd/trp/
H A Dtrp_entry.Sb96253db08383c3edfb417c505c8da6f7b1dbe75 Thu Nov 24 13:42:44 UTC 2022 AlexeiFedorov <Alexei.Fedorov@arm.com> fix(trp): preserve RMI SMC X4 when not used as return

This patch adds X2-X6 and 'smc_ret' parameters to trp_rmi_handler().
The last 'smc_ret' parameter passed in X7 contains address of
'trp_smc_result' structure on stack to return result of RMI SMC call.

This allows to preserve X4 if not used as a return argument as per
SMCCCv1.2. The patch also removes use of trp_args_t in RMI handling.

Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com>
Change-Id: I9e3387a7380b37863eeccc53d13e92e0ac5cffbd
H A Dtrp_main.cb96253db08383c3edfb417c505c8da6f7b1dbe75 Thu Nov 24 13:42:44 UTC 2022 AlexeiFedorov <Alexei.Fedorov@arm.com> fix(trp): preserve RMI SMC X4 when not used as return

This patch adds X2-X6 and 'smc_ret' parameters to trp_rmi_handler().
The last 'smc_ret' parameter passed in X7 contains address of
'trp_smc_result' structure on stack to return result of RMI SMC call.

This allows to preserve X4 if not used as a return argument as per
SMCCCv1.2. The patch also removes use of trp_args_t in RMI handling.

Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com>
Change-Id: I9e3387a7380b37863eeccc53d13e92e0ac5cffbd