diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-05-11 09:18:05 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-06-07 10:02:20 +0200 |
commit | 4aed20e2d70f4353164399a173f20c3ab435b4eb (patch) | |
tree | 256092ca17acf13f36bfd4ef743a84844c9864b0 /trace-events | |
parent | 349417004a0f7cf5518a998dca755cd06f6c212b (diff) | |
download | qemu-4aed20e2d70f4353164399a173f20c3ab435b4eb.zip qemu-4aed20e2d70f4353164399a173f20c3ab435b4eb.tar.gz qemu-4aed20e2d70f4353164399a173f20c3ab435b4eb.tar.bz2 |
uhci: fix bandwidth management
uhci_process_frame() can be invoked multiple times per frame, so
accounting usb bandwith in a local variable doesn't fly, use a variable
in UHCIState instead. Also check the limit more frequently.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r-- | trace-events | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trace-events b/trace-events index 45c6bc1..560e57b 100644 --- a/trace-events +++ b/trace-events @@ -263,8 +263,8 @@ usb_uhci_reset(void) "=== RESET ===" usb_uhci_schedule_start(void) "" usb_uhci_schedule_stop(void) "" usb_uhci_frame_start(uint32_t num) "nr %d" +usb_uhci_frame_stop_bandwidth(void) "" usb_uhci_frame_loop_stop_idle(void) "" -usb_uhci_frame_loop_stop_bandwidth(void) "" usb_uhci_frame_loop_continue(void) "" usb_uhci_mmio_readw(uint32_t addr, uint32_t val) "addr %04x, ret 0x04%x" usb_uhci_mmio_writew(uint32_t addr, uint32_t val) "addr %04x, val 0x04%x" |