vmm: acpi: Print total size of ACPI tables

This can already be calculated by the summing the tables reported by the
Linux kernel but this is more convenient.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2022-03-21 10:58:13 +00:00
parent d4192abce1
commit 3b8a017257

View File

@ -771,8 +771,9 @@ pub fn create_acpi_tables(
.expect("Error writing RSDP");
info!(
"Generated ACPI tables: took {}µs",
Instant::now().duration_since(start_time).as_micros()
"Generated ACPI tables: took {}µs size = {}",
Instant::now().duration_since(start_time).as_micros(),
xsdt_offset.0 + xsdt.len() as u64 - rsdp_offset.0
);
rsdp_offset
}