rework general purpose registers save and restore
The runtime exception handling assembler code used magic numbers for
saving and restoring the general purpose register context on stack
memory. The memory is interpreted as a 'gp_regs' structure and the
magic numbers are offsets to members of this structure. This patch
replaces the magic number offsets with constants. It also adds compile
time assertions to prevent an incorrect assembler view of this
structure.

Change-Id: Ibf125bfdd62ba3a33e58c5f1d71f8c229720781c
1 parent ab2d31e commit 4a826ddad8ea0fc5ce09709f534efb72cc33611c
@Achin Gupta Achin Gupta authored on 25 Nov 2013
Dan Handley committed on 5 Dec 2013
Showing 5 changed files
View
bl31/aarch64/runtime_exceptions.S
View
include/asm_macros.S
View
include/bl_common.h
View
include/runtime_svc.h
View
lib/arch/aarch64/misc_helpers.S