Changeset 49e62998 in mainline for uspace/drv/bus/usb/xhci/commands.c

Timestamp:
2018-01-11T23:06:57Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
50be3c6
Parents:
f3baab1
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-11 23:01:08)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-11 23:06:57)
Message:

xhci: defer roothub events processing

There are two new generic mechanisms, which are used in only one
instance.

First one is a simple wrapper for roothub event handlers that should run
in separate fibril. The usage can be seen at line 337, for example. The
mechanism just passes arguments to a newly created fibril.

The second is a bit more complex, and its purpose is to broadcast roothub
events to all fibrils that could wait for it. It's used to wait for port
reset complete at USB 2 ports. See rh_port_reset_sync.

Sorry for naming both mechanisms "rh_event", which could create
a confusion.

(No files)

Note: See TracChangeset for help on using the changeset viewer.