aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-10-20 09:48:37 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-10-21 11:36:19 +0200
commit8e9c0c079a40b753654ed0cc165b9f0089def381 (patch)
tree6d36444f9add57e3d611002e1506762678f241a0 /include
parent848db5257db7f5a199373f3ac870893e7d770d46 (diff)
downloadqemu-8e9c0c079a40b753654ed0cc165b9f0089def381.zip
qemu-8e9c0c079a40b753654ed0cc165b9f0089def381.tar.gz
qemu-8e9c0c079a40b753654ed0cc165b9f0089def381.tar.bz2
usb/xhci: add xhci_sysbus_build_aml() helper
The helper generates an acpi dsdt device entry for the xhci sysbus device. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20201020074844.5304-4-kraxel@redhat.com
Diffstat (limited to 'include')
-rw-r--r--include/hw/usb/xhci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/usb/xhci.h b/include/hw/usb/xhci.h
index dc0c299..5c90e13 100644
--- a/include/hw/usb/xhci.h
+++ b/include/hw/usb/xhci.h
@@ -16,4 +16,6 @@
/* must be power of 2 */
#define XHCI_LEN_REGS 0x4000
+void xhci_sysbus_build_aml(Aml *scope, uint32_t mmio, unsigned int irq);
+
#endif