]> 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 4d7318df8441fe4b0171f1220d979b4a1f3a8186..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;
 
@@ -39,6 +42,14 @@ struct DBDMA_io {
     DBDMA_end dma_end;
     /* DMA is in progress, don't start another one */
     bool processing;
+    /* unaligned last sector of a request */
+    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.024582 seconds and 4 git commands to generate.