mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
acpi_drv: use expanding reporter
This makes the driver work on newer machines that produce reports larger than 16 KiB. E.g., Sculpt OS boots successfully on a Lenovo P53s laptop now.
This commit is contained in:
@@ -1474,11 +1474,9 @@ void Acpi::generate_report(Genode::Env &env, Genode::Allocator &alloc)
|
||||
/* parse table */
|
||||
Acpi_table acpi_table(env, alloc);
|
||||
|
||||
enum { REPORT_SIZE = 4 * 4096 };
|
||||
static Reporter acpi(env, "acpi", "acpi", REPORT_SIZE);
|
||||
acpi.enabled(true);
|
||||
static Expanding_reporter acpi(env, "acpi", "acpi");
|
||||
|
||||
Genode::Reporter::Xml_generator xml(acpi, [&] () {
|
||||
acpi.generate([&] (Genode::Xml_generator &xml) {
|
||||
|
||||
acpi_table.generate_reset_info(xml);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user