|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] [PATCH 01/10] Add stub functions for PCI device models to do PCI DMA |
Date: | Fri, 02 Sep 2011 11:37:25 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 |
On 09/01/2011 07:05 PM, Anthony Liguori wrote:
The challenge is what you do about something like ne2k where the core chipset can either be a PCI device or an ISA device. You would have to implement a wrapper around pci_dma_rw() in order to turn it into cpu_physical_memory_rw when doing ISA.
btw, ISA DMA is very different, no? You program a dma controller to copy memory from the device to RAM (or vice versa); the device never initiates a transaction IIRC.
-- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
[Prev in Thread] | Current Thread | [Next in Thread] |