mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
7ec08af6d9
Replace the USB session API by one that provides a devices ROM only, which contains information about all USB devices available for this client, as well as methods to acquire and release a single device. The acquisition of an USB device returns the capability to a device session that includes a packet stream buffer to communicate control transfers in between the client and the USB host controller driver. Moreover, additional methods to acquire and release an USB interface can be used. The acquisition of an USB interface returns the capability to an interface session that includes a packet stream buffer to communicate either bulk, interrupt, or isochronous transfers in between the client and the USB host controller driver. This commit implements the API changes in behalf of the Genode C API's USB server and client side. Addtionally, it provides Usb::Device, Usb::Interface, and Usb::Endpoint utilities that can be used by native C++ clients to use the new API and hide the sophisticated packet stream API. The adaptations necessary target the following areas: * lx_emul layer for USB host and client side * Linux USB host controller driver port for PC * Linux USB client ports: usb_hid_drv and usb_net_drv, additionally reduce the Linux tasks used inside these drivers * Native usb_block_drv * black_hole component * Port of libusb, including smartcard and usb_webcam driver depending on it * Port of Qemu XHCI model library, including vbox5 & vbox6 depending on it * Adapt all run-scripts and drivers_interactive recipes to work with the new policy rules of the USB host controller driver Fix genodelabs/genode#5021 |
||
---|---|---|
.. | ||
audio_in_session | ||
audio_out_session | ||
blit | ||
block_session | ||
capture_session | ||
event_session | ||
file_system | ||
file_system_session | ||
framebuffer_session | ||
genode_c_api | ||
gpio_session | ||
gpu_session | ||
gui_session | ||
i2c_session | ||
input_session | ||
loader_session | ||
monitor | ||
net | ||
nic_driver | ||
nic_session | ||
nitpicker_gfx | ||
os | ||
pin_control_session | ||
pin_state_session | ||
platform_session | ||
play_session | ||
record_session | ||
report_session | ||
rtc_session | ||
sandbox | ||
terminal_session | ||
trace | ||
uart_session | ||
uplink_session | ||
usb_session | ||
vfs | ||
virtio | ||
session.inc |