Revision b4694b7c hw/qdev.h

b/hw/qdev.h
49 49

  
50 50
typedef void (*bus_dev_printfn)(Monitor *mon, DeviceState *dev, int indent);
51 51
typedef char *(*bus_get_dev_path)(DeviceState *dev);
52
typedef int (qbus_resetfn)(BusState *bus);
52 53

  
53 54
struct BusInfo {
54 55
    const char *name;
55 56
    size_t size;
56 57
    bus_dev_printfn print_dev;
57 58
    bus_get_dev_path get_dev_path;
59
    qbus_resetfn *reset;
58 60
    Property *props;
59 61
};
60 62

  

Also available in: Unified diff