mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
101b4764c7
commit
1ecc6ec1ff
2 changed files with 16 additions and 10 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue