armv7m: Implement reading and writing of PRIGROUP
commit1004102a772744fbb31d8001ade0090be8b02a93
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 28 Feb 2017 12:08:16 +0000 (28 12:08 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 28 Feb 2017 12:08:16 +0000 (28 12:08 +0000)
tree5be3c928f273c1b73f413bb9713f6114fe7cb39f
parentf797c07507b4af66ae6817390001dbc1036591ef
armv7m: Implement reading and writing of PRIGROUP

Add a state field for the v7M PRIGROUP register and implent
reading and writing it. The current NVIC doesn't honour
the values written, but the new version will.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
hw/intc/armv7m_nvic.c