aboutsummaryrefslogtreecommitdiff
path: root/tests/libqos/usb.h
blob: 7fcd669ac46467256cce7b06b6885e8c7bacd468 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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);
#endif