1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef CHIPIDEA_H #define CHIPIDEA_H #include "hw/usb/hcd-ehci.h" typedef struct ChipideaState { /*< private >*/ EHCISysBusState parent_obj; MemoryRegion iomem[3]; } ChipideaState; #define TYPE_CHIPIDEA "usb-chipidea" #define CHIPIDEA(obj) OBJECT_CHECK(ChipideaState, (obj), TYPE_CHIPIDEA) #endif /* CHIPIDEA_H */