mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
pckbd: implement i8042_mmio_realize() function
Move the initialisation of the register memory region to the I8042_MMIO device realize function and expose it using sysbus_init_mmio(). 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-26-mark.cave-ayland@ilande.co.uk>
This commit is contained in:
parent
7b9fff290c
commit
f4de68d1d4
2 changed files with 14 additions and 1 deletions
|
@ -58,6 +58,7 @@ struct MMIOKBDState {
|
|||
|
||||
KBDState kbd;
|
||||
uint32_t size;
|
||||
MemoryRegion region;
|
||||
};
|
||||
|
||||
#define I8042_A20_LINE "a20"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue