target-arm: Prepare cpreg writefns/readfns for EL3/SecExt
authorFabian Aggeler <aggelerf@ethz.ch>
Mon, 9 Jun 2014 14:43:22 +0000 (15:43 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 9 Jun 2014 14:43:22 +0000 (15:43 +0100)
commit8d5c773e323b22402abdd0beef4c7d2fc91dd0eb
treed4c034b9d737485a7361f1c3d3ed0c37c55aad8a
parentbf01601764fbef7b54894c9dc1f9c1e727a49294
target-arm: Prepare cpreg writefns/readfns for EL3/SecExt

This patch changes some readfns/writefns to use raw_write
and raw_read functions, which use the fieldoffset specified
in ARMCPRegInfo instead of directly accessing the field.
This will simplify patches for EL3 & Security Extensions.

Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Fabian Aggeler <aggelerf@ethz.ch>
Message-id: 1401962428-14749-1-git-send-email-aggelerf@ethz.ch
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/helper.c