mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 19:34:56 +00:00
pci_decode: check sys_rom on boot
If the ROM is already available, no signal will wakeup the pci_decode app on sigh registration. genodelabs/genode#4578
This commit is contained in:
parent
1286b967ed
commit
3e8ffe179b
@ -291,6 +291,9 @@ void Main::sys_rom_update()
|
||||
{
|
||||
sys_rom.update();
|
||||
|
||||
if (!sys_rom.valid())
|
||||
return;
|
||||
|
||||
Xml_node xml = sys_rom.xml();
|
||||
|
||||
if (apic_capable) {
|
||||
@ -320,6 +323,8 @@ Main::Main(Env & env) : env(env)
|
||||
apic_capable = xml.attribute_value("acpi", false);
|
||||
msi_capable = xml.attribute_value("msi", false);
|
||||
});
|
||||
|
||||
sys_rom_update();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user