2017-03-28 16:42:41 +00:00
|
|
|
<config>
|
|
|
|
|
|
|
|
<parent-provides>
|
|
|
|
<service name="IRQ"/>
|
|
|
|
<service name="IO_MEM"/>
|
|
|
|
<service name="IO_PORT"/>
|
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="PD"/>
|
|
|
|
<service name="RM"/>
|
|
|
|
<service name="CPU"/>
|
|
|
|
<service name="LOG"/>
|
|
|
|
<service name="Timer"/>
|
2020-07-01 20:26:11 +00:00
|
|
|
<service name="Capture"/>
|
2020-07-16 09:28:18 +00:00
|
|
|
<service name="Event"/>
|
2017-03-28 16:42:41 +00:00
|
|
|
</parent-provides>
|
|
|
|
|
2017-05-07 20:36:11 +00:00
|
|
|
<default caps="60"/>
|
|
|
|
|
2019-08-23 13:55:22 +00:00
|
|
|
<start name="acpi_drv" caps="250">
|
2019-01-25 11:21:13 +00:00
|
|
|
<resource name="RAM" quantum="4M"/>
|
2017-03-28 16:42:41 +00:00
|
|
|
<route>
|
|
|
|
<service name="IO_MEM"> <parent/> </service>
|
|
|
|
<service name="LOG"> <parent/> </service>
|
|
|
|
<service name="PD"> <parent/> </service>
|
|
|
|
<service name="RM"> <parent/> </service>
|
|
|
|
<service name="CPU"> <parent/> </service>
|
|
|
|
<service name="ROM"> <parent/> </service>
|
|
|
|
<service name="Report"> <child name="report_rom"/> </service>
|
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
|
2019-08-23 13:55:22 +00:00
|
|
|
<start name="report_rom" caps="70">
|
2017-03-28 16:42:41 +00:00
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides>
|
|
|
|
<service name="ROM" />
|
|
|
|
<service name="Report" />
|
|
|
|
</provides>
|
|
|
|
<config>
|
2022-11-18 12:59:10 +00:00
|
|
|
<policy label="pci_decode -> system" report="acpi_drv -> acpi"/>
|
|
|
|
<policy label="platform_drv -> devices" report="pci_decode -> devices"/>
|
|
|
|
<policy label="usb_hid_drv -> report" report="usb_drv -> devices"/>
|
2017-03-28 16:42:41 +00:00
|
|
|
</config>
|
|
|
|
<route>
|
|
|
|
<service name="LOG"> <parent/> </service>
|
|
|
|
<service name="PD"> <parent/> </service>
|
|
|
|
<service name="CPU"> <parent/> </service>
|
|
|
|
<service name="ROM"> <parent/> </service>
|
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
|
2022-08-31 11:51:54 +00:00
|
|
|
<start name="pci_decode" caps="100">
|
2022-11-18 13:11:38 +00:00
|
|
|
<resource name="RAM" quantum="2M"/>
|
2022-08-31 11:51:54 +00:00
|
|
|
<route>
|
|
|
|
<service name="Report"> <child name="report_rom"/> </service>
|
|
|
|
<service name="ROM" label="system"> <child name="report_rom"/> </service>
|
|
|
|
<service name="IO_MEM"> <parent/> </service>
|
|
|
|
<service name="LOG"> <parent/> </service>
|
|
|
|
<service name="PD"> <parent/> </service>
|
|
|
|
<service name="RM"> <parent/> </service>
|
|
|
|
<service name="CPU"> <parent/> </service>
|
|
|
|
<service name="ROM"> <parent/> </service>
|
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
|
2020-07-10 11:04:12 +00:00
|
|
|
<start name="platform_drv" caps="200" managing_system="yes">
|
|
|
|
<resource name="RAM" quantum="3M"/>
|
2017-03-28 16:42:41 +00:00
|
|
|
<provides>
|
|
|
|
<service name="Platform"/>
|
|
|
|
</provides>
|
|
|
|
<route>
|
2022-11-18 12:59:10 +00:00
|
|
|
<service name="ROM" label="devices"> <child name="report_rom"/> </service>
|
2022-08-31 11:51:54 +00:00
|
|
|
<service name="Report"> <child name="report_rom"/> </service>
|
2017-03-28 16:42:41 +00:00
|
|
|
<service name="IRQ"> <parent/> </service>
|
|
|
|
<service name="IO_MEM"> <parent/> </service>
|
|
|
|
<service name="IO_PORT"> <parent/> </service>
|
|
|
|
<service name="ROM"> <parent/> </service>
|
|
|
|
<service name="PD"> <parent/> </service>
|
|
|
|
<service name="CPU"> <parent/> </service>
|
|
|
|
<service name="LOG"> <parent/> </service>
|
|
|
|
<service name="Timer"> <parent/> </service>
|
|
|
|
</route>
|
|
|
|
<config>
|
2022-08-31 11:51:54 +00:00
|
|
|
<report devices="yes"/>
|
|
|
|
<policy label_prefix="ps2_drv"> <device name="ps2"/> </policy>
|
|
|
|
<policy label_prefix="fb_drv" info="yes"> <pci class="VGA"/> </policy>
|
|
|
|
<policy label_prefix="usb_drv" info="yes"> <pci class="USB"/> </policy>
|
2017-03-28 16:42:41 +00:00
|
|
|
</config>
|
|
|
|
</start>
|
|
|
|
|
2017-11-07 10:28:50 +00:00
|
|
|
<start name="fb_drv" caps="120">
|
2019-05-03 11:51:49 +00:00
|
|
|
<binary name="vesa_fb_drv"/>
|
2024-05-27 09:54:23 +00:00
|
|
|
<resource name="RAM" quantum="20M"/>
|
2017-03-28 16:42:41 +00:00
|
|
|
<route>
|
|
|
|
<service name="ROM" label="config"> <parent label="fb_drv.config"/> </service>
|
|
|
|
<service name="Platform"> <child name="platform_drv"/> </service>
|
|
|
|
<service name="IO_PORT"> <parent/> </service>
|
|
|
|
<service name="IO_MEM"> <parent/> </service>
|
|
|
|
<service name="ROM"> <parent/> </service>
|
|
|
|
<service name="PD"> <parent/> </service>
|
|
|
|
<service name="CPU"> <parent/> </service>
|
|
|
|
<service name="LOG"> <parent/> </service>
|
|
|
|
<service name="Timer"> <parent/> </service>
|
2020-07-01 20:26:11 +00:00
|
|
|
<service name="Capture"> <parent/> </service>
|
2017-03-28 16:42:41 +00:00
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
|
2019-05-08 13:49:13 +00:00
|
|
|
<start name="ps2_drv" caps="80">
|
|
|
|
<resource name="RAM" quantum="1280K"/>
|
2020-08-13 11:39:09 +00:00
|
|
|
<config/>
|
2017-03-28 16:42:41 +00:00
|
|
|
<route>
|
|
|
|
<service name="Platform"> <child name="platform_drv"/> </service>
|
2020-08-13 11:39:09 +00:00
|
|
|
<service name="Event"> <child name="event_filter" label="ps2"/> </service>
|
2017-03-28 16:42:41 +00:00
|
|
|
<service name="ROM"> <parent/> </service>
|
|
|
|
<service name="PD"> <parent/> </service>
|
|
|
|
<service name="CPU"> <parent/> </service>
|
|
|
|
<service name="LOG"> <parent/> </service>
|
2018-08-17 15:26:30 +00:00
|
|
|
<service name="Timer"> <parent/> </service>
|
2017-03-28 16:42:41 +00:00
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
|
2023-07-05 14:24:21 +00:00
|
|
|
<start name="usb_drv" caps="200">
|
2022-02-16 16:37:07 +00:00
|
|
|
<binary name="pc_usb_host_drv"/>
|
2021-05-25 11:51:17 +00:00
|
|
|
<resource name="RAM" quantum="16M"/>
|
|
|
|
<provides> <service name="Usb"/> </provides>
|
2022-02-16 16:37:07 +00:00
|
|
|
<config>
|
2021-05-25 11:51:17 +00:00
|
|
|
<report devices="yes"/>
|
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
2023-09-14 08:55:11 +00:00
|
|
|
<policy label_prefix="usb_hid_drv"><device class="0x3"/></policy>
|
2021-05-25 11:51:17 +00:00
|
|
|
</config>
|
2017-03-28 16:42:41 +00:00
|
|
|
<route>
|
|
|
|
<service name="Platform"> <child name="platform_drv"/> </service>
|
2021-05-25 11:51:17 +00:00
|
|
|
<service name="Report" label="devices"> <child name="report_rom"/> </service>
|
|
|
|
<service name="ROM"> <parent/> </service>
|
|
|
|
<service name="PD"> <parent/> </service>
|
|
|
|
<service name="RM"> <parent/> </service>
|
|
|
|
<service name="CPU"> <parent/> </service>
|
|
|
|
<service name="LOG"> <parent/> </service>
|
|
|
|
<service name="Timer"> <parent/> </service>
|
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
|
2024-01-19 13:46:59 +00:00
|
|
|
<start name="usb_hid_drv" caps="180">
|
2022-08-31 11:51:54 +00:00
|
|
|
<resource name="RAM" quantum="10M"/>
|
2021-05-25 11:51:17 +00:00
|
|
|
<route>
|
|
|
|
<service name="ROM" label="report"> <child name="report_rom"/> </service>
|
|
|
|
<service name="ROM"> <parent/> </service>
|
|
|
|
<service name="PD"> <parent/> </service>
|
|
|
|
<service name="RM"> <parent/> </service>
|
|
|
|
<service name="CPU"> <parent/> </service>
|
|
|
|
<service name="LOG"> <parent/> </service>
|
|
|
|
<service name="Timer"> <parent/> </service>
|
2020-08-13 14:03:59 +00:00
|
|
|
<service name="Event"> <child name="event_filter" label="usb"/> </service>
|
2021-05-25 11:51:17 +00:00
|
|
|
<service name="Usb"> <child name="usb_drv"/> </service>
|
2017-03-28 16:42:41 +00:00
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
|
2020-07-16 09:28:18 +00:00
|
|
|
<start name="event_filter" caps="90">
|
2019-05-08 13:49:13 +00:00
|
|
|
<resource name="RAM" quantum="1280K"/>
|
2020-07-16 09:28:18 +00:00
|
|
|
<provides> <service name="Event"/> </provides>
|
2017-03-28 16:42:41 +00:00
|
|
|
<route>
|
2020-07-16 09:28:18 +00:00
|
|
|
<service name="ROM" label="config"> <parent label="event_filter.config"/> </service>
|
|
|
|
<service name="Event"> <parent/> </service>
|
2017-03-28 16:42:41 +00:00
|
|
|
<service name="ROM"> <parent/> </service>
|
|
|
|
<service name="PD"> <parent/> </service>
|
|
|
|
<service name="CPU"> <parent/> </service>
|
|
|
|
<service name="LOG"> <parent/> </service>
|
|
|
|
<service name="Timer"> <parent/> </service>
|
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
|
|
|
|
</config>
|