[SeaBIOS] [PATCH 0/4] Further parallelize USB init by launching a thread per usb port.

Kevin O'Connor kevin at koconnor.net
Wed Mar 10 02:16:38 CET 2010


Main work is in last patch - first three patches are just cleanups.
This patch series improves the boot time on my epia-cn machine, and it
also sets up for further ehancements that will follow.

-Kevin


Kevin O'Connor (4):
  Prefer passing a USB "pipe" structure over a USB endp encoding.
  Only compile usb-hub.c and paravirt.c with 32bit code.
  Introduce simple "mutex" locking code.
  Further parallelize USB init by launching a thread per usb port.

 Makefile       |    4 +-
 src/ps2port.c  |    2 +-
 src/stacks.c   |   20 ++++
 src/usb-hid.c  |   25 +++--
 src/usb-hid.h  |    5 +-
 src/usb-hub.c  |  190 +++++++++++++++++++++------------
 src/usb-hub.h  |   13 ++-
 src/usb-msc.c  |    9 +-
 src/usb-msc.h  |    4 +-
 src/usb-ohci.c |  325 +++++++++++++++++++++++++++++++++++++++----------------
 src/usb-ohci.h |    6 +-
 src/usb-uhci.c |  319 ++++++++++++++++++++++++++++++++++++++-----------------
 src/usb-uhci.h |   12 +--
 src/usb.c      |  167 +++++++++++++++++++----------
 src/usb.h      |   24 +++--
 src/util.h     |    3 +
 16 files changed, 767 insertions(+), 361 deletions(-)




More information about the SeaBIOS mailing list