diff options
author | Sam Edwards <cfsworks@gmail.com> | 2023-05-27 18:09:42 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-06-20 16:08:13 -0400 |
commit | 8dc2c666808a07c2ad484ef6c4f89aa551eaf265 (patch) | |
tree | a19a24a3c024074afe3394a0ef12252716234b71 /common/stdio.c | |
parent | 50195a23468e3a8a32cba8534d76627b5d189551 (diff) |
psci: fix use of clobbered registers in asm
The functions `psci_get_context_id` and `psci_get_target_pc`
are written in C, so the C compiler may clobber registers r0-r3.
Do not use these registers to save data across calls.
Signed-off-by: Sam Edwards <CFSworks@gmail.com>
Diffstat (limited to 'common/stdio.c')
0 files changed, 0 insertions, 0 deletions