Revision 3b46e624 hw/usb.h
b/hw/usb.h | ||
---|---|---|
119 | 119 |
void (*handle_destroy)(USBDevice *dev); |
120 | 120 |
|
121 | 121 |
int speed; |
122 |
|
|
122 |
|
|
123 | 123 |
/* The following fields are used by the generic USB device |
124 | 124 |
layer. They are here just to avoid creating a new structure for |
125 | 125 |
them. */ |
... | ... | |
129 | 129 |
int (*handle_data)(USBDevice *dev, USBPacket *p); |
130 | 130 |
uint8_t addr; |
131 | 131 |
char devname[32]; |
132 |
|
|
132 |
|
|
133 | 133 |
int state; |
134 | 134 |
uint8_t setup_buf[8]; |
135 | 135 |
uint8_t data_buf[1024]; |
Also available in: Unified diff