mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
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>
This commit is contained in:
parent
e2c49c0515
commit
90be1dea50
2 changed files with 18 additions and 17 deletions
|
@ -43,6 +43,7 @@ struct NubusDevice {
|
|||
DeviceState qdev;
|
||||
|
||||
int slot;
|
||||
MemoryRegion super_slot_mem;
|
||||
MemoryRegion slot_mem;
|
||||
|
||||
/* Format Block */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue