mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 11:39:53 +00:00
a2ce7dbd91
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
19 lines
458 B
C
19 lines
458 B
C
#ifndef LIBQOS_USB_H
|
|
#define LIBQOS_USB_H
|
|
|
|
#include "pci-pc.h"
|
|
|
|
struct qhc {
|
|
QPCIDevice *dev;
|
|
QPCIBar bar;
|
|
};
|
|
|
|
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 uhci_deinit(struct qhc *hc);
|
|
|
|
void usb_test_hotplug(QTestState *qts, const char *bus_name, const char *port,
|
|
void (*port_check)(void));
|
|
#endif
|