summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Cave-Ayland2022-06-24 15:40:43 +0200
committerMark Cave-Ayland2022-06-26 19:40:12 +0200
commit01d924dce88f6d43a0be36c0e626f058e68a9ea4 (patch)
tree6aab3941c174e1ed2503a71ea0dad13bc533bccb /include
parentpckbd: alter i8042_mm_init() to return a I8042_MMIO device (diff)
downloadqemu-01d924dce88f6d43a0be36c0e626f058e68a9ea4.tar.gz
qemu-01d924dce88f6d43a0be36c0e626f058e68a9ea4.tar.xz
qemu-01d924dce88f6d43a0be36c0e626f058e68a9ea4.zip
pckbd: move mapping of I8042_MMIO registers to MIPS magnum machine
Now that the register memory region is exposed as a SysBus memory region, move the mapping of the I8042_MMIO registers from i8042_mm_init() to the MIPS magnum machine (which is its only user). Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Acked-by: Helge Deller <deller@gmx.de> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20220624134109.881989-29-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/hw/input/i8042.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/hw/input/i8042.h b/include/hw/input/i8042.h
index d05cd33e3c..9d1f8af964 100644
--- a/include/hw/input/i8042.h
+++ b/include/hw/input/i8042.h
@@ -65,8 +65,7 @@ struct MMIOKBDState {
MMIOKBDState *i8042_mm_init(qemu_irq kbd_irq, qemu_irq mouse_irq,
- MemoryRegion *region, ram_addr_t size,
- hwaddr mask);
+ ram_addr_t size, hwaddr mask);
void i8042_isa_mouse_fake_event(ISAKBDState *isa);
void i8042_setup_a20_line(ISADevice *dev, qemu_irq a20_out);