Revision f2c88dc1
b/hw/usb-ehci.c | ||
---|---|---|
901 | 901 |
dtoggle = qh->token & QTD_TOKEN_DTOGGLE; |
902 | 902 |
ping = qh->token & QTD_TOKEN_PING; |
903 | 903 |
|
904 |
DPRINTF("setting qh.current from %08X to 0x%08X\n", qh->current_qtd, |
|
905 |
ehci->qtdaddr); |
|
906 | 904 |
qh->current_qtd = ehci->qtdaddr; |
907 | 905 |
qh->next_qtd = qtd->next; |
908 | 906 |
qh->altnext_qtd = qtd->altnext; |
... | ... | |
955 | 953 |
} |
956 | 954 |
|
957 | 955 |
offset = qh->bufptr[0] & ~QTD_BUFPTR_MASK; |
958 |
DPRINTF("ehci_buffer_rw: %sing %d bytes %08x cpage %d offset %d\n", |
|
959 |
rw ? "writ" : "read", bytes, qh->bufptr[0], cpage, offset); |
|
960 | 956 |
|
961 | 957 |
do { |
962 | 958 |
/* start and end of this page */ |
... | ... | |
969 | 965 |
tail = head + bytes; |
970 | 966 |
} |
971 | 967 |
|
972 |
DPRINTF("DATA %s cpage:%d head:%08X tail:%08X target:%08X\n", |
|
973 |
rw ? "WRITE" : "READ ", cpage, head, tail, bufpos); |
|
974 |
|
|
968 |
trace_usb_ehci_data(rw, cpage, offset, head, tail-head, bufpos); |
|
975 | 969 |
cpu_physical_memory_rw(head, &buffer[bufpos], tail - head, rw); |
976 | 970 |
|
977 | 971 |
bufpos += (tail - head); |
b/trace-events | ||
---|---|---|
207 | 207 |
disable usb_ehci_port_attach(uint32_t port, const char *device) "attach port #%d - %s" |
208 | 208 |
disable usb_ehci_port_detach(uint32_t port) "detach port #%d" |
209 | 209 |
disable usb_ehci_port_reset(uint32_t port, int enable) "reset port #%d - %d" |
210 |
disable usb_ehci_data(int rw, uint32_t cpage, uint32_t offset, uint32_t addr, uint32_t len, uint32_t bufpos) "write %d, cpage %d, offset 0x%03x, addr 0x%08x, len %d, bufpos %d" |
|
210 | 211 |
|
211 | 212 |
# hw/usb-desc.c |
212 | 213 |
disable usb_desc_device(int addr, int len, int ret) "dev %d query device, len %d, ret %d" |
Also available in: Unified diff