• Soby Mathew's avatar
    AArch32: Fix the stack alignment issue · 9f3ee61c
    Soby Mathew authored
    
    
    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: default avatarSoby Mathew <soby.mathew@arm.com>
    9f3ee61c
cpu_helpers.S 5.22 KB