diff options
| author | Mark Cave-Ayland | 2021-09-24 09:37:51 +0200 |
|---|---|---|
| committer | Laurent Vivier | 2021-09-29 10:45:19 +0200 |
| commit | 90be1dea5017e518076f2a0d3ad26e158b92a1da (patch) | |
| tree | 929b618c0d62c716031f3cf901e457324bb5b5c9 /include | |
| parent | nubus-device: rename slot_nb variable to slot (diff) | |
| download | qemu-90be1dea5017e518076f2a0d3ad26e158b92a1da.tar.gz qemu-90be1dea5017e518076f2a0d3ad26e158b92a1da.tar.xz qemu-90be1dea5017e518076f2a0d3ad26e158b92a1da.zip | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/nubus/nubus.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/nubus/nubus.h b/include/hw/nubus/nubus.h index 424309dd73..89b0976aaa 100644 --- a/include/hw/nubus/nubus.h +++ b/include/hw/nubus/nubus.h @@ -43,6 +43,7 @@ struct NubusDevice { DeviceState qdev; int slot; + MemoryRegion super_slot_mem; MemoryRegion slot_mem; /* Format Block */ |
