target-arm: Add raw_readfn and raw_writefn to ARMCPRegInfo
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 25 Jun 2013 17:16:06 +0000 (18:16 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 25 Jun 2013 17:16:09 +0000 (18:16 +0100)
commit7023ec7e2b4ee14f60c530ff9ce6e04127cf1802
treee47416c42546fb0cbe7955703c2d4dc179b5c0db
parent34affeefbbdbd97471c283677179254a2e006994
target-arm: Add raw_readfn and raw_writefn to ARMCPRegInfo

For reading and writing register values from the kernel for KVM,
we need to provide accessor functions which are guaranteed to succeed
and don't impose access checks, mask out unwritable bits, etc.
Define new fields raw_readfn and raw_writefn for this purpose;
these only need to be provided if there is a readfn or writefn
already and it is not suitable.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/cpu.h
target-arm/helper.c