From: danh-arm Date: Thu, 8 May 2014 11:25:02 +0000 (+0100) Subject: Merge pull request #63 from soby-mathew/sm/save_callee_saved_registers_in_cpu_context-1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=401607cf31ca8a752ee3154d45b69ee4995a8923;p=project%2Fbcm63xx%2Fatf.git Merge pull request #63 from soby-mathew/sm/save_callee_saved_registers_in_cpu_context-1 Preserve x19-x29 across world switch for exception handling --- 401607cf31ca8a752ee3154d45b69ee4995a8923 diff --cc services/std_svc/psci/psci_entry.S index 25adaa11,50f74a6c..256c538d --- a/services/std_svc/psci/psci_entry.S +++ b/services/std_svc/psci/psci_entry.S @@@ -99,10 -101,9 +99,9 @@@ psci_aff_common_finish_entry * -IS-WBWA memory * -------------------------------------------- */ - mov x0, x19 + mrs x0, mpidr_el1 bl platform_set_stack - zero_callee_saved_regs b el3_exit _panic: b _panic