Use a callee-saved register to be AAPCS-compliant
authordp-arm <dimitris.papastamos@arm.com>
Fri, 5 May 2017 11:21:03 +0000 (12:21 +0100)
committerdp-arm <dimitris.papastamos@arm.com>
Wed, 24 May 2017 13:23:08 +0000 (14:23 +0100)
commit22fa58cbfaa99a6458247c713bd03c2cac2a68fe
tree04066a787a05ba29ddbb1a1738f5875daecdcef1
parente715e676e36eda6ef23469b63adb14a98ccce3e0
Use a callee-saved register to be AAPCS-compliant

x8 is not a callee-saved register and can be corrupted.
Use x19 instead to be AAPCS-compliant.

Fixes ARM-software/tf-issues#478

Change-Id: Ib4f114c36f4c11351ae856f953c45dca92b27c3b
Signed-off-by: dp-arm <dimitris.papastamos@arm.com>
lib/cpus/aarch64/cpu_helpers.S