Setup VBAR_EL3 incrementally
authorAchin Gupta <achin.gupta@arm.com>
Sat, 18 Jan 2014 16:50:09 +0000 (16:50 +0000)
committerDan Handley <dan.handley@arm.com>
Mon, 17 Feb 2014 18:51:44 +0000 (18:51 +0000)
commitb739f22a99c96d5a295f083125505b5b5ec2f8b6
treefaed79c3d8e505d3168aa0299aa68099cc3f4fe6
parent65f0730ba34d5e22d3372cef76f048339d9c4588
Setup VBAR_EL3 incrementally

This patch ensures that VBAR_EL3 points to the simple stack-less
'early_exceptions' when the C runtime stack is not correctly setup to
use the more complex 'runtime_exceptions'. It is initialised to
'runtime_exceptions' once this is done.

This patch also moves all exception vectors into a '.vectors' section
and modifies linker scripts to place all such sections together. This
will minimize space wastage from alignment restrictions.

Change-Id: I8c3e596ea3412c8bd582af9e8d622bb1cb2e049d
bl1/aarch64/early_exceptions.S
bl1/bl1.ld.S
bl2/bl2.ld.S
bl31/aarch64/bl31_entrypoint.S
bl31/aarch64/runtime_exceptions.S
bl31/bl31.ld.S
bl31/bl31.mk
common/psci/psci_afflvl_on.c
common/psci/psci_afflvl_suspend.c
common/psci/psci_entry.S
include/aarch64/arch.h