commit | ba007e4be1b639245d1a2fc470c561bc42368506 | [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 | 4871b53cac33bf4ea69a43d8e4dd8ddd77d284a6 [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>