diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2023-06-21 09:53:47 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2023-06-22 09:27:54 +0200 |
commit | e78d17ca7d1dbfbe0a312e1ed40694d1485c763b (patch) | |
tree | 974b794a701e3943322b68384601f4df538b46ea /include/hw/m68k | |
parent | 1a7a3f004cb9a4913b2a5eb8b1c8dd178db3bee9 (diff) | |
download | qemu-e78d17ca7d1dbfbe0a312e1ed40694d1485c763b.zip qemu-e78d17ca7d1dbfbe0a312e1ed40694d1485c763b.tar.gz qemu-e78d17ca7d1dbfbe0a312e1ed40694d1485c763b.tar.bz2 |
q800: move ESP device to Q800MachineState
Also change the instantiation of the ESP 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-19-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 36e1bd8..8f23e0c 100644 --- a/include/hw/m68k/q800.h +++ b/include/hw/m68k/q800.h @@ -32,6 +32,7 @@ #include "hw/net/dp8393x.h" #include "hw/char/escc.h" #include "hw/or-irq.h" +#include "hw/scsi/esp.h" /* * The main Q800 machine @@ -48,6 +49,7 @@ struct Q800MachineState { dp8393xState dp8393x; ESCCState escc; OrIRQState escc_orgate; + SysBusESPState esp; MemoryRegion macio; MemoryRegion macio_alias; }; |