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
This commit is contained in:
Gerd Hoffmann 2020-10-20 09:48:37 +02:00
parent 848db5257d
commit 8e9c0c079a
2 changed files with 17 additions and 0 deletions

View file

@ -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