aboutsummaryrefslogtreecommitdiff
path: root/include/hw/nubus/mac-nubus-bridge.h
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2021-09-24 08:38:00 +0100
committerLaurent Vivier <laurent@vivier.eu>2021-09-29 10:45:19 +0200
commit62437f90cf90d1a0fda855f17ca6d9e7c0204f92 (patch)
tree5c302807e80c1fd2d169f8e48dccdf416e47c745 /include/hw/nubus/mac-nubus-bridge.h
parent3616f424c911f1b52629cea1fec6ef99e9da07ad (diff)
downloadqemu-62437f90cf90d1a0fda855f17ca6d9e7c0204f92.zip
qemu-62437f90cf90d1a0fda855f17ca6d9e7c0204f92.tar.gz
qemu-62437f90cf90d1a0fda855f17ca6d9e7c0204f92.tar.bz2
nubus: move nubus to its own 32-bit address space
According to "Designing Cards and Drivers for the Macintosh Family" the Nubus has its own 32-bit address space based upon physical slot addressing. Move Nubus to its own 32-bit address space and then use memory region aliases to map available slot and super slot ranges into the q800 system address space via the Macintosh Nubus bridge. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20210924073808.1041-13-mark.cave-ayland@ilande.co.uk> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include/hw/nubus/mac-nubus-bridge.h')
-rw-r--r--include/hw/nubus/mac-nubus-bridge.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/nubus/mac-nubus-bridge.h b/include/hw/nubus/mac-nubus-bridge.h
index 118d672..04451d3 100644
--- a/include/hw/nubus/mac-nubus-bridge.h
+++ b/include/hw/nubus/mac-nubus-bridge.h
@@ -23,6 +23,8 @@ struct MacNubusState {
SysBusDevice sysbus_dev;
NubusBus *bus;
+ MemoryRegion super_slot_alias;
+ MemoryRegion slot_alias;
};
#endif