]> git.proxmox.com Git - qemu.git/blobdiff - include/hw/ppc/mac_dbdma.h
Merge git://github.com/hw-claudio/qemu-aarch64-queue into tcg-next
[qemu.git] / include / hw / ppc / mac_dbdma.h
index eb8e0f0075e5eab26302a52713811de3806a9702..90efd277e4c6e7fcc63f3e2862c54e91a9e34d6c 100644 (file)
@@ -37,6 +37,11 @@ struct DBDMA_io {
     int is_last;
     int is_dma_out;
     DBDMA_end dma_end;
+    /* DMA is in progress, don't start another one */
+    bool processing;
+    /* unaligned last sector of a request */
+    uint8_t remainder[0x200];
+    int remainder_len;
 };
 
 /*
@@ -148,7 +153,6 @@ typedef struct DBDMA_channel {
     DBDMA_rw rw;
     DBDMA_flush flush;
     dbdma_cmd current;
-    int processing;
 } DBDMA_channel;
 
 typedef struct {