Statistics
| Branch: | Revision:

root / hw / i8254_common.c @ 43997225

History | View | Annotate | Download (8.7 kB)

# Date Author Comment
3fbc1c0c 03/07/2012 12:27 pm Jan Kiszka

i8254: Open-code timer restore

Same as for the APIC: To enable migration between accelerated and
non-accelerated models, we need to arm the channel 0 timer only inside
the emulated PIT model. The common code just saves/restores that timer
to the the next_transition_time field....

d11e859e 03/07/2012 12:27 pm Jan Kiszka

i8254: Factor out base class for KVM reuse

Applying the concept used for the *PICs once again: establish a base
class for the i8254 that can be used both by the current user space
emulation and the upcoming KVM in-kernel version. We share most of the
public interface of the i8254, specifically to the pcspk, vmstate, reset...