]> git.baikalelectronics.ru Git - arm-tf.git/commit
FVP: Fix AArch32 stack functions to be ABI-compliant
authorJeenu Viswambharan <jeenu.viswambharan@arm.com>
Thu, 20 Jul 2017 15:42:50 +0000 (16:42 +0100)
committerJeenu Viswambharan <jeenu.viswambharan@arm.com>
Tue, 1 Aug 2017 13:33:47 +0000 (14:33 +0100)
commiteecdf19b73fb9458915fb21ea74ba8aa96e90b36
treef46ea94a1ba236b189d8f0e2679e08efdcc82a03
parent5e2cbb361e28968d26bbb0c3efd541ff543785cc
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>
plat/common/aarch32/platform_mp_stack.S