hw/arm/musicpal: Use AddressSpace for DMA transfers
commit79ed6fd65026fbdc71c5f2a7a42a80aac0063d94
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 28 Aug 2020 09:02:44 +0000 (28 10:02 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Aug 2020 09:02:44 +0000 (28 10:02 +0100)
treec77c5c498b834e00df94bc4636d4503ca961fa7d
parent96250eab904261b31d9d1ac3abbdb36737635ffa
hw/arm/musicpal: Use AddressSpace for DMA transfers

Allow the device to execute the DMA transfers in a different
AddressSpace.

We keep using the system_memory address space, but via the
proper dma_memory_access() API.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200814125533.4047-1-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/musicpal.c