aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2023-06-21 09:53:42 +0100
committerLaurent Vivier <laurent@vivier.eu>2023-06-22 09:25:05 +0200
commitd7942e166ae2da7f70a55365470177d9e71cca3f (patch)
tree32a0b0b7f292e207dcd99b4782d743b8a91076c9 /include
parent6d32c0643f263da92d24af4c87c86ea2c0f7f251 (diff)
downloadqemu-d7942e166ae2da7f70a55365470177d9e71cca3f.zip
qemu-d7942e166ae2da7f70a55365470177d9e71cca3f.tar.gz
qemu-d7942e166ae2da7f70a55365470177d9e71cca3f.tar.bz2
q800: move VIA2 device to Q800MachineState
Also change the instantiation of the VIA2 device to use object_initialize_child(). Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20230621085353.113233-14-mark.cave-ayland@ilande.co.uk> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include')
-rw-r--r--include/hw/m68k/q800.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/m68k/q800.h b/include/hw/m68k/q800.h
index 5cf66d0..06c7716 100644
--- a/include/hw/m68k/q800.h
+++ b/include/hw/m68k/q800.h
@@ -41,6 +41,7 @@ struct Q800MachineState {
MemoryRegion rom;
GLUEState glue;
MOS6522Q800VIA1State via1;
+ MOS6522Q800VIA2State via2;
MemoryRegion macio;
MemoryRegion macio_alias;
};