aboutsummaryrefslogtreecommitdiff
path: root/include/hw/m68k
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2023-06-21 09:53:35 +0100
committerLaurent Vivier <laurent@vivier.eu>2023-06-22 09:00:12 +0200
commit0b9b41fb8b4879d4dd3d2ce0a13493541c2d8d66 (patch)
tree420aba552cc65e05c61c7017f6e987479c772332 /include/hw/m68k
parent36e2e338b34e9ac6b86102ef81571277613903e2 (diff)
downloadqemu-0b9b41fb8b4879d4dd3d2ce0a13493541c2d8d66.zip
qemu-0b9b41fb8b4879d4dd3d2ce0a13493541c2d8d66.tar.gz
qemu-0b9b41fb8b4879d4dd3d2ce0a13493541c2d8d66.tar.bz2
q800: move ROM memory region to Q800MachineState
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-7-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/m68k/q800.h b/include/hw/m68k/q800.h
index 4cb1a51..d1f1ae4 100644
--- a/include/hw/m68k/q800.h
+++ b/include/hw/m68k/q800.h
@@ -26,6 +26,7 @@
#include "hw/boards.h"
#include "qom/object.h"
#include "target/m68k/cpu-qom.h"
+#include "exec/memory.h"
/*
* The main Q800 machine
@@ -35,6 +36,7 @@ struct Q800MachineState {
MachineState parent_obj;
M68kCPU cpu;
+ MemoryRegion rom;
};
#define TYPE_Q800_MACHINE MACHINE_TYPE_NAME("q800")