commit | 953c49598b4d0ccace8cf28ed1f270c2c2a423d3 | [log] [tgz] |
---|---|---|
author | Jeenu Viswambharan <jeenu.viswambharan@arm.com> | Thu Jul 20 16:42:50 2017 +0100 |
committer | Jeenu Viswambharan <jeenu.viswambharan@arm.com> | Tue Aug 01 14:33:47 2017 +0100 |
tree | f46ea94a1ba236b189d8f0e2679e08efdcc82a03 | |
parent | a2f80ff55aab8e1d8ef9ea958bd9f667d3b0c341 [diff] |
FVP: Fix AArch32 stack functions to be ABI-compliant plat_get_my_stack is called from C, so it can't expect argument registers to be preserved. Stash registers temporarily onto the stack instead. plat_set_my_stack is called during early init, when there exists no stack. Use any register other than argument registers to stash temporary values. Change-Id: I98052e20671d0933201d45ec7a5affccd71ce08c Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>