]> git.proxmox.com Git - mirror_qemu.git/commit - hw/timer/i8254_common.c
i8254: Factor out base class for KVM reuse
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 2 Mar 2012 19:28:46 +0000 (20:28 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 7 Mar 2012 10:27:40 +0000 (12:27 +0200)
commitd11e859e4afe9b8b12f4478ab4ae3204d2d665ce
tree6904709623cf1546df2d01bdbbbfa40e9ee066d1
parente32605062cd62c2a958ad28a6ad7de4eeab12027
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
and certain init parts.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Makefile.objs
hw/i8254.c
hw/i8254_common.c [new file with mode: 0644]
hw/i8254_internal.h [new file with mode: 0644]