[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 08/34] next-cube: move SCSI 4020/4021 logic from next-pc d
From: |
Thomas Huth |
Subject: |
Re: [PATCH v2 08/34] next-cube: move SCSI 4020/4021 logic from next-pc device to next-scsi device |
Date: |
Sat, 14 Dec 2024 06:32:09 +0100 |
Am Thu, 12 Dec 2024 11:45:54 +0000
schrieb Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>:
> The SCSI 4020/4021 logic refers to the offset of the SCSI CSRs within the
> NeXTCube
> address space. Due to the previously overlapping memory regions, there were
> duplicate MMIO accessors in the next.scr memory region for these registers but
> this has now been resolved.
>
> Move the remaining SCSI 4020/4021 logic from the next-pc device to the
> next-scsi
> device, with the exception that the SCSI 4021 register now returns its
> previous
> value like a normal register instead of a hardcoded 0x40 value. This also
> matches
> how the registers are implemented in the Previous emulator.
>
> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
> ---
> hw/m68k/next-cube.c | 139 ++++++++++++++++++++------------------------
> 1 file changed, 62 insertions(+), 77 deletions(-)
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
- Re: [PATCH v2 03/34] next-cube: create new next.scsi container memory region, (continued)
- [PATCH v2 02/34] next-cube: remove overlap between next.dma and next.mmio memory regions, Mark Cave-Ayland, 2024/12/12
- [PATCH v2 04/34] next-cube: move next_scsi_init() to next_pc_realize(), Mark Cave-Ayland, 2024/12/12
- [PATCH v2 05/34] next-cube: introduce next_pc_init() object init function, Mark Cave-Ayland, 2024/12/12
- [PATCH v2 07/34] next-cube: move SCSI CSRs from next-pc to the next-scsi device, Mark Cave-Ayland, 2024/12/12
- [PATCH v2 09/34] next-cube: move floppy disk MMIO to separate memory region in next-pc, Mark Cave-Ayland, 2024/12/12
- [PATCH v2 08/34] next-cube: move SCSI 4020/4021 logic from next-pc device to next-scsi device, Mark Cave-Ayland, 2024/12/12
- Re: [PATCH v2 08/34] next-cube: move SCSI 4020/4021 logic from next-pc device to next-scsi device,
Thomas Huth <=
- [PATCH v2 06/34] next-cube: introduce next-scsi device, Mark Cave-Ayland, 2024/12/12
- [PATCH v2 12/34] next-cube: move timer MMIO to separate memory region on next-pc device, Mark Cave-Ayland, 2024/12/12
- [PATCH v2 10/34] next-cube: map ESCC registers as a subregion of the next.scr memory region, Mark Cave-Ayland, 2024/12/12
- [PATCH v2 11/34] next-cube: move ESCC to be QOM child of next-pc device, Mark Cave-Ayland, 2024/12/12