AArch32: Fix the stack alignment issue
The AArch32 Procedure call Standard mandates that the stack must be aligned
to 8 byte boundary at external interfaces. This patch does the required
changes.

This problem was detected when a crash was encountered in
`psci_print_power_domain_map()` while printing 64 bit values. Aligning
the stack to 8 byte boundary resolved the problem.

Fixes ARM-Software/tf-issues#437

Change-Id: I517bd8203601bb88e9311bd36d477fb7b3efb292
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
1 parent 919ad05 commit 9f3ee61c904e4b6d2038086718c5ec4237d544a8
@Soby Mathew Soby Mathew authored on 6 Dec 2016
Showing 7 changed files
View
bl32/sp_min/aarch32/entrypoint.S
View
include/lib/aarch32/smcc_helpers.h
View
include/lib/aarch32/smcc_macros.S
View
lib/cpus/aarch32/cortex_a32.S
View
lib/cpus/aarch32/cpu_helpers.S
View
lib/el3_runtime/aarch32/cpu_data.S
View
lib/psci/aarch32/psci_helpers.S