qemu-e2k/include/hw/timer
Dmitry Osipenko 226fb5aaff arm_mptimer: Convert to use ptimer
Current ARM MPTimer implementation uses QEMUTimer for the actual timer,
this implementation isn't complete and mostly tries to duplicate of what
generic ptimer is already doing fine.

Conversion to ptimer brings the following benefits and fixes:
	- Simple timer pausing implementation
	- Fixes counter value preservation after stopping the timer
	- Properly handles prescaler != 0 / counter = 0 / load = 0 cases
	- Code simplification and reduction

Bump VMSD to version 3, since VMState is changed and is not compatible
with the previous implementation.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Message-id: 37f378c33bb5a28d5cd71167a6bd5bff5e59cbc3.1475421224.git.digetx@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2016-10-24 16:26:53 +01:00
..
a9gtimer.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
allwinner-a10-pit.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
arm_mptimer.h arm_mptimer: Convert to use ptimer 2016-10-24 16:26:53 +01:00
aspeed_timer.h hw/timer: Add value matching support to aspeed_timer 2016-06-17 15:23:51 +01:00
digic-timer.h Use scripts/clean-includes to drop redundant qemu/typedefs.h 2016-03-22 22:20:16 +01:00
hpet.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
i8254.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
i8254_internal.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
imx_epit.h i.MX: Split the CCM class into an abstract base class and a concrete class 2015-12-17 13:37:15 +00:00
imx_gpt.h i.MX: split the GPT timer implementation into per SOC definitions 2016-07-07 13:47:01 +01:00
m48t59.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
mc146818rtc.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
mc146818rtc_regs.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
mips_gictimer.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
stm32f2xx_timer.h stm32f2xx_timer: Add the stm32f2xx Timer 2015-03-11 13:21:05 +00:00