aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/hcd-xhci.h
diff options
context:
space:
mode:
authorSai Pavan Boddu <sai.pavan.boddu@xilinx.com>2020-09-24 19:50:53 +0530
committerGerd Hoffmann <kraxel@redhat.com>2020-09-28 12:40:11 +0200
commitf00ff136eee50b1450f9b47ae35df3ca6b9bcfb8 (patch)
treeba6a2dc7734d2ebe12443260b2f611e12b8abab4 /hw/usb/hcd-xhci.h
parent8ddab8dd3d81a3500f2831378dde589f8602cb63 (diff)
downloadqemu-f00ff136eee50b1450f9b47ae35df3ca6b9bcfb8.zip
qemu-f00ff136eee50b1450f9b47ae35df3ca6b9bcfb8.tar.gz
qemu-f00ff136eee50b1450f9b47ae35df3ca6b9bcfb8.tar.bz2
usb: hcd-xhci-sysbus: Attach xhci to sysbus device
Use XHCI as sysbus device, add memory region property to get the address space instance for dma read/write. Signed-off-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com> Message-id: 1600957256-6494-5-git-send-email-sai.pavan.boddu@xilinx.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/hcd-xhci.h')
-rw-r--r--hw/usb/hcd-xhci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb/hcd-xhci.h b/hw/usb/hcd-xhci.h
index 0040c27..f859a17 100644
--- a/hw/usb/hcd-xhci.h
+++ b/hw/usb/hcd-xhci.h
@@ -189,6 +189,7 @@ typedef struct XHCIState {
USBBus bus;
MemoryRegion mem;
+ MemoryRegion *dma_mr;
AddressSpace *as;
MemoryRegion mem_cap;
MemoryRegion mem_oper;