Re: [Qemu-devel] [PATCH] i.MX: implement a more correct version of EPIT timer.

2013-04-10 Thread Jean-Christophe DUBOIS
On 04/10/2013 10:26 AM, Peter Maydell wrote: On 9 April 2013 23:32, Jean-Christophe DUBOIS wrote: @@ -605,11 +735,13 @@ static const VMStateDescription vmstate_imx_timerp = { .minimum_version_id_old = 1, .fields = (VMStateField[]) { VMSTATE_UINT32(cr, IMXTimerPState),

Re: [Qemu-devel] [PATCH] i.MX: implement a more correct version of EPIT timer.

2013-04-10 Thread Peter Maydell
On 9 April 2013 23:32, Jean-Christophe DUBOIS wrote: > @@ -605,11 +735,13 @@ static const VMStateDescription vmstate_imx_timerp = { > .minimum_version_id_old = 1, > .fields = (VMStateField[]) { > VMSTATE_UINT32(cr, IMXTimerPState), > +VMSTATE_UINT32(sr, IMXTimerPSta

Re: [Qemu-devel] [PATCH] i.MX: implement a more correct version of EPIT timer.

2013-04-09 Thread Jean-Christophe DUBOIS
On 04/10/2013 01:27 AM, Peter Chubb wrote: This patch is providing a complete version of the EPIT timer. Note, however that the GPT timer in the same file is still not complete. Thanks! Comments in=line below. @@ -411,7 +441,7 @@ static int imx_timerg_init(SysBusDevice *dev) #define CR_SWR

Re: [Qemu-devel] [PATCH] i.MX: implement a more correct version of EPIT timer.

2013-04-09 Thread Peter Chubb
> This patch is providing a complete version of the EPIT timer. > Note, however that the GPT timer in the same file is still not > complete. Thanks! Comments in=line below. > @@ -411,7 +441,7 @@ static int imx_timerg_init(SysBusDevice *dev) > #define CR_SWR (1 << 16) > #define CR_IOVW

[Qemu-devel] [PATCH] i.MX: implement a more correct version of EPIT timer.

2013-04-09 Thread Jean-Christophe DUBOIS
This patch is providing a complete version of the EPIT timer. Note, however that the GPT timer in the same file is still not complete. Signed-off-by: Jean-Christophe DUBOIS --- hw/timer/imx_timer.c | 250 ++ 1 file changed, 192 insertions(+), 58