Re: [Qemu-devel] [PATCH 2/5] hw/misc/mps2-fpgaio: Implement PSCNTR and COUNTER

2018-07-30 Thread Alistair Francis
On Mon, Jul 30, 2018 at 9:24 AM, Peter Maydell wrote: > In the MPS2 FPGAIO, PSCNTR is a free-running downcounter with > a reload value configured via the PRESCALE register, and > COUNTER counts up by 1 every time PSCNTR reaches zero. > Implement these counters. > > We can just increment the counte

[Qemu-devel] [PATCH 2/5] hw/misc/mps2-fpgaio: Implement PSCNTR and COUNTER

2018-07-30 Thread Peter Maydell
In the MPS2 FPGAIO, PSCNTR is a free-running downcounter with a reload value configured via the PRESCALE register, and COUNTER counts up by 1 every time PSCNTR reaches zero. Implement these counters. We can just increment the counters migration subsection's version ID because we only added it in t