]> Git Repo - qemu.git/blobdiff - include/hw/ppc/mac_dbdma.h
hw/ppc: add a ppc_create_page_sizes_prop() helper routine
[qemu.git] / include / hw / ppc / mac_dbdma.h
index c6870212e9aaef0072dbe45378cec37119c25e61..a8603877d79cddbdb433771d0f45aaec5c93b7e0 100644 (file)
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+
 #ifndef HW_MAC_DBDMA_H
-#define HW_MAC_DBDMA_H 1
+#define HW_MAC_DBDMA_H
 
 #include "exec/memory.h"
+#include "qemu/iov.h"
+#include "sysemu/dma.h"
 
 typedef struct DBDMA_io DBDMA_io;
 
@@ -43,6 +46,10 @@ struct DBDMA_io {
     uint8_t head_remainder[0x200];
     uint8_t tail_remainder[0x200];
     QEMUIOVector iov;
+    /* DMA request */
+    void *dma_mem;
+    dma_addr_t dma_len;
+    DMADirection dir;
 };
 
 /*
This page took 0.024332 seconds and 4 git commands to generate.