On Mon, Jun 11, 2012 at 02:39:56PM +0100, 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? > > 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.
I thought we were talking about the interface between the DMA ctrl and the I/O (devices). Not between the DMA and the "memory" bus system. Cheers