QEMU main repository: Please see https://www.qemu.org/docs/master/devel/submitting-a-patch.html for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website. http://www.qemu.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
411 B
17 lines
411 B
#ifndef LIBQOS_USB_H
|
|
#define LIBQOS_USB_H
|
|
|
|
#include "libqos/pci-pc.h"
|
|
|
|
struct qhc {
|
|
QPCIDevice *dev;
|
|
void *base;
|
|
};
|
|
|
|
void qusb_pci_init_one(QPCIBus *pcibus, struct qhc *hc,
|
|
uint32_t devfn, int bar);
|
|
void uhci_port_test(struct qhc *hc, int port, uint16_t expect);
|
|
|
|
void usb_test_hotplug(const char *bus_name, const int port,
|
|
void (*port_check)(void));
|
|
#endif
|
|
|