diff options
author | Andre Beckus <mikemail98-qemu@yahoo.com> | 2012-10-30 07:45:07 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-10-30 07:45:07 +0000 |
commit | 0e8153dde7824e672127765914db30eb301f1aa4 (patch) | |
tree | cfe55958cb958fdd38843a03f3d37e62dd93c84c /hw/vexpress.c | |
parent | 38c4718392fda2bda1e084366b9aa41b49b9d8cf (diff) |
hw/armv7m_nvic: Implement byte/halfword access for NVIC SCB_SHPRx registers
Implement byte/halfword read and write for the NVIC SCB_SHPRx
(System Handler Priority Registers). Do this by removing SHPR word access
from nvic_readl/writel and adding common code to hande all access
sizes in nvic_sysreg_read/write.
Because the "nvic_state *s" variable now needs to be declared in
nvic_sysreg_read/write, the "void *opaque" parameter of
nvic_readl/writel is changed to "nvic_state *s".
Signed-off-by: Andre Beckus <mikemail98-qemu@yahoo.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/vexpress.c')
0 files changed, 0 insertions, 0 deletions