genode/repos/gems/sculpt/launcher
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
..
direct_nano3d Mobile version of Sculpt OS 2024-02-28 16:31:46 +01:00
direct_system_shell Mobile version of Sculpt OS 2024-02-28 16:31:46 +01:00
download_debug_info gems: add dbg_download 2024-04-12 12:57:28 +02:00
nano3d Modularize Sculpt OS image creation 2022-01-19 12:38:11 +01:00
pc_nic net_test-pc.sculpt: minimal setup for net tests 2023-08-21 08:12:01 +02:00
ping net_test-pc.sculpt: minimal setup for net tests 2023-08-21 08:12:01 +02:00
report_dump sculpt: report_dump, system_clock-dummy launchers 2023-04-17 14:48:25 +02:00
screenshot_trigger gems: screenshot trigger for virtual print button 2023-02-27 08:22:47 +01:00
shared_fs Modularize Sculpt OS image creation 2022-01-19 12:38:11 +01:00
sticks_blue_backdrop Modularize Sculpt OS image creation 2022-01-19 12:38:11 +01:00
system_clock-dummy sculpt: report_dump, system_clock-dummy launchers 2023-04-17 14:48:25 +02:00
system_shell Modularize Sculpt OS image creation 2022-01-19 12:38:11 +01:00
top sculpt/launcher: add top launcher 2023-01-24 12:07:29 +01:00
touch_keyboard sculpt: launcher for touch_keyboard 2022-02-28 11:45:18 +01:00
trace_logger trace: remove parent_levels session argument 2023-12-13 12:28:52 +01:00
vm_fs Modularize Sculpt OS image creation 2022-01-19 12:38:11 +01:00