2018-02-09 13:40:30 +03:00
|
|
|
#ifndef CHIPIDEA_H
|
|
|
|
#define CHIPIDEA_H
|
|
|
|
|
|
|
|
#include "hw/usb/hcd-ehci.h"
|
2020-09-03 23:43:22 +03:00
|
|
|
#include "qom/object.h"
|
2018-02-09 13:40:30 +03:00
|
|
|
|
2020-09-03 23:43:22 +03:00
|
|
|
struct ChipideaState {
|
2018-02-09 13:40:30 +03:00
|
|
|
/*< private >*/
|
|
|
|
EHCISysBusState parent_obj;
|
|
|
|
|
|
|
|
MemoryRegion iomem[3];
|
2020-09-03 23:43:22 +03:00
|
|
|
};
|
2018-02-09 13:40:30 +03:00
|
|
|
|
|
|
|
#define TYPE_CHIPIDEA "usb-chipidea"
|
2020-09-16 21:25:19 +03:00
|
|
|
OBJECT_DECLARE_SIMPLE_TYPE(ChipideaState, CHIPIDEA)
|
2018-02-09 13:40:30 +03:00
|
|
|
|
|
|
|
#endif /* CHIPIDEA_H */
|