]> git.proxmox.com Git - mirror_qemu.git/blobdiff - dma.h
Better support for dma_addr_t variables
[mirror_qemu.git] / dma.h
diff --git a/dma.h b/dma.h
index 8c1ec8f0d205750b928911e885a72ce17f522600..fe08b726057d0e6b886bd1e569760373ff106522 100644 (file)
--- a/dma.h
+++ b/dma.h
@@ -31,6 +31,7 @@ struct QEMUSGList {
 #if defined(TARGET_PHYS_ADDR_BITS)
 typedef target_phys_addr_t dma_addr_t;
 
+#define DMA_ADDR_BITS TARGET_PHYS_ADDR_BITS
 #define DMA_ADDR_FMT TARGET_FMT_plx
 
 struct ScatterGatherEntry {