genode/repos/os/include/platform_session
Stefan Kalkowski de7fdd3e1a platform_drv: wait for device's availability
Instead of returning an invalid device capability when a device
is (not yet) available, e.g. a PCI device is requested before the
PCI bus got parsed accordingly, we check the device capability
within the Platform::Connection utilities, and register temporarily
an Io_signal_handler to wait for changes of the devices ROM, and
try the device aquisition again. Thereby, simple drivers so not have
to take the burden to do so.

To enable this feature for all drivers, we always have to export a
devices ROM, but limit the information about physical resources
(I/O memory addresses, IRQ numbers, I/O port ranges) to clients with
'info=yes' in their policy description.

Fix genodelabs/genode#4496
2022-05-25 12:19:32 +02:00
..
capability.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
client.h Give diagnostic aid to callers of 'dma_addr' 2022-02-15 10:17:28 +01:00
connection.h platform_drv: wait for device's availability 2022-05-25 12:19:32 +02:00
device.h platform_drv: wait for device's availability 2022-05-25 12:19:32 +02:00
dma_buffer.h platform_drv: wait for device's availability 2022-05-25 12:19:32 +02:00
platform_session.h platform: introduce I/O ports in API 2022-03-07 16:42:56 +01:00