q800: move ESCC device to Q800MachineState
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 21 Jun 2023 08:53:45 +0000 (09:53 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 22 Jun 2023 07:26:47 +0000 (09:26 +0200)
commit836126c77326d9a7b629063c9caa9deff3a26aed
tree734c7ccee7363693dfc95898b68ee4a0562f042a
parent804ae67ee6fc3ff5a6c82edba7ed4cbdd33de091
q800: move ESCC device to Q800MachineState

Also change the instantiation of the ESCC 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-17-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/m68k/q800.c
include/hw/m68k/q800.h