diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2023-06-21 09:53:38 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2023-06-22 09:22:49 +0200 |
commit | 1ecc6ec1ffbf5c209233be137f04344ec4eac6b5 (patch) | |
tree | be19ba2095314ccabc88e828b0721d2d15f53fc9 /include/hw/m68k | |
parent | 101b4764c7312dff04db8bf277eda875f7c00fa3 (diff) | |
download | qemu-1ecc6ec1ffbf5c209233be137f04344ec4eac6b5.zip qemu-1ecc6ec1ffbf5c209233be137f04344ec4eac6b5.tar.gz qemu-1ecc6ec1ffbf5c209233be137f04344ec4eac6b5.tar.bz2 |
q800: move GLUE device to Q800MachineState
Also change the instantiation of the GLUE 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-10-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include/hw/m68k')
-rw-r--r-- | include/hw/m68k/q800.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/m68k/q800.h b/include/hw/m68k/q800.h index d1f1ae4..fda42e0 100644 --- a/include/hw/m68k/q800.h +++ b/include/hw/m68k/q800.h @@ -27,6 +27,7 @@ #include "qom/object.h" #include "target/m68k/cpu-qom.h" #include "exec/memory.h" +#include "hw/m68k/q800-glue.h" /* * The main Q800 machine @@ -37,6 +38,7 @@ struct Q800MachineState { M68kCPU cpu; MemoryRegion rom; + GLUEState glue; }; #define TYPE_Q800_MACHINE MACHINE_TYPE_NAME("q800") |