e 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
---
This patch was originally part of a series. The other patch in the series was
dropped, so I am resubmitting this as a si
On Wed, 2012-10-10 at 13:03 +0100, Peter Maydell wrote:
> On 9 October 2012 23:29, Andre Beckus wrote:
> > Adds a new external reference clock scale variable to complement the
> > existing
> > system_clock_scale variable. Previously, the value was hardcoded to 1000
>
On Wed, 2012-10-10 at 12:32 +0100, Peter Maydell wrote:
> On 9 October 2012 23:29, Andre Beckus wrote:
> > Adds nvic_writeb and nvic_readb functions.
> >
> > Implements byte read/write for the NVIC SCB_SHPRx (System Handler
> > Priority Registers). Currently,
that because the NVIC ID register read handles both byte and word reads,
it is left as-is, and not moved into the new nvic_readb function.
Signed-off-by: Andre Beckus
---
hw/armv7m_nvic.c | 44
1 file changed, 44 insertions(+)
diff --git a/hw
This patch series provides the following NVIC enhancements:
- Allow byte access to the System Handler Priority Registers.
- Add a global variable to set the SysTick external reference clock scale.
Andre Beckus (2):
hw/armv7m_nvic: Implement byte read/write for NVIC SCB_SHPRx
registers
hw
Adds a new external reference clock scale variable to complement the existing
system_clock_scale variable. Previously, the value was hardcoded to 1000
when calculating the SysTick scale. The new variable defaults to 1000 to
maintain backward compatibility.
Signed-off-by: Andre Beckus
---
hw