On 06/11/2012 08:39 AM, Peter Maydell wrote:
On 11 June 2012 14:15, Anthony Liguori<aligu...@us.ibm.com> wrote:
From what you said earlier, it's basically:
'write data to this address'
'read data from this address'
An interface that implements this is DMAContext. Forget about the fact that
'DMA' is in the name. It's really the symmetric version of a MemoryRegion.
...so can we fix the name?
Perhaps we should just make MemoryRegion work in both directions?
Ben/Avi, what do you guys think?
Regards,
Anthony Liguori
Ideally the interface used by DMA controllers should be identical to
the interface used by CPUs to talk to the rest of the system: it's
exactly the same bus interface in hardware, after all.
-- PMM