Searched hist:"6 aff280fd62f7e1293642e0da011a460e25c90c6" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/arch/arm/kernel/ |
| H A D | thread_a32.S | 6aff280fd62f7e1293642e0da011a460e25c90c6 Thu Jun 03 11:20:56 UTC 2021 Jens Wiklander <jens.wiklander@linaro.org> core: arm32: update thread_smc() for SMCCC v1.2
SMC Calling Convention v1.2 allows returning result in r4-r7 in addition to the already used r0-r3. In thread_smc() we're not using r4-r7 to return a result, but the normal function calling convention requires r4-r7 to be preserved so save and restore them.
Reviewed-by: Jerome Forissier <jerome@forissier.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|