mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 08:25:38 +00: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:
parent
dc89ebf978
commit
e28709d54d
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user