Re: [Qemu-devel] [PATCH 2/2] hw/armv7m_nvic: Add global variable for SysTick external reference clock

2012-10-12 Thread Peter Maydell
On 12 October 2012 07:53, Andre Beckus wrote: > As a case study, the STM32 does have a reference clock. It is simply > the system clock divided by 8 (maybe not ARM's intention for it to be > tied so closely to the system clock). The documentation says the TENMS > field is hardwired to 9000, whic

Re: [Qemu-devel] [PATCH 2/2] hw/armv7m_nvic: Add global variable for SysTick external reference clock

2012-10-11 Thread Andre Beckus
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 > > when calculating the SysTi

Re: [Qemu-devel] [PATCH 2/2] hw/armv7m_nvic: Add global variable for SysTick external reference clock

2012-10-10 Thread Peter Maydell
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 > when calculating the SysTick scale. The new variable defaults to 1000 to > maintain backward c

[Qemu-devel] [PATCH 2/2] hw/armv7m_nvic: Add global variable for SysTick external reference clock

2012-10-10 Thread Andre Beckus
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/ar