pci_decode: initial device-report buffer of 32K

This prevents multiple generation attempts with undersized buffers on
recent hardware, which needs at least 12K.
This commit is contained in:
Christian Helmuth 2022-10-21 11:41:59 +02:00
parent d5577421f8
commit 9467d4cb0b

View File

@ -34,7 +34,7 @@ struct Main
Attached_rom_dataspace sys_rom { env, "system" }; Attached_rom_dataspace sys_rom { env, "system" };
Signal_handler<Main> sys_rom_handler { env.ep(), *this, Signal_handler<Main> sys_rom_handler { env.ep(), *this,
&Main::sys_rom_update }; &Main::sys_rom_update };
Expanding_reporter pci_reporter { env, "devices", "devices" }; Expanding_reporter pci_reporter { env, "devices", "devices", { 32*1024 } };
Registry<Bridge> bridge_registry {}; /* contains host bridges */ Registry<Bridge> bridge_registry {}; /* contains host bridges */
bool apic_capable { false }; bool apic_capable { false };