aboutsummaryrefslogtreecommitdiff
path: root/hw/input/pckbd.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2022-06-24 14:40:35 +0100
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2022-06-26 18:40:11 +0100
commitc9849a71b997a3b96757b19642b5b9a56c2ccb75 (patch)
treeef3bc7801c6ce430b2e7c8d5f5309ba13ccbc1dd /hw/input/pckbd.c
parent77adda52ef7bcdb5edc9b4dc1678c83f31a02f46 (diff)
downloadqemu-c9849a71b997a3b96757b19642b5b9a56c2ccb75.zip
qemu-c9849a71b997a3b96757b19642b5b9a56c2ccb75.tar.gz
qemu-c9849a71b997a3b96757b19642b5b9a56c2ccb75.tar.bz2
pckbd: move ISAKBDState from pckbd.c to i8042.h
This allows the QOM types in pckbd.c to be used elsewhere by simply including i8042.h. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Acked-by: Helge Deller <deller@gmx.de> Message-Id: <20220624134109.881989-21-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'hw/input/pckbd.c')
-rw-r--r--hw/input/pckbd.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/hw/input/pckbd.c b/hw/input/pckbd.c
index 7b14cd0..f99e10c 100644
--- a/hw/input/pckbd.c
+++ b/hw/input/pckbd.c
@@ -686,16 +686,6 @@ void i8042_mm_init(qemu_irq kbd_irq, qemu_irq mouse_irq,
qemu_register_reset(kbd_reset, s);
}
-struct ISAKBDState {
- ISADevice parent_obj;
-
- KBDState kbd;
- bool kbd_throttle;
- MemoryRegion io[2];
- uint8_t kbd_irq;
- uint8_t mouse_irq;
-};
-
void i8042_isa_mouse_fake_event(ISAKBDState *isa)
{
KBDState *s = &isa->kbd;