target-arm: Allow special cpregs to have flags set
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)
commit34affeefbbdbd97471c283677179254a2e006994
tree58eb1a46fca34135cde8fc3dc4803cf102867fb6
parentbaf8673ca802cb3ea2cdbe94813441d23bde223b
target-arm: Allow special cpregs to have flags set

Relax the "is this a valid ARMCPRegInfo type value?" check to permit
"special" cpregs to have flags other than ARM_CP_SPECIAL set. At
the moment none of the other flags are relevant for special regs,
but the migration related flag we're about to introduce can apply
here too.

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