Introduce macros to manipulate the SPSR
authorVikram Kanigiri <vikram.kanigiri@arm.com>
Tue, 13 May 2014 13:42:08 +0000 (14:42 +0100)
committerVikram Kanigiri <vikram.kanigiri@arm.com>
Thu, 22 May 2014 14:42:09 +0000 (15:42 +0100)
commit23ff9baa7e01eac3a451f2e8ed768c9b90d3567a
tree93feb21b2f81d70f93e5e852cecbddb6fb1ba329
parentec786cbca93651b06431e1933abb909626949644
Introduce macros to manipulate the SPSR

This patch introduces macros (SPSR_64 and SPSR_32) to
create a SPSR for both aarch32 and aarch64 execution
states. These macros allow the user to set fields
in the SPSR depending upon its format.
The make_spsr() function which did not allow
manipulation of all the fields in the aarch32 SPSR
has been replaced by these new macros.

Change-Id: I9425dda0923e8d5f03d03ddb8fa0e28392c4c61e
bl1/bl1_main.c
bl2/bl2_main.c
common/bl_common.c
include/common/bl_common.h
include/lib/aarch64/arch.h
services/spd/tspd/tspd_common.c
services/std_svc/psci/psci_common.c