On 08/20/2018 07:10 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 counters migration subsection's > version ID because we only added it in the previous commit, > so no released QEMU versions will be using it. > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > Reviewed-by: Alistair Francis <alistair.fran...@wdc.com> > --- > include/hw/misc/mps2-fpgaio.h | 6 +++ > hw/misc/mps2-fpgaio.c | 97 +++++++++++++++++++++++++++++++++-- > 2 files changed, 99 insertions(+), 4 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~