genode/repos/os/recipes/raw
Stefan Kalkowski 7ec08af6d9 usb: session renewal & new client API
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
2024-04-12 12:57:30 +02:00
..
drivers_interactive-linux depot: update recipe hashes 2023-10-04 13:22:08 +02:00
drivers_interactive-pbxa9 depot: update recipe hashes 2022-05-25 12:23:04 +02:00
drivers_interactive-pc usb: session renewal & new client API 2024-04-12 12:57:30 +02:00
drivers_interactive-virt_qemu_arm board: Rename virt_qemu to virt_qemu_<arch> 2022-08-17 12:03:26 +02:00
drivers_nic-linux depot: update recipe hashes 2021-05-28 14:16:46 +02:00
drivers_nic-pbxa9 depot: update recipe hashes 2022-05-25 12:23:04 +02:00
drivers_nic-virt_qemu_arm board: Rename virt_qemu to virt_qemu_<arch> 2022-08-17 12:03:26 +02:00
pbxa9-devices platform_drv: separate devices info from config 2022-05-25 12:19:32 +02:00
test-init depot: update recipe hashes 2022-02-28 11:46:35 +01:00
test-lx_block depot: update recipe hashes 2019-02-26 14:47:02 +01:00
test-part_block_ahdi part_block: modernize implementation 2023-04-17 14:48:22 +02:00
test-part_block_gpt depot: update recipe hashes 2019-02-26 14:47:02 +01:00
test-part_block_mbr depot: update recipe hashes 2023-04-17 14:48:30 +02:00