mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 18:06:50 +00:00
platform_drv: update ROM in device_by_type()
This is required for scenarios in which a device appears at a later point in time. If the ROM is not updated, the device_by_type() method may operate on an outdated dataspace and never find the device it is waiting for.
This commit is contained in:
parent
f6825eea5f
commit
132906c925
@ -139,6 +139,7 @@ class Platform::Connection : public Genode::Connection<Session>,
|
|||||||
|
|
||||||
Capability<Device_interface> cap;
|
Capability<Device_interface> cap;
|
||||||
|
|
||||||
|
update();
|
||||||
with_xml([&] (Xml_node & xml) {
|
with_xml([&] (Xml_node & xml) {
|
||||||
xml.for_each_sub_node("device", [&] (Xml_node node) {
|
xml.for_each_sub_node("device", [&] (Xml_node node) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user