]> git.proxmox.com Git - mirror_qemu.git/commit
nubus-device: expose separate super slot memory region
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 24 Sep 2021 07:37:51 +0000 (08:37 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 29 Sep 2021 08:45:19 +0000 (10:45 +0200)
commit90be1dea5017e518076f2a0d3ad26e158b92a1da
tree929b618c0d62c716031f3cf901e457324bb5b5c9
parente2c49c0515f5995b267a9795d88733865d2d0ced
nubus-device: expose separate super slot memory region

According to "Designing Cards and Drivers for the Macintosh Family" each physical
nubus slot can access 2 separate address ranges: a super slot memory region which
is 256MB and a standard slot memory region which is 16MB.

Currently a Nubus device uses the physical slot number to determine whether it is
using a standard slot memory region or a super slot memory region rather than
exposing both memory regions for use as required.

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-4-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/nubus/nubus-device.c
include/hw/nubus/nubus.h