nubus: move nubus to its own 32-bit address space
commit62437f90cf90d1a0fda855f17ca6d9e7c0204f92
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 24 Sep 2021 07:38:00 +0000 (24 08:38 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 29 Sep 2021 08:45:19 +0000 (29 10:45 +0200)
tree5c302807e80c1fd2d169f8e48dccdf416e47c745
parent3616f424c911f1b52629cea1fec6ef99e9da07ad
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>
hw/m68k/q800.c
hw/nubus/mac-nubus-bridge.c
hw/nubus/nubus-bus.c
include/hw/nubus/mac-nubus-bridge.h
include/hw/nubus/nubus.h