X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=include%2Fhw%2Fppc%2Fmac_dbdma.h;h=90efd277e4c6e7fcc63f3e2862c54e91a9e34d6c;hb=f290e4988dd8eb012de0517a1ff93df130e87da1;hp=eb8e0f0075e5eab26302a52713811de3806a9702;hpb=d2f0ce2189feef94516d81fa5834fa4d65435053;p=qemu.git diff --git a/include/hw/ppc/mac_dbdma.h b/include/hw/ppc/mac_dbdma.h index eb8e0f007..90efd277e 100644 --- a/include/hw/ppc/mac_dbdma.h +++ b/include/hw/ppc/mac_dbdma.h @@ -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 {