On 10/2/19 2:33 PM, Laurent Vivier wrote:
Le 02/10/2019 à 13:10, Philippe Mathieu-Daudé a écrit :
On 9/27/19 11:04 AM, Laurent Vivier wrote:
There is no DMA in Quadra 800, so the CPU reads/writes the data from the
PDMA register (offset 0x100, ESP_PDMA in hw/m68k/q800.c) and copies them
to/from
Le 02/10/2019 à 13:10, Philippe Mathieu-Daudé a écrit :
> On 9/27/19 11:04 AM, Laurent Vivier wrote:
>> There is no DMA in Quadra 800, so the CPU reads/writes the data from the
>> PDMA register (offset 0x100, ESP_PDMA in hw/m68k/q800.c) and copies them
>> to/from the memory.
>>
>> There is a nice a
On 9/27/19 11:04 AM, Laurent Vivier wrote:
There is no DMA in Quadra 800, so the CPU reads/writes the data from the
PDMA register (offset 0x100, ESP_PDMA in hw/m68k/q800.c) and copies them
to/from the memory.
There is a nice assembly loop in the kernel to do that, see
linux/drivers/scsi/mac_esp.
Paolo,
this patch is the only that is not specific to Q800 and has not been
"acked" or reviewed by the maintainer.
If you ack it I will be ready to send a PR for the Q800 series.
Thanks,
Laurent
Le 27/09/2019 à 11:04, Laurent Vivier a écrit :
> There is no DMA in Quadra 800, so the CPU reads/wr
There is no DMA in Quadra 800, so the CPU reads/writes the data from the
PDMA register (offset 0x100, ESP_PDMA in hw/m68k/q800.c) and copies them
to/from the memory.
There is a nice assembly loop in the kernel to do that, see
linux/drivers/scsi/mac_esp.c:MAC_ESP_PDMA_LOOP().
The start of the tran