diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-01-10 16:31:16 +0100 |
---|---|---|
committer | Jan Kiszka <jan.kiszka@siemens.com> | 2012-01-19 12:14:40 +0100 |
commit | 9aa78c425f6cd6a57ec53dd1a76233a080dc83b6 (patch) | |
tree | 966d41aba4166404e61fc0ae60555e67168190c5 /hw/pc.h | |
parent | 7a380ca350f84b5b99391da20a2b4ea505b0524d (diff) |
i8259: Completely privatize PicState
Use DeviceState instead of PicState in the public i8259 API. This is
cleaner and allows to reorganize the PIC data structures for KVM reuse.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'hw/pc.h')
-rw-r--r-- | hw/pc.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -62,11 +62,10 @@ bool parallel_mm_init(MemoryRegion *address_space, /* i8259.c */ -typedef struct PicState PicState; -extern PicState *isa_pic; +extern DeviceState *isa_pic; qemu_irq *i8259_init(ISABus *bus, qemu_irq parent_irq); -int pic_read_irq(PicState *s); -int pic_get_output(PicState *s); +int pic_read_irq(DeviceState *d); +int pic_get_output(DeviceState *d); void pic_info(Monitor *mon); void irq_info(Monitor *mon); |