commit | 8dc2c666808a07c2ad484ef6c4f89aa551eaf265 | [log] [tgz] |
---|---|---|
author | Sam Edwards <cfsworks@gmail.com> | Sat May 27 18:09:42 2023 -0600 |
committer | Tom Rini <trini@konsulko.com> | Tue Jun 20 16:08:13 2023 -0400 |
tree | a19a24a3c024074afe3394a0ef12252716234b71 | |
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>