ppc: Adjust call_elf() and CIF prologues and epilogues for ppc64
commit87e52e4b81ebf06fd44af36c4d414b6c4bc9c914
authorafaerber <afaerber@f158a5a8-5612-0410-a976-696ce0be7e32>
Fri, 24 Dec 2010 22:33:34 +0000 (24 22:33 +0000)
committerafaerber <afaerber@f158a5a8-5612-0410-a976-696ce0be7e32>
Fri, 24 Dec 2010 22:33:34 +0000 (24 22:33 +0000)
treece91ae8ac83fd73d40e677a0677b93a6e0ec9abb
parent11d7e7efbfef94a10ce760971aa246b633983d31
ppc: Adjust call_elf() and CIF prologues and epilogues for ppc64

Respect differing register widths and stack frame ABI differences.

Fix of_client_callback stack alignment for both ppc and ppc64.

v3:
* Introduced DATA_LONG() macro, suggested by Alex.

Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@987 f158a5a8-5612-0410-a976-696ce0be7e32
arch/ppc/qemu/start.S
include/arch/ppc/asmdefs.h