1. 07 9月, 2011 2 次提交
  2. 21 8月, 2011 1 次提交
  3. 04 8月, 2011 1 次提交
    • G
      usb: use iovecs in USBPacket · 4f4321c1
      Gerd Hoffmann 提交于
      Zap data pointer from USBPacket, add a QEMUIOVector instead.
      Add a bunch of helper functions to manage USBPacket data.
      Switch over users to the new interface.
      
      Note that USBPacket->len was used for two purposes:  First to
      pass in the buffer size and second to return the number of
      transfered bytes or the status code on async transfers.  There
      is a new result variable for the latter.  A new status code
      was added to catch uninitialized result.
      
      Nobody creates iovecs with more than one element (yet).
      Some users are (temporarely) limited to iovecs with a single
      element to keep the patch size as small as possible.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      4f4321c1
  4. 05 7月, 2011 4 次提交
  5. 14 6月, 2011 1 次提交
    • G
      usb: cancel async packets on unplug · 07771f6f
      Gerd Hoffmann 提交于
      This patch adds USBBusOps struct with (for now) only a single callback
      which is called when a device is about to be destroyed.  The USB Host
      adapters are implementing this callback and use it to cancel any async
      requests which might be in flight before the device actually goes away.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      07771f6f
  6. 26 5月, 2011 1 次提交
  7. 09 5月, 2011 1 次提交
    • G
      usb-musb: uninline functions · b3e5759e
      Gerd Hoffmann 提交于
      Prototype without "inline" keyword breaks the build with some gcc
      versions.  Noticed by Alexander Graf.
      
      Fix this by removing the inline keywork everywhere.  Some functions
      can't be inlined anyway as the are referenced using function pointers.
      Beside that gcc does a pretty good job on auto-inlining these days.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      b3e5759e
  8. 04 5月, 2011 2 次提交
  9. 21 3月, 2011 1 次提交
    • P
      change all other clock references to use nanosecond resolution accessors · 74475455
      Paolo Bonzini 提交于
      This was done with:
      
          sed -i 's/qemu_get_clock\>/qemu_get_clock_ns/' \
              $(git grep -l 'qemu_get_clock\>' )
          sed -i 's/qemu_new_timer\>/qemu_new_timer_ns/' \
              $(git grep -l 'qemu_new_timer\>' )
      
      after checking that get_clock and new_timer never occur twice
      on the same line.  There were no missed occurrences; however, even
      if there had been, they would have been caught by the compiler.
      
      There was exactly one false positive in qemu_run_timers:
      
           -    current_time = qemu_get_clock (clock);
           +    current_time = qemu_get_clock_ns (clock);
      
      which is of course not in this patch.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      74475455
  10. 12 1月, 2011 5 次提交
  11. 12 12月, 2010 1 次提交
  12. 19 12月, 2009 1 次提交
  13. 05 10月, 2009 1 次提交
  14. 02 10月, 2009 2 次提交
  15. 11 9月, 2009 1 次提交
  16. 10 9月, 2009 2 次提交
  17. 26 8月, 2009 1 次提交
  18. 17 7月, 2009 1 次提交
  19. 10 5月, 2009 1 次提交
  20. 08 5月, 2009 1 次提交
  21. 05 1月, 2009 1 次提交
  22. 22 4月, 2008 1 次提交