[Qemu-devel] [PATCH 09/17] lm32: timer model

2011-02-17 Thread Michael Walle
This patch adds support for the LatticeMico32 system timer. Signed-off-by: Michael Walle --- Makefile.target |1 + hw/lm32_timer.c | 222 +++ trace-events|6 ++ 3 files changed, 229 insertions(+), 0 deletions(-) create mode 100644

Re: [Qemu-devel] [PATCH 09/17] lm32: timer model

2011-02-11 Thread Blue Swirl
On Sat, Feb 12, 2011 at 12:29 AM, Michael Walle wrote: > Am Freitag 11 Februar 2011, 22:22:32 schrieb Blue Swirl: >> > +static uint32_t timer_read(void *opaque, target_phys_addr_t addr) >> > +{ >> > +    LM32TimerState *s = opaque; >> > +    uint32_t r = 0; >> > + >> > +    addr >>= 2; >> > +    s

Re: [Qemu-devel] [PATCH 09/17] lm32: timer model

2011-02-11 Thread Michael Walle
Am Freitag 11 Februar 2011, 22:22:32 schrieb Blue Swirl: > > +static uint32_t timer_read(void *opaque, target_phys_addr_t addr) > > +{ > > +LM32TimerState *s = opaque; > > +uint32_t r = 0; > > + > > +addr >>= 2; > > +switch (addr) { > > +case R_SR: > > +case R_CR: > > +c

Re: [Qemu-devel] [PATCH 09/17] lm32: timer model

2011-02-11 Thread Blue Swirl
On Fri, Feb 11, 2011 at 1:12 AM, Michael Walle wrote: > This patch adds support for the LatticeMico32 system timer. > > Signed-off-by: Michael Walle > --- >  Makefile.target |    1 + >  hw/lm32_timer.c |  227 > +++ >  trace-events    |    6 ++

[Qemu-devel] [PATCH 09/17] lm32: timer model

2011-02-10 Thread Michael Walle
This patch adds support for the LatticeMico32 system timer. Signed-off-by: Michael Walle --- Makefile.target |1 + hw/lm32_timer.c | 227 +++ trace-events|6 ++ 3 files changed, 234 insertions(+), 0 deletions(-) create mode 100644

[Qemu-devel] [PATCH 09/17] lm32: timer model

2011-01-30 Thread Michael Walle
This patch adds support for the LatticeMico32 system timer. Signed-off-by: Michael Walle --- Makefile.target |1 + hw/lm32_timer.c | 227 +++ trace-events|6 ++ 3 files changed, 234 insertions(+), 0 deletions(-) create mode 100644