Re: [Qemu-devel] [PATCH v3 1/4] hw/timer: add sunxi timer device

2013-11-25 Thread Li Guang
Peter Crosthwaite wrote: Hi, On Mon, Nov 25, 2013 at 5:41 PM, liguang wrote: Signed-off-by: liguang --- default-configs/arm-softmmu.mak |2 + hw/timer/Makefile.objs |1 + hw/timer/sunxi-pit.c| 260 +++ include/hw/timer/

Re: [Qemu-devel] [PATCH v3 1/4] hw/timer: add sunxi timer device

2013-11-25 Thread Peter Maydell
On 25 November 2013 10:15, Peter Crosthwaite wrote: > Hi, > > On Mon, Nov 25, 2013 at 5:41 PM, liguang wrote: >> +#define SUNXI_TIMER_IRQ_EN 0 >> +#define SUNXI_TIMER_IRQ_ST 0x4 >> +#define SUNXI_TIMER_CONTROL 0x0 >> +#define SUNXI_TIMER_INTERVAL 0x4 >> +#define SUNXI_TIMER_COUNT 0x8 >> +#define

Re: [Qemu-devel] [PATCH v3 1/4] hw/timer: add sunxi timer device

2013-11-25 Thread Peter Crosthwaite
Hi, On Mon, Nov 25, 2013 at 5:41 PM, liguang wrote: > Signed-off-by: liguang > --- > default-configs/arm-softmmu.mak |2 + > hw/timer/Makefile.objs |1 + > hw/timer/sunxi-pit.c| 260 > +++ > include/hw/timer/sunxi-pit.h| 2

[Qemu-devel] [PATCH v3 1/4] hw/timer: add sunxi timer device

2013-11-25 Thread liguang
Signed-off-by: liguang --- default-configs/arm-softmmu.mak |2 + hw/timer/Makefile.objs |1 + hw/timer/sunxi-pit.c| 260 +++ include/hw/timer/sunxi-pit.h| 26 4 files changed, 289 insertions(+), 0 deletions(-) create mo