]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
i8259: Factor out base class for KVM reuse
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 16 Oct 2011 12:38:45 +0000 (14:38 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 19 Jan 2012 11:14:40 +0000 (12:14 +0100)
commit512709f559dce1690fa89fe2a67a8e1984cd3895
tree9494d509808e057853fb9a73d4deb2ad1a59c511
parent9aa78c425f6cd6a57ec53dd1a76233a080dc83b6
i8259: Factor out base class for KVM reuse

Analogously to the APIC, we will reuse some parts of the user space
i8259 model for KVM. The base class provides a common device state, the
vmstate, the property list, a reset core and some shared init bits.

This also introduces a common helper to instantiate a single i8259 chip
from the cascade-creating i8259_init function.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Makefile.objs
hw/i8259.c
hw/i8259_common.c [new file with mode: 0644]
hw/i8259_internal.h [new file with mode: 0644]